0ae2956137
Add a command to toggle whether jail is in debugging or not.
2014-04-21 22:04:03 -05:00
1f6881177a
Strip the colors from when unjailing and sending the message to console.
2014-03-14 15:22:13 -05:00
060bb125a4
First work on converting the old global config file to the new one.
...
For #23
2014-03-14 15:15:30 -05:00
87bb9feecb
Make all the arguments optional on the transfer, we handle that ourself.
...
This way we handle it ourself for language purposes.
2014-02-11 20:46:23 -06:00
48a7435fbe
Fix the tests failing and also fix the jail command not doing anything.
2014-02-11 20:44:19 -06:00
58bc007b3e
Remove all reference to jcommands and use jewelcli.
...
This commit also cleans up the jail command to be quicker as the old way
I was doing it just didn't work nor was it good to go for production.
This method also utilizes the CommandInfo's pattern to match
subcommands, like it was meant to be used for. Completely untested.
2014-02-11 20:34:35 -06:00
d0312afc66
First attempt at working on the transferring of prisoners
2014-02-04 13:30:12 -06:00
d0e41ed908
Add the unjailforce command
2014-02-03 18:44:38 -06:00
a088577bee
Move lots of the subcommands to proper place, let's see if this works.
2014-02-01 01:24:44 -06:00
1e632017c7
Add the jailstop, jailtelein, and jailteleout to subcommands.
2014-01-30 14:10:51 -06:00
edb563a9ec
Move mute, reload, and version to the subcommand of /jail
2014-01-29 13:46:26 -06:00
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
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
cb8de04a91
Temp work on the jailcheck command, not finishing.
...
It has been decided we are going to be switching the command structure
up, more details to come.
2014-01-23 18:51:22 -06:00
e0dc22dfec
Add the JailReload command.
2014-01-23 18:05:35 -06:00
010b592fb5
Add the JailMute, JailTeleIn, and JailTeleOut commands.
2014-01-23 17:52:21 -06:00
4ac89455b0
Add the JailClearCommand back, this time releasing all the prisoners.
2014-01-23 13:07:26 -06:00
13363f6d9a
Rename the JailClear to JailClearForce
2014-01-22 17:55:47 -06:00
d6ad4df991
Log the unjailing to console if we have that enabled.
2014-01-22 17:48:32 -06:00
06aa6629b7
Finally get all the messages on the jail command to come from the
...
language system. :)
2014-01-21 19:56:14 -06:00
9a9a75dc1e
Fix my comment, would have threw someone off in the future I imagine
2014-01-21 18:11:46 -06:00
34ac65565c
More command workings and using the custom languages.
2014-01-21 18:09:47 -06:00
c956018d1e
Add work on jailclear and also the jail command to use language string.
2014-01-21 15:12:09 -06:00
3f27410a7a
Handcuffing messages are now fully customizable via the language file
2014-01-01 17:39:21 -06:00
9b534b2abc
Add handcuffing, next commit will be handcuff listeners.
2014-01-01 16:19:04 -06:00
04d65088e3
First attempt at unjailing a prisoner.
2013-12-28 15:08:24 -06:00
539ebeb326
Don't allow jailing of players who are already jailed.
2013-12-28 13:17:31 -06:00
3ab161cbe8
Clean up the jailstop command, make it tell what all they stopped.
2013-12-28 13:12:45 -06:00
359192a655
Fix the usage message being wrong.
2013-12-28 12:07:59 -06:00
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
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
a72f6c273b
Work on the actual jailing of the player.
...
Lots of work done here, untested.
2013-12-25 21:56:01 -06:00
f987dedc3d
Fix the time parsing no longer working.
2013-12-25 01:12:20 -06:00
57d61717fe
Let's try to use the new preparing method, see what errors we get.
2013-12-24 23:12:24 -06:00
38a4a859e4
Implement not being able to jail people who can't be jailed.
2013-12-24 22:47:17 -06:00
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
a27596bcfb
If they provide an incorrect format in time, don't override it.
2013-12-24 19:42:12 -06:00
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
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
4a45229bc5
Send the online prisoner the jailed message with the reason.
2013-12-24 10:23:39 -06:00
1a04ecf409
Let's use the PrisonerJailedEvent in the jailing of a player.
2013-12-19 16:13:41 -06:00
92c19fd05f
Derp, set the time from the given one.
2013-12-19 11:39:18 -06:00
7376326288
Let's try to convert to minutes from milliseconds.
2013-12-19 11:32:04 -06:00
17ac609a0f
Let's start some work on the jail command.
2013-12-19 11:13:07 -06:00
5f2fcd9027
No longer require true/false for the -m.
2013-12-19 09:19:55 -06:00
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
afccd42c24
Nothing major, just tiny little bits and pieces.
2013-12-16 15:51:25 -06:00
702aa8cc9f
This looping through the arguments isn't working for me.
2013-12-16 14:32:06 -06:00
913c5d014e
Meh, start a little work on the jailing command.
2013-12-16 14:21:32 -06:00
c7a08381f2
Include some information for when there are no cells.
2013-12-16 14:12:26 -06:00