Jail¶
Named prison cells, timed sentences (15m, 1h, 1d), command restrictions and optional chat silencing while jailed, and release back to previous location.
Summary¶
- Plugin:
ZellysNexus - Configuration file:
modules/jail/config.yml - Default
enabledstate:false - Commands:
/zn jail [menu|list|set <name>|del <name>|player <player> <jail> [duration] [reason]|unjail <player>|jailed] - Permissions:
zn.admin.t1/zn.jail.admin(operators) - Interfaces (Menus / Dialogs / Bedrock Forms): Paper Dialog jail manager (
/zn jail) and Floodgate forms. - Storage:
modules/jail/config.yml,modules/jail/jails.yml,modules/jail/jailed-players.yml
Limits and verification status¶
Starts disabled (enabled: false). Enable in modules/jail/config.yml and restart to activate.
Configuration keys (modules/jail/config.yml)¶
| Key | Type | Default | Description |
|---|---|---|---|
enabled |
boolean |
false |
Module switch; requires a restart |
default-duration |
string |
15m |
Default sentence duration if unspecified |
blocked-commands |
list |
[/spawn, /home, /homes, /warp, /warps, /tp, /tpa, /tpaccept, /pay, /msg, /tell, /r] |
Commands restricted while jailed |
block-chat |
boolean |
true |
Disallow chat and messages while jailed |
release-to-previous-location |
boolean |
true |
Teleport back to pre-imprisonment location when released |