Skip to Content
PhantomBans is a premium plugin. Get it from the store or join the Discord.
FeaturesWarnings & Auto-Escalation

Warnings & Auto-Escalation

Give players a formal warning, and let the plugin step in once they go too far.

Warnings are a record. On their own they tell a player to stop. Combined with thresholds, they let PhantomBans take action automatically, so a repeat offender gets muted or banned without staff having to watch the count.

Warn a player

/warn <player> <reason>

The player is told they were warned and why. The warning is saved to their history.

/warn command in chat
CommandWhat it does
/warn <player> <reason>Add a warning
/unwarn <player> [id]Remove the newest warning, or one by id
/warnings <player>List a player’s warnings
/warnlist [page]List everyone with active warnings

Auto-escalation by threshold

You can tell PhantomBans to run commands automatically when a player reaches a set number of active warnings. This is set in the config under warn-thresholds.

warn-thresholds: 5: - "mute {player} 1d Reached 5 active warnings" 10: - "ban {player} 7d Reached 10 active warnings" 15: - "ban {player} permanent Reached 15 active warnings"

The number is the warning count. Each line under it is a console command to run when the player hits that count. Use {player} for the player’s name. You can run more than one command per threshold.

Only active warnings count toward a threshold. If you remove a warning with /unwarn, the player’s count goes back down.

Punishment ladders (templates)

For offences that should get worse each time, PhantomBans has templates in templates.yml. A template is a ladder of steps for one offence. The first time a player breaks that rule they get step one, the next time step two, and so on. You apply a template from the punish menu.

This is great for rules where the punishment should grow: a warning, then a short mute, then a ban.

Thresholds and templates work well together. Templates set the punishment for each repeat of one offence. Thresholds act on the total number of warnings across all offences.

Last updated on