Your Oxford server
Automations
Triggers, conditions, loops and actions you build yourself.
Automations do things for you when something happens. Each one has a trigger, and a list of steps that run when it fires. You build them on the Automations page of your dashboard.
Triggers
| In game | Someone joins or leaves, runs a command, is killed, calls a moderator or changes team, or the player count goes above or below a number. |
| Logs | A punishment log is made, from the panel, Discord or in game. You can pick one type. |
| Discord | Someone joins or leaves, or sends a message. You can limit it to one channel or to messages with certain words. |
| Staff | A shift starts or ends, a session starts or ends, or a staff infraction is issued. |
| Timers | Every few minutes, from 5 minutes to once a day. |
| By hand | Only when someone presses Run it now, or uses /actions run. |
Steps
| Do something | Run an in-game command, announce, PM, kick or ban, make a log, post in Discord, DM someone, give or take a role, change a nickname, start or end a session, end a shift, or write to the audit log. |
| If | Check one or more conditions, then run one set of steps or another. |
| While | Keep running steps while the conditions are true, up to 50 times. |
| Repeat | Run steps a set number of times. Use {loop} for the count. |
| Wait | Pause for up to 10 minutes. |
| Set a variable | Save a value, or add to or take away from it, and use it later as {name}. |
| Stop | End the automation. |
Variables
Each trigger gives you variables like {player}, {command} or {mention}. The editor lists the ones you can use. {server}, {players} and {time} work everywhere.
Example: a custom in-game command
Trigger: someone runs an in-game command, only :discord. Step: message a player, player {player}, message Join us at discord.gg/yourserver.
Limits
Free servers can have 3 automations with 25 steps between them. Spire Plus raises that to 25 automations and 120 steps. An automation can run 300 steps at most each time, for 15 minutes at most, and 30 times a minute. Five can run at once on one server.
Commands like :shutdown and server settings can't be run from automations.