Changelog

Changelog

Version 1.2.0

  • Jail reload command removed.
  • Adds config option for muting players when they are jailed. Can still unmute these players later using /jailmute <player>.
  • Rewrite of plugin backend to improve readability of code and how I can improve it.
  • Matching player name support. Eg. I can write "sev" to jail "t7seven7t" assuming there are no other players containing the string "sev".
  • Block protection in jail by means of permissions. By default no one can alter jail unless they have swornjail.admin or swornjail.build permissions.
  • New timer that counts down every second and jail time is now displayed in days/hours/minutes/seconds.
  • New method of saving/loading inmates. Unfortunately this means your old jail lists will no longer load.
  • Added permission to allow players to use commands while in jail.
  • Updated scheduler to check for players outside of jail every second up from every 4 seconds.
  • Players will be ejected from whatever they are riding when jailed.
  • Chatting, using commands, or moving around are now all valid ways to stop jail from thinking a player is afk and not counting down their time.
  • Slightly reduced the amount players in jail are spammed with the afk message.
  • Add config option to control whether jail will check if players are AFK or not.
  • Some permissions were modified during rewrite for whatever reason. Specifically, swornjail.status, check and unjail.

Version 1.1.8

  • Fix reloading plugin overwriting changes in config file once and for all.

Version 1.1.7

  • Updated for the new chat event. Old one is deprecated and will soon be removed. Server will no longer get spammed with AuthorNagExceptions from this plugin on startup.

Version 1.1.5

  • If invalid world is specified will default to the first world loaded by CB rather than cause null error on saving config.
  • Removed some unnecessary debugging lines.
  • Updated jar to include new license.

Version 1.1.4

  • Should be able to now modify whitelist while server is still running without it being wiped using reload command or server restart.

Version 1.1.3

  • New whitelist for commands that can be used while in jail. Just add them in the config file under "whitelisted-commands".

Version 1.1.2

  • Allows commands to be used from the console.
  • Adds command to modify jail reason.

Version 1.1.1

  • Fixes bug where players who have previously served their jail sentence are jailed again upon server restart.

Version 1.1.0 WARNING All previous inmates will be unjailed if you upgrade to this build!

  • Changed format of how the jail list saves. Also changed file name to "inmates.yml".
  • Modified some code with all timer related stuff.
  • Inmates can now be jailed in minutes/hours/days using a suffix of m/h/d respectively when setting an inmate's time. You can leave off this extension and it will default time in minutes.
  • Two of the jail messages can now be edited in the config file.

Version 1.0.4

  • Fixed bug with save timer.
  • Added permissions to plugin.yml, fixed compatibility with some permissions plugins.
  • Made /jailhelp command correctly display a player's usable commands.

Version 1.0.3

  • Jail enter and exit points both have a yaw direction now, to set the yaw just use the /jailset command to set up your jail again, or modify the yaw values in the config.
  • The jail list is now saved to disk every 10 minutes, previously it was only saved when the plugin was disabled or reloaded.
  • Made the code that checks whether a player's time is up more robust, previously players were getting stuck in jail with times of -30, etc.

Version 1.0.2

  • Fixed problem with jail time not counting down for players with capital letters in their name that was caused by the previous update.

Comments

Posts Quoted:
Reply
Clear All Quotes