Command hooks

You can execute commands whenever a staff member exits or enters a mode

modes:
    default:
        enable-commands: []
        disable-commands: []

Commands listed here should be in the Staff ++ command format

Placeholders:

placeholder

description

%staff%

The name of the staff member entering/exiting the mode

Executors:

executor value

description

staff

The staff member entering/exiting the mode

Targets:

target value

description

staff

The staff member entering/exiting the mode

Filters

Currently no filters are available except the permission filter

Example:

 modes:
    default:
        enable-commands: []
        disable-commands:
          - command: "tell %staff% Taking a break uh?"
            target: "staff"
            target-run-strategy: ONLINE

Last updated