JailsPlus
  • 📖Getting Started
  • 🚀Usage
    • Commands
    • Permissions
  • ⚙️Configuration
    • Basic Configuration
    • General Settings
    • Jail Settings
    • Escape Punishments
    • Handcuff Configuration
    • Blocked Commands
    • Jail Restrictions
    • Other
  • 👋Support
    • Discord
    • Our Webstore
Powered by GitBook
On this page
  • Important Notes
  • Configuration
  • Configuration Options
  • Notes
  1. Configuration

Jail Settings

This configuration allows you to customize the behavior of the jail system in your server plugin.

PreviousGeneral SettingsNextEscape Punishments

Last updated 9 days ago

General settings

jail-settings:
  keep-inventory: false

Inventory Management

  • keep-inventory: Boolean setting to control inventory handling

    • false: Replaces player's inventory with jail items

    • true: Preserves original player inventory


Jail Items

Specify items given to players when jailed:

jail-items:
  - item: ITEM_NAME
    amount: QUANTITY

To get item names,

Template:

jail-items:
  - item: BAKED_POTATO
    amount: 32
  - item: WATER_BUCKET
    amount: 1
  - item: BREAD
    amount: 16

Escape Punishment

Control consequences for prisoners attempting to escape: NOTE: You need to setup flags for this.

  • punish-on-escape: Enable/disable escape punishments

  • escape-punishment: Punishment type

    • KILL: Eliminates the player

    • TELEPORT_BACK: Returns player to jail

    • BAN: Temporary server ban

    • UNJAIL: Removes jail status

punish-on-escape: true
escape-punishment: KILL    # KILL, TELEPORT_BACK, BAN, or UNJAIL

Ban Duration

  • ban-duration: Specify ban length

  • Format: <number><unit>

    • s: Seconds

    • m: Minutes

    • h: Hours

    • d: Days

Template

ban-duration: "1d"  # 1-day ban

Important Notes


Configuration

change-skin: true
skin-username: ShortMute954
enable-jailed-role: true
jailed-role: "§c[Jailed]§r"

Configuration Options

Skin Settings

  • skin-username The username of the skin to be applied when a player gets jailed. Default: ShortMute954

Jailed Role Settings

  • enable-jailed-role Specifies whether players should have a "Jailed" text next to their name when they chat. Default: true

  • jailed-role The text that appears next to a jailed player's name in chat. Supports Minecraft color codes. Default: "§c[Jailed]§r" (This will appear in chat as [Jailed] in red color.)

Notes

  • The SkinsRestorer plugin is required for the change-skin option to function.

Required Jail Boundary Flag to be set for punish-on-escape, to see how to do that, .

change-skin Determines whether a player's skin should change when they get jailed. Requires the plugin to be installed. Default: true

The jailed-role text supports Minecraft's color formatting codes (e.g., §c for red, §r for reset). for color formatting codes visit .

⚙️
click me
SkinsRestorer
this website
click me