graywolf336
010b592fb5
Add the JailMute, JailTeleIn, and JailTeleOut commands.
2014-01-23 17:52:21 -06:00
graywolf336
4ac89455b0
Add the JailClearCommand back, this time releasing all the prisoners.
2014-01-23 13:07:26 -06:00
graywolf336
13363f6d9a
Rename the JailClear to JailClearForce
2014-01-22 17:55:47 -06:00
graywolf336
d6ad4df991
Log the unjailing to console if we have that enabled.
2014-01-22 17:48:32 -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
9a9a75dc1e
Fix my comment, would have threw someone off in the future I imagine
2014-01-21 18:11:46 -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
4c13948549
Make the command execution throw an exception, and let's catch it.
2014-01-21 11:22:26 -06:00
graywolf336
759df05bdd
More language strings, focused this time on the command handler.
2014-01-17 14:34:12 -06:00
graywolf336
3f27410a7a
Handcuffing messages are now fully customizable via the language file
2014-01-01 17:39:21 -06:00
graywolf336
9b534b2abc
Add handcuffing, next commit will be handcuff listeners.
2014-01-01 16:19:04 -06:00
graywolf336
04d65088e3
First attempt at unjailing a prisoner.
2013-12-28 15:08:24 -06:00
graywolf336
539ebeb326
Don't allow jailing of players who are already jailed.
2013-12-28 13:17:31 -06:00
graywolf336
3ab161cbe8
Clean up the jailstop command, make it tell what all they stopped.
2013-12-28 13:12:45 -06:00
graywolf336
359192a655
Fix the usage message being wrong.
2013-12-28 12:07:59 -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
07f3d85a2a
Don't allow prisoners to be jailed into the same cell as someone else.
...
This will prevent overriding inventories in cell chests. When we tell
them the destination cell already has a prisoner in it, we try to find
the first empty cell in that jail but if all the jail's cells are full
then we tell them that as well.
2013-12-27 13:16:21 -06:00
graywolf336
a72f6c273b
Work on the actual jailing of the player.
...
Lots of work done here, untested.
2013-12-25 21:56:01 -06:00
graywolf336
f987dedc3d
Fix the time parsing no longer working.
2013-12-25 01:12:20 -06:00
graywolf336
57d61717fe
Let's try to use the new preparing method, see what errors we get.
2013-12-24 23:12:24 -06:00
graywolf336
38a4a859e4
Implement not being able to jail people who can't be jailed.
2013-12-24 22:47:17 -06:00
graywolf336
63032ad6cc
Some work on the plugin, added a couple things and worked on the
...
preparing the jail.
2013-12-24 22:25:14 -06:00
graywolf336
a27596bcfb
If they provide an incorrect format in time, don't override it.
2013-12-24 19:42:12 -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
0d79569c74
Add some settings management and also parse the time format.
...
This allows for: 30seconds, 10minutes, 3hours, or 2days
2013-12-24 12:28:40 -06:00
graywolf336
4a45229bc5
Send the online prisoner the jailed message with the reason.
2013-12-24 10:23:39 -06:00
graywolf336
1a04ecf409
Let's use the PrisonerJailedEvent in the jailing of a player.
2013-12-19 16:13:41 -06:00
graywolf336
92c19fd05f
Derp, set the time from the given one.
2013-12-19 11:39:18 -06:00
graywolf336
7376326288
Let's try to convert to minutes from milliseconds.
2013-12-19 11:32:04 -06:00
graywolf336
17ac609a0f
Let's start some work on the jail command.
2013-12-19 11:13:07 -06:00
graywolf336
5f2fcd9027
No longer require true/false for the -m.
2013-12-19 09:19:55 -06:00
graywolf336
500c2abd51
Switch to using JCommander for the params/arguments system.
...
This system is very complex and we can make it as complex or as simple
as we want. This will save us time when we want to parse commands and
since it takes a while to write the code to parse the commands, this way
provides a lot more options. I'm excited for this.
2013-12-18 17:26:39 -06:00
graywolf336
afccd42c24
Nothing major, just tiny little bits and pieces.
2013-12-16 15:51:25 -06:00
graywolf336
702aa8cc9f
This looping through the arguments isn't working for me.
2013-12-16 14:32:06 -06:00
graywolf336
913c5d014e
Meh, start a little work on the jailing command.
2013-12-16 14:21:32 -06:00
graywolf336
c7a08381f2
Include some information for when there are no cells.
2013-12-16 14:12:26 -06:00
graywolf336
12b850c391
Rename the JailListCell to JailListCells
2013-12-16 14:08:48 -06:00
graywolf336
5febe47880
Implement the jaillistcell command, prints the prisoner name in the cell
...
as well if there is someone in there.
2013-12-16 13:57:17 -06:00
graywolf336
b5133842c0
Creation a CreationPlayer with the jailname and cellname.
2013-12-09 14:45:24 -06:00
graywolf336
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
graywolf336
68cd8bc56a
Just an increase in the spacing.
2013-12-07 14:31:11 -06:00
graywolf336
b3ccf5e82a
Add jail list command, outputs the amount of prisoners in there.
2013-12-07 14:27:41 -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