graywolf336
33528aee56
Fix the removing prisoner setting the wrong thing to null.
2014-08-19 15:04:39 -05:00
graywolf336
71a60e6ee3
Fix the spacing and clean it up.
2014-07-27 14:46:25 -05:00
graywolf336
1898121643
Simplify the language system and the language calls, also fix the
...
language system not copying over the new values when new values were
added.
2014-07-24 21:16:57 -05:00
graywolf336
6b8dec6c7b
Work on some unit tests for #7 and reorganize part of the config.
2014-07-22 20:58:05 -05:00
graywolf336
ce1231da39
Add some debugging code.
2014-07-14 21:38:15 -05:00
graywolf336
3912dbfabc
Only save the prisoners if they were changed, add that flag.
2014-07-14 18:23:29 -05:00
graywolf336
f3c2772a87
Use BIGINT for the time
2014-07-14 18:07:13 -05:00
graywolf336
fe7aabc6ea
Very using the new api, some older versions are still used.
2014-07-14 16:39:01 -05:00
graywolf336
d535b758d4
Add .gitattributes
2014-06-12 10:50:53 -05:00
graywolf336
7ad5fedfd1
Work on the tests and change up some performance issues.
...
1. In the player move event we looped through the jailed players more
than once which really is an issue when you have several hundred jailed
and since the move event is called several times a second, that was a
huge performance hit.
2. Don't save the prisoner data as soon as they are jailed, we take care
of that else where with the shutting down and counting down time.
2014-05-30 15:54:11 -05:00
graywolf336
74e62be46c
Use InputStreamReader when reading the default en.yml from the plugin.
2014-05-30 14:03:20 -05:00
graywolf336
3e54d79dd3
Try to lower the amount of time spent on each move event as mentioned in
...
issue #26
2014-05-08 19:30:20 -05:00
graywolf336
0bb679329d
Fix the error when saving a cell that has a prisoner. This should fix
...
and close #26 .
2014-05-03 09:52:45 -05:00
graywolf336
ef5dfe3815
If we have converted data, save everything after JailIO is loaded.
...
This might solve #26 but I'm not closing it yet as this is untested.
2014-05-03 01:12:26 -05:00
graywolf336
b3033913c7
Properly output how many cells were loaded, hopefully this has something
...
to do with #26 displaying incorrect information.
2014-05-02 01:35:04 -05:00
graywolf336
f1dadaaae0
Lookup the records by username and get the UUID ourself.
2014-04-30 13:18:56 -05:00
graywolf336
a7798c9d62
Fix the javadoc on one method in JailIO being incorrect.
2014-04-29 13:24:26 -05:00
graywolf336
4d4f609b82
Finish using the UUID, we are still using blocking methods.
...
I want to get fully away from blocking methods and instead make the
user/player/prisoner/whatever wait to get an answer while we retrieve
the uuid information asynchronously.
2014-04-29 13:20:33 -05:00
graywolf336
0981fe659f
Correctly log how many prisoners were loaded.
2014-04-28 22:46:41 -05:00
graywolf336
cb88948c29
Merge branch 'master' of git@github.com:graywolf336/Jail.git
2014-04-28 20:11:58 -05:00
graywolf336
581a826524
Output out type of storage is selected when not in debugging mode.
2014-04-28 20:11:39 -05:00
graywolf336
4f7678fed6
Fix the name portion of the prisoners not loading.
2014-04-26 22:29:36 -05:00
graywolf336
a3d9a54ff0
First attempt to use UUID, not tested one ounce.
...
And I imagine the unit tests are going to fail.
2014-04-21 22:58:15 -05:00
graywolf336
3e3f2d432e
Convert the old data to our new data and move the old files.
...
Closes #24 but it probably has a few bugs or prisoners who were in cells
are not any more, but I will only fix that if someone pursades me to.
2014-03-14 17:40:44 -05:00
graywolf336
1399f8d260
Fix some of the JavaDoc.
2014-03-11 13:03:11 -05:00
graywolf336
2ec69c5650
Finish adding the jailrecord command, this closes #12 .
2014-03-06 18:10:53 -06:00
graywolf336
9f9ede433a
Fix a problem with the loading of cells when no signs.
2014-03-06 17:09:21 -06:00
graywolf336
5f6807fc24
Started work on profiling when prisoners get jailed #12 .
...
This only works for the sql right now, next commit will handle flatfile.
2014-03-06 16:51:25 -06:00
graywolf336
ac6a5b23cb
Some clean up work on the JailIO class.
2014-03-06 14:04:11 -06:00
graywolf336
02a4e206cb
Set AutoCommit to true for MySQL.
...
Haven't really tested it, so not sure what it does.
2014-03-06 13:28:58 -06:00
graywolf336
47949a9373
Fix some debugging messages.
2014-03-06 12:14:18 -06:00
graywolf336
4f90a99cd5
Remove cells and prisoners which reference a deleted prisoner.
...
For beta purposes, this closed #18 since all the main sql things are
done.
2014-03-06 12:11:10 -06:00
graywolf336
4ca9ff8b8d
No need to have the sql commands outputted anymore on creation.
2014-03-06 11:49:12 -06:00
graywolf336
2027331540
When forcefully removing a prisoner, check for a cell. This closes #17
2014-03-06 11:33:24 -06:00
graywolf336
c249a44f35
More work on loading the prisoners from mysql for #18 .
2014-03-06 11:04:04 -06:00
graywolf336
42d25e0b69
Column is cell
not cell_n1
2014-03-06 10:40:46 -06:00
graywolf336
725c0fd207
Start some work on loading the prisoners, for #18 .
2014-03-05 22:50:53 -06:00
graywolf336
06793330ac
Fix the jailing sql syntax being incorrect for jailing in cells.
2014-03-05 22:36:43 -06:00
graywolf336
262f1dc4f9
Finish loading cells and check for chest when we are removing a cell.
2014-03-05 22:28:12 -06:00
graywolf336
e0411f1202
Add some sql to remove the prisoner.
...
Untested.
2014-03-05 17:21:54 -06:00
graywolf336
0fabe1ff2e
Add some sql to remove the cells and jails.
...
Untested.
2014-03-05 16:56:13 -06:00
graywolf336
95e9c7c50a
Reorganize how we save new cells, this way doesn't dupe cells any more.
2014-02-21 09:32:11 -06:00
graywolf336
1c5bfc24ea
Allow the chest to be null for the cells.
2014-02-21 08:59:44 -06:00
graywolf336
8834e193ac
Some more work on the MySQL, making slow progress for #18 .
2014-02-20 21:51:36 -06:00
graywolf336
2458b75f84
Forgot to handle the error when thrown.
2014-02-20 21:32:45 -06:00
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