graywolf336
bfd786f650
When we reload the update checking, cancel the previous task.
2014-07-21 18:23:31 -05:00
graywolf336
70b2fbe1e1
Cancel all the tasks for this plugin when shutting down.
2014-07-21 18:20:04 -05:00
graywolf336
1c92f90ccc
Update notifications! For dev, stable-dev, and bukkit channels! :)
2014-07-21 18:17:30 -05:00
graywolf336
6fe5eeb346
Move some items around for organization
2014-07-21 15:54:16 -05:00
graywolf336
8a7a9cefef
Make the jail stick manager/creation smarter and fix jailing via jail
...
sticks, as it wasn't working at all.
2014-07-15 01:05:46 -05:00
graywolf336
a5bf89b07e
Don't allow jailing in unloaded worlds and don't allow joining while
...
jailed in unloaded worlds.
2014-07-14 22:53:48 -05:00
graywolf336
d535b758d4
Add .gitattributes
2014-06-12 10:50:53 -05:00
graywolf336
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
graywolf336
af1fa37470
Add a cache for prisoners online only, this should help performance #26
...
The cache listens to a lot of events and custom events to ensure the
cache is up to date, this way we don't have to loop through all the
prisoners in a jail every single time they move or something but instead
just check the cache.
2014-05-30 12:23:32 -05:00
graywolf336
3e54d79dd3
Try to lower the amount of time spent on each move event as mentioned in
...
issue #26
2014-05-08 19:30:20 -05:00
graywolf336
ef5dfe3815
If we have converted data, save everything after JailIO is loaded.
...
This might solve #26 but I'm not closing it yet as this is untested.
2014-05-03 01:12:26 -05:00
graywolf336
63e117ac72
Build will fail. Started work on converting to using uuid's internally.
...
While doing this I deleted one method that I shouldn't have, so going to
revert that. Next I have to build a method or two which will allow me to
do last known names lookups, etc. Might switch to using a library to
handle getting names async so we don't block the server up, doing this
will result in us having to recode some of the commands internally.
If you have any suggestions or questions, I'm open.
2014-04-28 23:52:52 -05:00
graywolf336
7167bff981
Fix the NPE when providing backward compabitility.
2014-04-27 00:19:23 -05:00
graywolf336
3ad2eb26af
Merge branch 'master' of git@github.com:graywolf336/Jail.git
2014-04-21 22:04:23 -05:00
graywolf336
0ae2956137
Add a command to toggle whether jail is in debugging or not.
2014-04-21 22:04:03 -05:00
graywolf336
caf4315d6c
Only initialize JailPayManager if vault exists.
2014-04-01 23:21:24 -05:00
graywolf336
4ade1bcf38
Implement Jail Pay, this closes #11
2014-03-20 15:33:42 -05:00
graywolf336
126c1576c4
Add the jail name to the scoreboard's title.
2014-03-16 16:13:40 -05:00
graywolf336
3e3f2d432e
Convert the old data to our new data and move the old files.
...
Closes #24 but it probably has a few bugs or prisoners who were in cells
are not any more, but I will only fix that if someone pursades me to.
2014-03-14 17:40:44 -05:00
graywolf336
737a7e35e2
Debugging is important to me, load the old debugging value.
2014-03-14 15:35:50 -05:00
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