Blocked Commands
Configuration Overview
The Escape Punishments
section of the plugin configuration (config.yml
) allows server administrators to define commands that jailed players are restricted from using. This ensures that players cannot escape or bypass their jail sentence through teleportation, team commands, or other means.
Configuration Options
Blocked Commands
This list specifies commands that jailed players are not allowed to execute.
Add or remove commands as needed to suit your server’s rules.
Ensure the commands listed match those used by your server’s plugins.
Example:
If a player tries to use /tpa
while jailed, they will receive the configured block message.
Command Blocked Message
This is the message displayed when a jailed player attempts to use a blocked command.
Customize this message to fit your server's style.
Example Output:
When a jailed player tries /spawn
, they will see:
You cannot use this command while jailed!
Customization
To add more blocked commands, simply append them under
blocked-commands
:To change the blocked message, edit
command-blocked-message
:
Last updated