KarmicJail
KarmicJail
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
About
This plugin is a fork of imjake9's SimpleJail plugin. It was made because our server needed a new Jail system to replace the defective one that was implemented in the past. While other jail systems were simple and lightweight, they were not nearly as featured as we were used to or wouldn't support our scope. For instance, at the time we had about 190 old entries of jailed players in a MySQL database and we wanted to transfer those over to whatever new system we woud use. Thus, KarmicJail was made, for Mine-RP.
Features
- Simple, single jail system.
- Uses MySQL / SQLite database for storage.
- Look up and page through current jail records.
- Complete history of every jailed player.
- Records each instance a player gets jailed, with all attached info, such as who jailed them, the reason, date, etc.
- Can add custom comments to any player's record.
- Optional permission group modification
- Optional jailed player event / interaction denial
- Persistent jail time. Players need to be online to actually serve their time in jail.
- Quick alias to commands
- Name auto-complete for online players.
- Auto-correct name capitalization for online and offline players, so long as they have visited the server at least once.
- Ex/ Try to jail player "HaXXoR", the following command would work: /j haxxor
- Offline player support.
- Optional inventory management of jailed players.
- Clear the jailed player's inventory so that they don't have access to it in jail.
- View and modify the inventory of a jailed player.
- Return inventory (with modifications if any) to jailed player on release (or not :P).
- Jail multiple people in one command.
- Teleport to the last known location of any player to ever visit the server.
- Warp players to the jail location without "jailing" them.
- Custom jail event for other plugins.
This plugin depends on Vault.
Also requires SQLibrary for SQLite and MySQL.
Commands and Permissions
Configuration
Custom events for plugin developers
TODO:
- ??? - Vote/comment and shape what the future update for the plugin should be.
Maven
This plugin supports Maven. Just add our repository:
<repository> <id>dakani</id> <name>Dakani Nexus Repo</name> <url>http://repo.dakanilabs.com/content/repositories/public</url> </repository>
And add KarmicJail as a dependency:
<dependency> <groupId>com.mitsugaru</groupId> <artifactId>KarmicJail</artifactId> <version>0.443</version> </dependency>
Trello Dev board
Visit the Trello board to see the current todo list for all projects.
You can comment and vote on any of the topics there.
All changes on the Trello board are in real-time.
If this plugin has helped you, please consider donating.
Great little plugin. Works just like I'd hoped! (And fixes my gripes with SimpleJail)
@WingedSpear
Well, I just submitted an update... except it was for PEX... not much new though.
bPermissions should work, but I haven't really tested it...
Lastly, I'll be moving this up to Beta once I get in MySQL support for v0.3 some point in the future.
@Mitsugaru
Nvm about GM, im not talking about groupmanager anymore, i really love it but till vault support it i have to move from PEX to bPermissions, sadly, PEX is the only permission plugin that causes buggs to the plugins, i has to leave Jobs cuz of PEX -.- (my players hated me cuz i turned Jobs off cuz PEX its having troubles with it, look: http://dev.bukkit.org/server-mods/jobs/tickets/?search=PermissionsEX+&status=+ , and its not just Jobs, too many plugins have troubles with PEX, that why i hate it)
Well sorry for pushing u, its just i dont have a jail plugin right now, i has to remove karmicjail cuz it has too many bugs, the prisioners go out without their rank and thats a huge problem, im gonna wait...good luck
@WingedSpear
I will try and update today. Please realize that I can't he as fast with updating as I used to be as I'm focusing on my classes and my Capstone project.
As for permission systems... I'm not much of a fan of bPermissions. While it has its merits, I'm more comfortable with PEX.
Have you had a look at PermissionsBukkit? That one should work well with KarmicJail as well.
And I'm actually in agreement with Sleaker : Not a fan of GM. IDK how well it works, as an admin, but as a dev it has caused me nothing but trouble. :\
What will end up happening is that I'll have to use plugin specific API to manage user groups.
I'll start on it sometime at noon-ish.
@Mitsugaru
Man...i beg u, plz update this plugin u_u, imjakes9 hated my idea about adding Persistent jail time, and i really LOVE that feature, i think is awesome, this is the only jail plugin for that, if u make it work im gonna add a banner of ur pluggin to my signature of the forums, is an awesome plugin but its too buggy...i cant left the server if jailed players gonna keep their Jail rank after going out...
@Mitsugaru
Its not ur fault, Vault dont want to support GroupManager, the developer say GM its to hard to handle, but the developers of GM say its easy but Vault dev dont want to support em...sadly cuz i LOVE groupmanager, im really mad at Sleaker, he should support GM -.-, im gonna push hem a little bit for support em, while that im gonna try to move my permissions to bPermissions....
@WingedSpear
Well, GroupManager has always been iffy with anything I've tried :\
I will look into seeing if I can improve on PEX, PermissionsBukkit (though that is probably already fixed), and bPermissions in regards to player group modification.
I'll work on it some time today.
@Mitsugaru
i has PEX, i moved from PEX to GroupManager now and its not working KarmicJail, the players dont are moved from rank
With PEX it happen too many times, also some times, like that happen every 2 players from 3 jailed ones..
@WingedSpear
First, what permissions plugin are you using?
Second, how often is it occurring? For every player, or only on random instances?
@Mitsugaru
can u update the plugin? im having problems with the rank, ppl go out with the Jail rank u_u
@WingedSpear
Hmm... Well, I can try and look into adding in a list that disables commands while jailed...
Although honestly, that is something that the permissions system is supposed to do for me :\
Ur right, it SHOULD, but dont xd, ppl is still able to use f home at jail, i made both, white list and permissions but dont work, well i already left a sign in the jail, if they go out ill BAN em, anyway, its a rly nice plugin, i like it cuz ppl have to be online inside the jail =P
@WingedSpear
Uh, does f home not have a permission node? o.O I don't have much experience with Factions...
If the Jailed group somehow has access to the f home command or permission node, then IDK what to do...
An alternative is to make a whitelist with the region, use allowed-cmds flag and specify commands that you want the jail to have. That will disable all other commands while in the region.
Oh thx, its working now, but now, ur able to cancel the f home? (factions), i made a region with that command blocked and ppl is still able to use f home, have no sense =/, look like factions ignore any permission
@WingedSpear
Try this version:
https://github.com/Mitsugaru/KarmicJail/downloads
And once again, if they do not respawn in the jail location, then it is a plugin conflict that I cannot fix. Especially considering that it is now set to the highest priority. :\ You'll need to find the offending plugin and talk to the dev to see if they will change their priority.
@WingedSpear
Actually, no, they do respawn at the jail location when they die. The listener and code is there.
More than likely, this is a plugin conflict and you have something else resetting their respawn, and it has priority over KarmicJail.
Currently, the priority is set to High. While I can set it to Highest, if it still happens, then there's really nothing that I can do. I'll push an update and update this post with a link. Let me know if it gets fixed using the new version..
Mmm huge bug, when ppl die, they spawn in their last position, not inside the jail =/, plz fix, my jail was PVP, now i force ppl to be inmortal cuz of that
@Forecaster71
Can you try this snapshot of v0.29:
https://github.com/Mitsugaru/KarmicJail/downloads
If it still occurs, or if its fixed, please let me know.
Right now, I'm thinking it has to do with my SQL database handler library... I made some adjustments to fix some bad practices in it (via FindBugs). If it doesn't fix the issue, then I may just need to rewrite the SQL library to be more bulletproof.
Its interesting that its only happening on KarmicJail but not on my other plugin that utilizes this library, KarmicShare...
@Forecaster71
I take it that the latest versions don't resolve the issue? :\
Hmm, I honestly can't seem to figure out where/why that is happening for you. I've rechecked all my methods. I'm not doing any SQL commands while a ResultSet object is open.
Can you make a ticket regarding the issue, so to remind me. Put as much info as possible.
Any news on the sql issue?
I'd really like to use this plugin, but when it crashes the server I can't D: