Documentation
Protection and staffComplete

Moderation

Jail players with cells and work tasks, run commands as another player, and watch private messages and commands across the network.

The Moderation module gives your staff extra tools: jails with cells and an optional work task to shorten the sentence, /sudo to make a player run a command or speak, and spies that show private messages and commands typed on the whole network.

Note

This module requires the complete edition. See editions.

Features

Jail

  • Jails and cells. Create a jail where you stand, with a radius that defines its area, then add cells inside. Inmates are spread over the cells with the fewest inmates. A jail with no cell sends inmates to its center.
  • Temporary or permanent sentences, given to online or offline players. A jailed player who joins is sent straight to their cell.
  • Network wide. If the jail is on another server, the player is sent to that server. When released, the player goes back to where they were before being jailed, on the same server.
  • Sentence counts in real time or play time. With play time, the sentence only goes down while the player is connected.
  • Locked in. Inmates are teleported back to their cell if they leave the jail area. They can't use portals, vehicles or beds, place blocks, interact with blocks or entities, or use commands other than the allowed ones. When they die, they respawn in their cell.
  • Per jail options: who hears inmates in the chat, no damage given or taken, no item dropped or picked up, allowed commands.
  • Work to reduce the sentence. Place a chosen block inside the jail: inmates can mine it, each block removes some seconds from their sentence and grows back after a delay.
  • Countdown. Inmates see the time left in their action bar.
  • Linked to punishments. Jailing needs the sanctions module. Each jail is saved in the player's punishment history, and lifting it there releases the player. Staff can't jail players who outrank them or who have inglis.sanctions.exempt.

Sudo

/sudo makes an online player run a command, or send a chat message with c: in front of the text. A staff member can only target players of a lower rank, and only an operator can target an operator. Every use is written to the server console.

Spies

  • Social spy shows private messages sent on the whole network.
  • Command spy shows every other command typed on the whole network.
  • Each line shows the player, the server and the command. A spy never sees the commands of a player with a higher rank, unless the spy is an operator.
  • Spy mode is remembered between sessions.
  • Password commands (login, register and similar) are never shown.

Setting it up

Open the Moderation module in the web editor.

Jail and commands tab

Jails lists every jail. Create one in game with /jails create <name> [radius] where you stand, then add cells with /jails setcell <jail> <cell> while standing inside it. For each jail you can then set:

Option What it does Default
Area radius Size of the jail area around its center. Between 3 and 500 blocks. 25
Cells The cells of the jail. Delete a cell from here.
Chat of inmates Everyone hears them, Only other inmates, or Silent. Staff with inglis.moderation.notify always hear inmates. Only other inmates
No damage given or taken Inmates can't hurt anyone and can't be hurt. On
No item dropped or picked up Inmates can't drop or pick up items. On
Allowed commands Commands inmates can still use. msg, tell, r, reply, jailinfo, rules
Work to reduce the sentence None or Mine blocks. None
Block to mine The block inmates can mine. Cobblestone
Seconds removed per block How much each mined block shortens the sentence. 10
Block comes back after (seconds) Delay before a mined block grows back. 5

Deleting a jail releases its inmates.

Inmates lists everyone in jail with the jail, the time left and the reason. Click Release to free a player.

The commands of the module can be set up at the bottom of this tab: aliases, permission, cooldown, price, worlds and rank rules. See commands.

Settings tab

Setting What it does Default
Jail
Sentence counts Real time keeps running when the player is offline. Play time only counts while connected. Real time
Default jail Used when no jail is given. Empty means the first one. Empty
Announce to everyone Tells every player when someone is jailed. Otherwise only staff with inglis.moderation.notify is told. On
Spies
Private message commands Commands shown to /socialspy instead of /commandspy. msg, tell, w, whisper, r, reply, m, pm, teammsg, tm, mail
Hidden from /commandspy Commands never shown to command spies. login, l, register, reg, changepassword, changepass, cp, 2fa, auth

Commands

Command What it does Permission
/jail <player> <duration|perm> [jail[:cell]] [reason] Jails a player, online or not. Durations look like 10m, 1h or 1d. inglis.moderation.jail
/unjail <player> [reason] Releases a player. inglis.moderation.unjail
/jailinfo [player] Shows the jail, reason and time left. Without a player, shows your own. inglis.moderation.jailinfo
/jails list Lists the jails with their server, cells and radius. inglis.moderation.jails
/jails create <name> [radius] Creates a jail centered where you stand. inglis.moderation.jails
/jails setcell <jail> <cell> Adds or moves a cell where you stand. You must be inside the jail area. inglis.moderation.jails
/jails delcell <jail> <cell> Deletes a cell. inglis.moderation.jails
/jails delete <jail> Deletes a jail and releases its inmates. inglis.moderation.jails
/jails tp <jail> Teleports you to the center of a jail on this server. inglis.moderation.jails
/sudo <player> <command|c:message> Makes a player run a command or say something. inglis.moderation.sudo
/socialspy Turns social spy on or off. Alias /sspy. inglis.moderation.spy
/commandspy Turns command spy on or off. Alias /cspy. inglis.moderation.spy

Every command except /jailinfo is reserved to operators by default. /jailinfo is open to everyone. All of them can have their alias, permission, cooldown, price, worlds and rank rules changed in the editor. See commands.

Permissions

Permission What it grants
inglis.moderation.jailinfo.others Use /jailinfo on other players. Operators have it by default.
inglis.moderation.notify Be told about every jailing even when Announce to everyone is off, and hear inmates who can only talk to other inmates. Operators have it by default.
inglis.moderation.spy Use the spies and receive their lines.

Tips

  • Give the jail a radius that covers all its cells but not more: inmates are sent back to their cell as soon as they leave the area.
  • Add jailinfo to the allowed commands of each jail so inmates can check their time left.
  • For a work task, place a small pile of the task block inside the jail area. Inmates can mine only those blocks, they drop nothing and grow back on their own.