74 Commits

Author SHA1 Message Date
graywolf336
bde63666bc Fix the issue with losing the inventory and the armor being moved to the
inventory.
2013-12-27 18:22:13 -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
23e7aa15a3 Only save the previous position as well if it is null. 2013-12-25 23:06:00 -06:00
graywolf336
69b7981914 Only try to load the previous gamemode if it isn't null. 2013-12-25 23:01:56 -06:00
graywolf336
aaa286fbdd Save their previous GameMode if it is enabled in the config.
Need to update the wiki with the new config option.
2013-12-25 22:57:09 -06:00
graywolf336
6423e8d2e5 If the location is empty, don't try it. If the language string doesn't
exist, then don't try to parse it either and return an empty string.
2013-12-25 22:41:01 -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
b4dc142455 Save and load the prisoners on flat file. 2013-12-24 23:42:53 -06:00
graywolf336
1021430b75 Output what language we are loading if successful. 2013-12-23 14:51:04 -06:00
graywolf336
c123689e67 Fix the test jailing. 2013-12-23 14:46:09 -06:00
graywolf336
ab0c236711 Add a language file and system. 2013-12-23 14:31:27 -06:00
graywolf336
7b75c7a158 Don't add the jail if the world is null, also load the plugin after the
worlds have loaded.
2013-12-16 12:39:08 -06:00
graywolf336
f33d6a0c45 Correctly load the world's jail. 2013-12-16 12:36:14 -06:00
graywolf336
677d006978 Add some JavaDoc to the JailIO class. 2013-12-16 12:26:38 -06:00
graywolf336
f03714a5f7 Let's loop through the signs when saving them to file so we save them
correctly in the flatfile.
2013-12-11 17:36:17 -06:00
graywolf336
9e950b56e4 Clean up adding a player to a cell. 2013-12-11 15:23:29 -06:00
graywolf336
89dbc4d2be Don't save the cell when we are loading it. 2013-12-09 16:35:10 -06:00
graywolf336
d0273828b8 Let's start work on saving of the cells. 2013-12-09 14:28:38 -06:00
graywolf336
11f9e94f40 Let's try and load the jails from flatfile. 2013-12-07 14:16:16 -06:00
graywolf336
7d18cf9a96 Fix the saving of jails, whoops forgot a period. 2013-12-07 13:02:38 -06:00
graywolf336
b664428142 Save the teleports in and free. 2013-12-06 21:56:00 -06:00
graywolf336
af9d1a1f5b Let's start some work on saving the flatfile. 2013-12-06 21:47:03 -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