Skip to content

Commands and permissions

Emilia Kond edited this page Feb 15, 2025 · 3 revisions

Commands

  • /setjail <jail name> / Adds a new jail location where the command is executed.
  • /deljail <jail name> / Removes a jail location from the jails list.
  • /modjail <jail name> releaselocation set / Sets the location where the command is executed to be the "release location" of the jail. This is where players will be put when they are released from that specific jail. This is optional. If not provided, the player will be released to wherever they were before imprisonment.
  • /modjail <jail name> releaselocation clear / Clears the "release location" of the jail.
  • /jails / Prints a list of available jails.
  • /jail <player> <jail> <time> [reason] / Sends a player to the provided jail, and won't be teleported back until the time provided has passed. Time format matches inputs in the format of 2d15h7m12s. The command optionally takes an imprisonment reason.
  • /jail info <player> / Will print out in the chat some information about the jailed player stored in the player data file.
  • /unjail <player> / Teleports a jailed player back to where they were when jailed.
  • /jailtime <player> (add|subtract|set) <time> / Increase, reduce, or set the sentence time of a prisoner.
  • /betterjails / Prints the version of the plugin.
  • /betterjails reload / Reloads files into memory.
  • /betterjails save / Saves files from memory.

Permissions

All permissions default to operators only unless otherwise noted.

  • betterjails.jail / Lets the user execute the /jail command.
  • betterjails.jail.exempt / The user with this permission cannot be jailed by others (unless offline, but it runs check when joining).
  • betterjails.jails / Lets the user execute the /jails command.
  • betterjails.unjail / Lets the user execute the /unjail command.
  • betterjails.setjail / Lets the user execute the /setjail command.
  • betterjails.modjail / Lets the user execute the /modjail command.
  • betterjails.deljail / Lets the user execute the /deljail command.
  • betterjails.jailtime / Lets the user execute the /jailtime command.
  • betterjails.receivebroadcast / Prints in the user's chat when a player has been jailed/unjailed.
  • betterjails.betterjails / Lets the user execute the /betterjails command. Permission defaults to true for all users.
  • betterjails.betterjails.reload / Lets the user execute the /betterjails reload command.
  • betterjails.betterjails.save / Lets the user execute the /betterjails save command.

Clone this wiki locally