Skip to content

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.

  • 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.offDutyCriticalAlerts on, only kick and ban alerts arrive.
  • Duty hours are recorded.

With the duty command, /duty by default (staffduty.command). It only works for staff.

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 (true is 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 stopRp on (the default) the AC fires the ac:staff:duty event on the server, with the staff member as source and true or false, so your resources can stop that person’s RP when they go on duty and resume it when they leave.