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
  • Configuration Structure
  • Explanation
  • Placeholders
  • Customization
  1. Configuration

Escape Punishments

This page documents the escape-punishment-message section of the config.yml file, which defines the messages sent when a jailed player attempts to escape.

Configuration Structure

escape-punishment-message:
  kill:
    player: "{prefix} &cYou were killed for trying to escape jail!"
    broadcast: "{prefix} &c{player} was killed for attempting to escape jail!"
  teleport_back:
    player: "{prefix} &eYou have been teleported back for trying to escape jail!"
    broadcast: "{prefix} &e{player} was teleported back for attempting to escape jail!"
  ban:
    player: "{prefix} &4You have been banned for trying to escape jail!"
    broadcast: "{prefix} &4{player} was banned for attempting to escape jail!"
  unjail:
    player: "{prefix} &aYou have been unjailed for escaping jail!"
    broadcast: "{prefix} &a{player} has been unjailed after escaping jail!"

Explanation

Each punishment type contains two message entries:

  • player: The message sent to the player who attempted to escape.

  • broadcast: The message announced to all players on the server.


Punishment Types

kill

  • Effect: The player is killed for attempting to escape.

  • Messages:

    • Player: {prefix} &cYou were killed for trying to escape jail!

    • Broadcast: {prefix} &c{player} was killed for attempting to escape jail!


teleport_back

  • Effect: The player is teleported back to jail.

  • Messages:

    • Player: {prefix} &eYou have been teleported back for trying to escape jail!

    • Broadcast: {prefix} &e{player} was teleported back for attempting to escape jail!


ban

  • Effect: The player is permanently banned from the server.

  • Messages:

    • Player: {prefix} &4You have been banned for trying to escape jail!

    • Broadcast: {prefix} &4{player} was banned for attempting to escape jail!


unjail

  • Effect: The player successfully escapes and is unjailed.

  • Messages:

    • Player: {prefix} &aYou have been unjailed for escaping jail!

    • Broadcast: {prefix} &a{player} has been unjailed after escaping jail!


Placeholders

The following placeholders can be used in messages:

  • {prefix}: The server's prefix (defined elsewhere in the config).

  • {player}: The name of the player who attempted to escape.


Customization

PreviousJail SettingsNextHandcuff Configuration

Last updated 3 months ago

You can modify the messages to fit your server's theme or rules. Ensure the formatting remains correct to avoid errors in message handling. For color formatting, visit .

⚙️
this
website