Commit Graph

71 Commits

Author SHA1 Message Date
graywolf336
a3d9a54ff0 First attempt to use UUID, not tested one ounce.
And I imagine the unit tests are going to fail.
2014-04-21 22:58:15 -05:00
graywolf336
1de176e67e Don't enable scoreboards by default, they are laggy in the newer bukkit 2014-04-21 22:52:17 -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
4ade1bcf38 Implement Jail Pay, this closes #11 2014-03-20 15:33:42 -05:00
graywolf336
fe7cb9f5a5 Add a new command /jail time which has easy access for add/subtract
time from a prisoner's sentence.

This command could be useful for commandblocks or something else, as it
does not need a player context. This closes Bukkit Dev Ticket:
http://dev.bukkit.org/bukkit-plugins/jail/tickets/432/
2014-03-15 14:40:50 -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
39cc95b96d The jail stick is now usable.
Closes #16.
2014-03-08 23:39:11 -06:00
graywolf336
64c4298cca Whoops, didn't mean to move the database to the wrong config section. 2014-03-08 22:57:33 -06:00
graywolf336
274f3a03ab Start work on Jail Sticks. 2014-03-08 22:53:31 -06:00
graywolf336
2ec69c5650 Finish adding the jailrecord command, this closes #12. 2014-03-06 18:10:53 -06:00
graywolf336
356fab682e Start some initial work on the sql portion, no where near close. #18 2014-02-19 21:54:56 -06:00
graywolf336
620c57cdc9 Add a PrePrisonerTransferredEvent #9. 2014-02-15 00:52:25 -06:00
graywolf336
5f39776825 Fix the issue in the config which was causing the tests to fail. 2014-02-14 23:53:06 -06:00
graywolf336
47fba5ab79 Allow /jail status and also send them a message when they check it 2014-02-14 23:34:41 -06:00
graywolf336
3784eb6b28 Fix the confirm not working. 2014-02-14 23:18:41 -06:00
graywolf336
54bea41d05 Further work on #3, lots of logic work figured out. The clear command
uses the confirmation method now, just need to test it.
2014-02-13 13:40:23 -06:00
graywolf336
efcd517360 Add the /jail status command. 2014-02-13 12:00:21 -06:00
graywolf336
78cc20c2c1 Add the removing of a jail via the ``/jail delete`` command. 2014-02-13 11:26:42 -06:00
graywolf336
950eb638b8 Add the command to transfer all the prisoners in one jail to another. 2014-02-12 15:52:10 -06:00
graywolf336
94111955a4 Add deletecell and deletecells.
The deletion of cells is very spammy, might have to change later on down
the road.
2014-02-12 15:31:02 -06:00
graywolf336
3dc89a60c8 For real fix the no cell message, this is why testing is so important.
I forget things and forget to type something or mistype something.
2014-02-12 13:53:36 -06:00
graywolf336
f774bf335f Send a message to the sender when they transfer someone...hehe whoops.
This finalizes the development piece of #5, just need to test it.
2014-02-12 13:42:45 -06:00
graywolf336
7ce81c774f Send a message when there are no prisoners in a jail. 2014-02-10 14:50:41 -06:00
graywolf336
05695ce969 Tell the sender the player's name they sent back if already jailed. 2014-02-10 14:06:22 -06:00
graywolf336
d0312afc66 First attempt at working on the transferring of prisoners 2014-02-04 13:30:12 -06:00
graywolf336
d0e41ed908 Add the unjailforce command 2014-02-03 18:44:38 -06:00
graywolf336
683b4457f4 Fix the messages not being correct. 2014-02-01 01:56:12 -06:00
graywolf336
cab6d7fdf9 When unjailing someone, if they've never been online and have time
remaining then forcefully remove them.
2014-01-28 22:20:33 -06:00
graywolf336
e0dc22dfec Add the JailReload command. 2014-01-23 18:05:35 -06:00
graywolf336
010b592fb5 Add the JailMute, JailTeleIn, and JailTeleOut commands. 2014-01-23 17:52:21 -06:00
graywolf336
d6ad4df991 Log the unjailing to console if we have that enabled. 2014-01-22 17:48:32 -06:00
graywolf336
cb22fe9786 Let's try out the move protection, maybe this will work the first time 2014-01-22 14:43:14 -06:00
graywolf336
fe1db3bb04 Prevent interaction with items and blocks!
Works just like the old version, they can interact with anything except
what is in the blacklist.
2014-01-21 22:23:26 -06:00
graywolf336
863793543f Allow protecting and penalizing trampling of crops. 2014-01-21 21:37:52 -06:00
graywolf336
06aa6629b7 Finally get all the messages on the jail command to come from the
language system. :)
2014-01-21 19:56:14 -06:00
graywolf336
34ac65565c More command workings and using the custom languages. 2014-01-21 18:09:47 -06:00
graywolf336
c956018d1e Add work on jailclear and also the jail command to use language string. 2014-01-21 15:12:09 -06:00
graywolf336
abb3e70bdf Enable protecting endermen protections in jails 2014-01-21 12:31:56 -06:00
graywolf336
4179a6a2d3 Move the explosion protection to a different section of the config.
This way it makes more sense, as the explosionProtection is for the
jails and not during the jailing.
2014-01-21 12:21:33 -06:00
graywolf336
b005248deb If the time is 0, then send a different message. 2014-01-21 12:10:43 -06:00
graywolf336
4eae8778ea Enable food control 2014-01-20 15:24:27 -06:00
graywolf336
392b1d94cc Prevent commands from being executed, except those whitelisted 2014-01-20 14:40:03 -06:00
graywolf336
af58eea360 It's crops as well for placing, whoops 2014-01-20 12:26:03 -06:00
graywolf336
18265777dd It's crops and not wheat, also add potatos to the default whitelist. 2014-01-20 12:24:09 -06:00
graywolf336
f41ee77092 Enable checking the whitelist of breaking and placing. 2014-01-19 15:53:42 -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
759df05bdd More language strings, focused this time on the command handler. 2014-01-17 14:34:12 -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