Staff Mode
Staff mode is off by default (staffduty.enabled). When on, staff have to go on duty to use the tools, as on an RP server where staff only act while on duty.
What changes
Section titled “What changes”- The panel (F7) only opens on duty.
- The staff ESP only works on duty (
staffduty.requireForEsp). - Report cards only reach people on duty, and only people on duty take reports.
- Off duty there are no detection alerts. With
staffduty.offDutyCriticalAlertson, only kick and ban alerts arrive. - Duty hours are recorded.
Going on and off duty
Section titled “Going on and off duty”With the duty command, /duty by default (staffduty.command). It only works for staff.
RP servers
Section titled “RP servers”If your server already has a staff mode (for example a staffDuty element data key), set it in staffduty.elementData:
{ "staffduty": { "enabled": true, "elementData": "staffDuty", "stopRp": true } }- The state becomes that key (
trueis on duty). The AC reacts when another resource changes it and writes it when staff use the command. The key is protected: the client cannot change it. - With
stopRpon (the default) the AC fires theac:staff:dutyevent on the server, with the staff member assourceandtrueorfalse, so your resources can stop that person’s RP when they go on duty and resume it when they leave.