Commit Graph

535 Commits

Author SHA1 Message Date
graywolf336
02fd6bf51f Move the languages to their own folder
Moving to a new translation service, so I need to do this.
2015-12-29 12:54:22 -06:00
graywolf336
b7013d578c Placeholder for my idea for help on the commands. 2015-11-02 11:49:31 -06:00
Bradley Hilton
e5e6153806 Merge pull request #98 from perhenrik/master
Fixed the paying with item not working due to uppercasing the wrong piece.
2015-10-29 12:42:10 -05:00
Per Henrik Johansen
9f2e1d9786 Fixed payitem bug 2015-10-25 12:41:02 +01:00
graywolf336
ae39ac2cfe Update the pom, dns hasn't updated for the new repo 2015-08-18 09:24:54 -05:00
graywolf336
f9035baa35 More work on javadoc...disable the lint for now
Will be enabled again when I have more time
2015-08-18 09:19:37 -05:00
graywolf336
63b43d1191 Fix javadoc build errors and fix #90
Attempt one at trying to fix the javadoc errors.
2015-08-18 08:49:50 -05:00
graywolf336
65635fe761 Fix the updater failing due to recent changes to the build server 2015-08-15 02:18:11 -05:00
graywolf336
052e124386 Fix not being able to remove a prison, fixes #86
The expired message was never being sent also double the time they have
to confirm anything before it expires. If you're still having problems,
toggle debug to on and then go from there.
2015-07-29 11:05:05 -05:00
graywolf336
0704ed5ce7 Update the Jail distribution repo 2015-07-27 01:23:40 -05:00
graywolf336
b99520b10b Fix long standing bug where extra nodes in data.yml would be created
There was a bug where you would "randomly" get extra nodes in your
data.yml like jailnamecells, this caused problems earlier which was
avoided by not loading invalid jails but now the real issue is fixed and
those extra nodes shouldn't appear again.
2015-07-24 12:31:06 -05:00
graywolf336
9ec7f389db Load/Disable the move protection listener #88
We now load or disable the move protection listener based upon the
config when the plugin is reloaded.
2015-07-23 14:53:30 -05:00
graywolf336
1648c04745 Correct the message in debugging when unjailing
The debug message was set to always say mysql database instead of what
it really was, sqlite or mysql.
2015-07-23 14:31:36 -05:00
graywolf336
890923fca7 Don't use limit with sqlite. Fixes #89
Gives a strange error when using limit with sqlite.
2015-07-23 14:09:55 -05:00
graywolf336
44ce2c7cfe Fix the spacing/line ending on the readme I accidently did. 2015-06-30 16:13:33 -05:00
graywolf336
07938209bb Forgot to save the readme....whoops. 2015-06-30 16:11:48 -05:00
graywolf336
c9696b8671 Update the readme 2015-06-30 16:08:47 -05:00
graywolf336
fec666a6f7 Add tabcomplete to transfer. Closes #77
Finally complete the tab complete on the transfer, fully completes
everything up until now.
2015-06-30 15:09:55 -05:00
graywolf336
c4c2b30820 After transferring update the signs. 2015-06-30 14:27:44 -05:00
graywolf336
2373338770 Fix #83, transfers failing due to various errors
The transfers were failing due to errors. Also fixed an api issue where
the method wasn't very descriptive.
2015-06-30 14:15:35 -05:00
graywolf336
93d8b88bb1 Add a command option to force jailing never played 2015-06-30 12:48:33 -05:00
graywolf336
c22f1ec22d Add tab completion to the jail command #77
Tried to make the tab complete pretty smart, there probably are several
issues with it but first round of testing should be good to go!
2015-06-29 22:46:36 -05:00
graywolf336
a602bf77fe Fix jail check not tab completing online names 2015-06-29 22:44:46 -05:00
graywolf336
3225c6e853 Revert the change to the JailSignsCommand 2015-06-15 09:15:53 -05:00
graywolf336
45a0c79bdd Fix inventory not being stored in chests of a cell 2015-06-12 23:09:08 -05:00
graywolf336
e77cda996e Gotta remember to add command arguments to the tab completion 2015-06-12 22:16:56 -05:00
graywolf336
91e74845a2 Add update to the sign commands, same as refresh. 2015-06-12 22:13:09 -05:00
graywolf336
4c7166251f Add isJailedForever to the prisoner & use it in pay 2015-06-10 16:05:24 -05:00
graywolf336
e598b0c424 Fix #82, don't jail players haven't played before
There is a configuration node which can be set to true to allow this.
2015-06-10 15:59:44 -05:00
graywolf336
312fe5105b Don't throw the async jail exception, we run it sync 2015-06-10 15:31:42 -05:00
graywolf336
806176ca1c Add the missing files, Github for windows missed it 2015-06-05 18:02:02 -05:00
graywolf336
384fa3601b New command for signs, closes #79
A new command for signs. Refreshing them, cleaning them, and verifying
them. Changed up some internal apis, if you were using them sorry for
breaking it. Also, really update the signs when we jail someone who is
offline via a new event.
2015-06-05 18:01:31 -05:00
graywolf336
bd1b3ec04d Update the signs on cells when someone is jailed
This change makes the signs be updated when someone is jailed, no matter
if they're online or not. #68
2015-06-05 10:47:19 -05:00
graywolf336
bcf0a46852 Fix chest being selectable if trapped and regular were next to each other 2015-06-05 10:13:48 -05:00
graywolf336
2e492ebe74 Semantic update on the a util method
The name of the method(s) says the string we are checking goes first, so
make it that way.
2015-06-04 17:18:22 -05:00
graywolf336
176fde313e Remove last test and various changes 2015-06-03 16:39:20 -05:00
graywolf336
24ed74446b Add javadoc to the hasVotedAlready 2015-06-03 16:27:17 -05:00
graywolf336
89f709390a Add api to get the build version of jail
More for future api usage for other plugins, to determine if the running
version has certain features.
2015-06-03 11:59:20 -05:00
graywolf336
68e35ed271 New method to see if a jail has an empty cell 2015-06-03 11:33:37 -05:00
graywolf336
82487805b4 Clear the sign lines before reloading
Wasn't reported yet, but if someone removed a line from the sign the old
one would still show up as we didn't clear the lines before reloading.
2015-06-03 10:40:42 -05:00
graywolf336
b91b54a9fc Don't make the string arrays each tab 2015-06-03 10:01:24 -05:00
graywolf336
1c43951a7c Clean up the getJailsByPrefix method 2015-06-03 09:25:42 -05:00
graywolf336
fd2e69cb77 Broadcast now requires a permission node, fixes #54
The permission node is granted to everyone by default, take it away from
groups you don't want it enabled on: jail.see.broadcast
2015-06-03 00:07:21 -05:00
graywolf336
98e4916a18 Fixed %prettytime% not working on forever time 2015-06-02 23:37:55 -05:00
graywolf336
5393d5556b Sort the cell list before sending them, adds #80 2015-06-02 22:28:15 -05:00
graywolf336
e92ec67ec9 No more async jailing, fixes #73 throws Exception
Added some custom exceptions to be thrown when conditions aren't met.
This might break a lot several things, will test after this build
completes but the unit tests all seemed to run fine.
2015-06-02 22:14:06 -05:00
graywolf336
cfb62eed13 Almost finish tab completion, #77 (see details)
The only commands left to enable tab completion on are:
- jail
- jail transfer
2015-06-02 12:32:34 -05:00
graywolf336
019deea43a More work on tab completion, see details.. #77
Completed:
- Jail check
- jail clear
- jail createcell
- jail deletecell
- Jail list
- jail listcells
- jail mute
2015-06-01 21:14:01 -05:00
graywolf336
73715c3d68 Try to fix an issue with sqlite, should fix #78
Not tested, so can't really tell if it fixes it or not.
2015-05-30 13:55:21 -05:00
graywolf336
d3d4572ca4 First stab at tab complete of jail commands, #77
Right now, the first option of the jail command completes and checks for
proper permission and all that good stuff. Good way to get started with
commands but that's all that has been completed right now.

Plan is that the command interface will get a tabComplete method which
all the classes that implement it will handle. Then if a tabComplete
happens on that command we'll let the command handle it, so the command
handlers don't get cluttered.
2015-05-29 16:56:02 -05:00