Commit Graph

72 Commits

Author SHA1 Message Date
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