Commit Graph

18 Commits

Author SHA1 Message Date
85e1106b42 Fix some spacing issues introduced by the last commit. 2014-08-19 14:34:02 -05:00
81da8ddb59 First attempt at getting the signs of cells to display information #31
The variables possible are:
* %player% - the player's last known name
* %uuid% - the player's uuid, or what can fit on a sign
* %reason% - the reason the player was jailed
* %jailer% - the person/thing who jailed this player
* %afktime% - the amount of time the player has been afk
* %timeinminutes% - the amount of remaining time the player has in
minutes

If the player is jailed forever, then it pulls from the language file
`jailedforeversign` property.
2014-08-19 14:19:30 -05:00
71a60e6ee3 Fix the spacing and clean it up. 2014-07-27 14:46:25 -05:00
d535b758d4 Add .gitattributes 2014-06-12 10:50:53 -05:00
7ad5fedfd1 Work on the tests and change up some performance issues.
1. In the player move event we looped through the jailed players more
than once which really is an issue when you have several hundred jailed
and since the move event is called several times a second, that was a
huge performance hit.
2. Don't save the prisoner data as soon as they are jailed, we take care
of that else where with the shutting down and counting down time.
2014-05-30 15:54:11 -05:00
7d64fce5db Add some debugging code to try and work out #19 2014-03-08 23:59:23 -06:00
295f6061a8 Really allow the chest to be null in cells. 2014-02-21 12:15:44 -06:00
bd7397a929 Allow no chest to be selected for the cells when creating it. 2014-02-21 09:22:00 -06:00
399b8662e5 jailstop is now /jail stop 2014-02-16 16:28:09 -06:00
b75f12c23c General bug work, there's a small bug in here I can't find...grrr 2013-12-28 12:53:07 -06:00
e21c2d87ad Support Trapped Chests! 2013-12-11 17:26:07 -06:00
89dbc4d2be Don't save the cell when we are loading it. 2013-12-09 16:35:10 -06:00
aa8443a8f7 Add the missing return which was causing errors when selecting a chest. 2013-12-09 14:58:54 -06:00
0272a3a241 Worked a little more on cell creation, no longer have to provide a cell
name and when that happens we give it one ourself.
2013-12-09 13:05:31 -06:00
3643627b7d Let's check for the wand and not just a wooden sword. 2013-12-09 12:54:51 -06:00
7976dec870 Save the Jail when we add it. 2013-12-06 21:50:22 -06:00
e07c657a40 Give the players a wand when starting to create a jail or cell. 2013-12-06 15:56:46 -06:00
596c9de2ad First commit, converted to a truely maven project and switching over to my own repository for better management. 2013-12-05 18:22:15 -06:00