This plugin adds a jail system to your Minecraft server with various features:
- Setting the Jail Location:
- Command: /setjail
Allows setting the jail's location. - The coordinates are stored in config.yml, and players are teleported to this location when jailed.
- Command: /setjail
- Jailing a Player:
- Command: /jail <player> [time][unit]
Jails a player for a specified duration. Time can be given in seconds (s), minutes (m), or hours (h).
If no time is provided, the jail is permanent. - The jailed player has their interactions restricted (e.g., breaking blocks, attacking, accessing inventory, etc.).
- Command: /jail <player> [time][unit]
- Releasing a Player:
- Command: /unjail <player>
Releases a player from jail and teleports them to the server spawn.
- Command: /unjail <player>
- Automatic Distance Check:
- Players who move beyond the allowed distance from the jail (configurable in config.yml) are automatically teleported back to the jail.
- Configurable via config.yml:
- All messages can be customized in config.yml.
- Maximum allowed distance from the jail can also be set (jail.max_distance)
-
jail: world: "world" x: 0.0 y: 64.0 z: 0.0 max_distance: 10.0
- Reloading Configuration:
- Command: /jailreload
Reloads the configuration from config.yml without restarting the server.
- Command: /jailreload
Configuration (config.yml):
- world, x, y, z: The world and coordinates of the jail.
- max_distance: Maximum allowed distance (in blocks) players can move away from the jail.
- Messages:
- All plugin messages (e.g., jail notifications, release messages, distance alerts) are customizable under the messages section.
Permissions:
- jailplugin.setjail: Allows the use of /setjail.
- jailplugin.jail: Allows the use of /jail.
- jailplugin.unjail: Allows the use of /unjail.
- jailplugin.reload: Allows the use of /jailreload.
Technical Details:
- Supported Versions: Compatible with the latest Minecraft server versions.
- Author: Developed by Mesiacik.
- Email: [email protected]
- Applied and tested on live server: majnuj.com
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta