The Discord bot
Look players up, handle reports and warn, kick or ban from Discord with FiveStaff's slash commands, with the same permissions as the panel.
On this page
Once you have connected Discord, your staff can use FiveStaff from any channel the bot can see. Commands only work for people on your team, and each one needs the same permission it needs in the panel.
Commands#
| Command | What it does |
|---|---|
/player |
Look up a player on your server |
/online |
Who is on the server right now |
/server |
Whether the server is up, and how many are on it |
/reports open |
The reports still waiting |
/report view |
One report in full |
/logs |
Recent entries from the audit log |
/warn |
Warn a player. They see it in game and it goes on their record |
/kick |
Kick a player off the server. They can rejoin |
/ban |
Ban a player. Give a length such as 30m, 12h, 7d or 4w, or leave it empty for permanent |
/unban |
Lift a ban |
/note |
Put a note on a player's record. They are not told |
/commend |
Put something good on a player's record |
/allowlist add, remove, check, list |
Manage who may join |
Every command is written to the audit log as done from Discord, just like an action in the panel.
Freezing, healing, reviving and teleporting are not available from Discord, because they need somebody watching.
Reports in Discord#
If you chose a reports channel, each new report is posted there with buttons to claim it and to view it in the panel.
If the bot stops posting#
The most common reason is that somebody changed a channel's permissions. Check the FiveStaff bot can still see and post in each of your log channels. You can turn on an alert for this under your alerts: FiveStaff cannot post to a Discord channel.
Game log channels post through a webhook the bot makes in each channel, called FiveStaff logs. If the bot is not allowed to Manage Webhooks in a channel, its game logs still arrive, posted by the bot itself, but more slowly on a busy server. Give the FiveStaff role Manage Webhooks in that channel to speed them up. If somebody deletes the webhook, the bot makes a new one with the next log.
On a very busy night, a channel can be sent more logs than Discord lets one channel post. The least important are left out first (wages before deaths), and the next post says how many were left out. Every one of them is still in the player log.