Jails+ has been updated with the following features:
- Command refracted-
* From -[B]/jails spawn <prisoner_name> [world_spawn | original_location][/B]
* To -[B]/jails spawn <jail/prisoner> <jail_name/prisoner_name> [coords(x,y,z) / world_spawn | original_location][/B]
So the two use cases could be-
*[B]/jails spawn jail jail1 10 0 -10[/B]- This sets the unjail location for the specified jail, meaning whenever a player in that jail is unjailed the player will be teleported to the set co-ordinates.
*[B]/jails spawn prisoner Steve original_location[/B]- This will set the specified prisoners unjail location to be the location where he was in before being imprisoned and if you setworld_spawninstead oforiginal_location, the prisoner will be teleported to the world_spawn when unjailed.
Added two new configuration options/sections:
general:
teleport-when-unjailed: true/false # Should the player be teleported when unjailed
default-unjail-location:
type: WORLD_SPAWN # WORLD_SPAWN, ORIGINAL_LOCATION, CUSTOM
world: UNCHANGED # Optional: Only used for CUSTOM type, "UNCHANGED" or "world_name"
coordinates:
x: "~+5" # "~" player's current coordinate value, "~+10"
y: "64"
z: "~"
yaw: "~" # optional "~" or ex: "25.0"
pitch: "~" # optional "~" or ex: "10.0"
- Implemented fuzzy matching for jail names
- Added an extra layer of security so that players will always get punished when trying to escape from jail, no matter what vulnerability they use
- Added support for placeholders
Documentation: https://zitemaker.gitbook.io/jails/configuration-and-customization/placeholders
- Fixed a critical bug where player who were jailed when they were offline would lose all their items after getting unjailed.
