A fork of the Jail CraftBukkit plugin
Go to file
graywolf336 3a09144b52 Attempt to get valid connections when doing operations, should help with
reconnecting to the database after an error has occured.
2015-01-29 00:51:01 -06:00
src Attempt to get valid connections when doing operations, should help with 2015-01-29 00:51:01 -06:00
.gitattributes Add .gitattributes 2014-06-12 10:50:53 -05:00
.gitignore Don't allow players to keep their inventory from jail. 2014-07-14 23:28:01 -05:00
pom.xml Refactor the pom.xml 2015-01-28 00:05:18 -06:00
README.md Add support for sqlite storage. 2014-08-19 16:54:14 -05:00

Jail 3.0 - JavaDoc - Wiki

This plugins adds Jail to your Minecraft server. Admins can define several jails and then jail/unjail people, can be on a time basis. This plugin also offers wide variety of protections, this way players won't escape out of jail.

Build Status

Beta 3 Changes

Changes since Beta 2

  • Added support for sqlite storage
  • Add advanced update notifications, even for beta builds
  • Move cellcreate command to createcell
  • Fix an out of bounds exception when using old jail stick configurations
  • Make the timer async, this helps performance when you have a ton of prisoners
  • Lots of work on unit testing
  • Changed the encoding of the project in maven to utf8
  • Fixed the language system not copying over new values
  • Fixed confirmations not expiring, ever
  • Commands clear and clear force have been combined, use -f (-force) if you want to forcefully clear

Beta 2 Changes

Changes since Beta 1

  • Using UUID as the only means of knowing if someone is jailed or not, last known username is stored for commands
  • Jailings via jail sticks are now recorded, #20
  • Fix the default Jail Stick not being loaded correctly, #21
  • Implement Scoreboards, with title and time configurable. (#15)
  • Implemented Jail Pay #11
  • Convert old data and config values, only some are done and if you don't want the old data delete your global.yml
  • Add config option to disallow the usage of Jail Sticks
  • Added /jail time for easy access to adding/subtracting time - Bukkit Dev Ticket #432
  • Added /togglejaildebug for easily toggling the debugging state, enable if you have a problem and want to send me information
  • Added some caching of online prisoners and where they're located at, this improves performance on servers with 500+ prisoners jailed
  • Only updating prisoners in the database if they were changed, this should help improve saving speed

Beta 1 Changes

Changes since alpha

  • MySQL storage is now a valid option for storage (#18)
  • MySQL data validation, basically if a cell or prisoner reference a jail which no longer exists they are removed
  • Fix a bug with not being able to unjail someone forcefully if they were in a cell (#17)
  • Add the record keeping system (#12)
  • Added Jail Sticks, format of them has slightly changed (#16)

Changes

With this being version 3 of this plugin, a couple things have changed but the core concept is still the exact same. Here are some drastic changes:

  • Time can now be entered different formats, 3hours or 15mins or 4days
  • New language system
  • New config system (per jail configs are going to make a come back)
  • Items in the config use item names now, not the ids
  • All commands are prevented by default, now there is only a whitelist
  • All interactions are prevented by default, add to the whitelist what you want
  • If store inventory is not enabled, inventories are deleted upon jailing
  • Sign text has a new format, old format will not be converted
  • Max reason length has been removed, might be added back in if needed

ToDo

  • Jail set
  • Jail vote
  • Jailing for swearing
  • Guards (PlayerMoveProtectionAction - when they try to move do we teleport them back, let the guards get them, or nothing)
  • Storing permissions
  • Pages on jail list

Notice

  • Old messages (language) will not be converted
  • MaximumAFKTime setting will not convert over, the format isn't clear and the old version didn't provide a way to get values with decimal places
  • EnableLogging has been removed, we are always going to be logging (unless major request to control this)
  • Prisoner's old inventory strings in the database are lost, we can not convert those