Commit Graph

29 Commits

Author SHA1 Message Date
graywolf336
2dfe777f3f Actually make a call to move over the old config. 2014-03-14 15:18:36 -05:00
graywolf336
060bb125a4 First work on converting the old global config file to the new one.
For #23
2014-03-14 15:15:30 -05:00
graywolf336
ec1e91cda2 Implement the usage of Scoreboards, make the language configurable.
Closes #15
2014-03-13 12:59:47 -05:00
graywolf336
274f3a03ab Start work on Jail Sticks. 2014-03-08 22:53:31 -06:00
graywolf336
5f6807fc24 Started work on profiling when prisoners get jailed #12.
This only works for the sql right now, next commit will handle flatfile.
2014-03-06 16:51:25 -06:00
graywolf336
5e6fecfef8 Add the creation of tables sql, if the sql is mysql. #18
sqlite will be last on my list, might move it into beta 3.
2014-02-20 16:20:27 -06:00
graywolf336
48a7435fbe Fix the tests failing and also fix the jail command not doing anything. 2014-02-11 20:44:19 -06:00
graywolf336
d0312afc66 First attempt at working on the transferring of prisoners 2014-02-04 13:30:12 -06:00
graywolf336
b1f4b7bb41 Relocate the move protection so that we only register it if enabled.
This way we save on a tiny bit of performance when it is disabled.
2014-02-01 11:52:50 -06:00
graywolf336
691d59f0f7 Work on the new command system, this is not ready at all.
This commit is only so I can work on it more at another computer.
2014-01-27 18:02:24 -06:00
graywolf336
95649e7f03 Start work on the protection and penalties. First up is Block Place 2014-01-19 14:40:39 -06:00
graywolf336
cf7c9fc4c2 Protect the jails against explosions, if it is enabled 2014-01-08 15:27:38 -06:00
graywolf336
d734d99e88 Protect against block breaking and block placing in jails
Unless the player has admin permission. This does not include the
penalties as those will be done in a future commit. This also has a
little better performance on the block placing and breaking events, if
these checks are disabled.
2014-01-08 15:02:24 -06:00
graywolf336
57eb5c71e3 Nullify the timer on disable 2014-01-03 14:18:16 -06:00
graywolf336
f5bf76ec46 Add jail timer and jail event, count down the prisoners time. 2014-01-03 14:10:38 -06:00
graywolf336
738f8bc057 Set the handcuff manager to null on disable 2014-01-01 18:27:23 -06:00
graywolf336
3f27410a7a Handcuffing messages are now fully customizable via the language file 2014-01-01 17:39:21 -06:00
graywolf336
f1451f4179 Add the HandCuffListener 2014-01-01 16:22:40 -06:00
graywolf336
9b534b2abc Add handcuffing, next commit will be handcuff listeners. 2014-01-01 16:19:04 -06:00
graywolf336
4ab48b3659 Do some work on the JavaDoc 2013-12-28 19:50:55 -06:00
graywolf336
17f627350b Remove the debugging messages and add a debugging variable. 2013-12-28 13:37:18 -06:00
graywolf336
e4f74e5e91 Lots of progress was made towards jailing the player.
We now handle the jailing of the players and even store their inventory.
Unjailing hasn't been tested at all yet, so that's still to do.
2013-12-27 18:19:47 -06:00
graywolf336
dc2e74a63e Implement getting the jail nearest to sender of the jail command if no
jail parameter is defined.
2013-12-24 17:51:41 -06:00
graywolf336
ab0c236711 Add a language file and system. 2013-12-23 14:31:27 -06:00
graywolf336
845e219d5d Maybe copy the defaults on load to get the new config options?
Still not too sure if this will work correctly, as I don't know if this
will override the changes in the config.
2013-12-23 13:40:47 -06:00
graywolf336
7743897b9d Save the Jails when the server shuts down and when we add a cell. 2013-12-09 15:12:32 -06:00
graywolf336
11f9e94f40 Let's try and load the jails from flatfile. 2013-12-07 14:16:16 -06:00
graywolf336
4adffd7b4a Let's try to load the data from flatfile, or rather start. 2013-12-06 16:05:11 -06:00
graywolf336
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