Moderator banner
Moderator icon

Moderator

Create admin-staff command helper plugin with per-staff permissions, admin chat, quick commands, mute/kick/ban, teleport, vanish, audit logs, staff alerts,...

00
neoforgeServer1.21.1mod

Moderator is a server-only staff utility mod for 1.21.1 that ships no client content and targets dedicated servers only.

  • Core command: /moderator with aliases from config/moderator.json (defaults: mod, staff). Permissions are per-name in staffPermissions, using tokens such as mute, kick, ban, teleport, vanish, adminchat, alert, quick, audit, config, or all.
  • Admin chat: /moderator adminchat <message> sends to staff with adminchat; /moderator adminchat toggle pipes your chat into staff chat until toggled off; messages starting with the configurable adminChatPrefix (default @) are redirected to staff chat when you have permission.
  • Discipline tools: /moderator mute <player> [reason], /moderator mute unmute <player>, /moderator kick <player> [reason], /moderator ban <player> [reason]. Mute state is in-memory and resets on restart.
  • Teleport/vanish: /moderator teleport <target> [destination] (no destination teleports you to the target). /moderator vanish [on|off] toggles invisibility/silence; state clears on logout/restart.
  • Alerts and broadcast: /moderator alert <message> notifies staff with alert permission. Config staffAlerts controls automatic join/leave/vanish/discipline/teleport notifications.
  • Quick actions: quickCommands map aliases to server commands; run with /moderator quick <alias> [args].
  • Audit log: actions write to config/moderator-audit.log (path configurable via auditLogFile). View recent entries with /moderator audit.
  • Config: config/moderator.json is auto-created with samples. Use /moderator reload to re-read it; alias changes still require a server reload to take effect in the command tree.

Limitations: vanish is cosmetic (invisibility/silence only) and does not hide tab entries; mute/vanish states are not persisted across server restarts.