
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:
/moderatorwith aliases fromconfig/moderator.json(defaults:mod,staff). Permissions are per-name instaffPermissions, using tokens such asmute,kick,ban,teleport,vanish,adminchat,alert,quick,audit,config, orall. - Admin chat:
/moderator adminchat <message>sends to staff withadminchat;/moderator adminchat togglepipes your chat into staff chat until toggled off; messages starting with the configurableadminChatPrefix(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 withalertpermission. ConfigstaffAlertscontrols automatic join/leave/vanish/discipline/teleport notifications. - Quick actions:
quickCommandsmap aliases to server commands; run with/moderator quick <alias> [args]. - Audit log: actions write to
config/moderator-audit.log(path configurable viaauditLogFile). View recent entries with/moderator audit. - Config:
config/moderator.jsonis auto-created with samples. Use/moderator reloadto 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.