94 Commits

Author SHA1 Message Date
graywolf336
7f79f82636 Let's try to load a jail from MySQL, #18. 2014-02-20 21:29:29 -06:00
graywolf336
1b2ed8bec4 We'll use replace into and not insert into, #18. 2014-02-20 21:07:06 -06:00
graywolf336
b26fed8f80 Fix the insertion of the prisoners. 2014-02-20 21:03:17 -06:00
graywolf336
75aec51dc2 Let's try to save the jails with MySQL, first attempt #18. 2014-02-20 20:55:04 -06:00
graywolf336
5e6fecfef8 Add the creation of tables sql, if the sql is mysql. #18
sqlite will be last on my list, might move it into beta 3.
2014-02-20 16:20:27 -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
78cc20c2c1 Add the removing of a jail via the ``/jail delete`` command. 2014-02-13 11:26:42 -06:00
graywolf336
d0312afc66 First attempt at working on the transferring of prisoners 2014-02-04 13:30:12 -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
3ab751baa8 Nullify the prisoners and cells before saving them. 2014-01-21 16:14:26 -06:00
graywolf336
976149743a Change some way we let people know of hte language system.
Also added a console command sender to the test setup, just in case we
want to use it later on down the road.
2014-01-14 18:28:02 -06:00
graywolf336
a7dacf42c1 Fix the message format not being correct. 2014-01-01 18:13:31 -06:00
graywolf336
3f27410a7a Handcuffing messages are now fully customizable via the language file 2014-01-01 17:39:21 -06:00
graywolf336
4ab48b3659 Do some work on the JavaDoc 2013-12-28 19:50:55 -06:00
graywolf336
ce457fc7bf Derp, save the file when we change it. 2013-12-28 15:42:06 -06:00
graywolf336
05b15cc9b8 Let's try to remove people from the storage system this way. 2013-12-28 15:39:14 -06:00
graywolf336
81ec445deb TOLD YOU IT WAS A SMALL BUG... Bah, humbug! 2013-12-28 13:20:09 -06:00
graywolf336
546131dd77 Fix the loading of the cells being really messed up. 2013-12-28 12:12:57 -06:00
graywolf336
15ca0810ba Remove the debugging message, as it is now in the loaded message. 2013-12-28 12:04:44 -06:00
graywolf336
e888467b66 Add the amount of cells loaded to the loaded message. 2013-12-28 12:01:56 -06:00
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