Documentation menu

Moderation

Actions

What happens when a category is flagged, and what players and staff see.

Each category lists the actions to run when a message is flagged for it.

Action Does
cancel Hides the message. Only in hold mode.
warn Tells the player their message was blocked.
notify-staff Alerts everyone with jevguard.notify.
kick Kicks the player.
command: <command> Runs a console command.

When a message is hidden, staff always get a “Blocked” alert, so notify-staff isn’t sent twice. In shadow mode no action runs and no staff alert is sent; the verdict only goes to the server log.

Commands

Use command: to mute or ban through the punishment plugin you already have. {player}, {uuid} and {category} are filled in:

config.ymlYAML
scam:
  threshold: 0.8
  actions: [cancel, "command: mute {player} 1h Auto: {category}"]

What people see

The texts are under messages, in MiniMessage format, with <player>, <message>, <category> and <probability>:

Key Shown to When
warn The player warn runs
kick The player kick runs
unavailable The player Hold mode with on-error: block and Jev too slow
staff-blocked Staff A message was hidden
staff-flag Staff notify-staff runs
staff-review Staff A message lands in the review band
What staff seeOutput
[JevGuard] Blocked xXSniperXx: you're so stupid, nobody on this server likes you (harassment, 100% sure)
[JevGuard] DiamondDan needs review harassment (62%): keep talking and I'll find where you live

Something wrong or missing on this page?Open an issue on GitHub.