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.
Love the plugin! We've been using it for a while and it's great. If I could ask of one option though. We would like to disable the warp to jail of jailed players.
We allow them a world to roam and pay off their debt. When they earn enough money in the jailed world they can use a portal that takes them back to the real world. There in the holding cell they wait for a staff member to release them.
Currently if they log out they will warp back to the jail in point which we would like to disable. Right now we have a sign that says wait for staff to be waiting so they don't spend the credits and we can prove they "redeemed" themselves.
Thanks!
@BONNe1704
Version 0.42 has your requested feature and has been submitted for approval.
Config option is warpAllOnJoin. The default is false.
Also, added an ignore permission node in case you needed it. Players with the following permission will not be warped on join: KarmicJail.warp.joinignore
If it is not available on BukkitDev, you may also find it on GitHub: https://github.com/Mitsugaru/KarmicJail/downloads
Yes , i mean that :D Sorry for my bad language :D
@BONNe1704
...So... Let me get this straight:
You want an option in the config that warps ANY player, jailed or not, to the jail location when they join the server? o.O
I mean, I can do it, that's easy. I just want to make sure we're on the same page.
@Mitsugaru
@Mitsugaru
You add jailwarp event on joining game :) I mean about that teleport :D
@BONNe1704
A jailed player, when joining the server, should be automatically jailed.
Not sure what you mean...
Ok, plugins work correctly, no more bugs and all is nice :D
But could you add in config setting for Jailing when join game (4.1) so server holder can change time when it happens...
@Mitsugaru
no, i dont use multiverse, and it happend only 2 times with 2 different players (in last two days) so maybe it isnt important...
@BONNe1704
Is this happening for all players? Or for this specific player?
EDIT: Also, do you happen to use multiverse?
EDIT 2: I've made a delayed task to warp a player on login if they're jailed (as opposed to teleporting them on event). Test this version and let me know how it goes: https://github.com/Mitsugaru/KarmicJail/downloads
PASTEBIN
Hmm, i get error when player joins the game, and when he was sent to jail, while offline
@Popsijona
Thanks for your support. :D
If you haven't already, please vote in the poll on the future direction of the plugin.
Cool :D i like how it works… Really cool :)*
@BONNe1704
I've just submitted version 0.4 for approval.
You can grab it on GitHub here: https://github.com/Mitsugaru/KarmicJail/downloads
If you use any of the following plugins, update them as well due to this internal library change:
Also, thanks for waiting. The overhaul was a lot of work and a lot of major changes to how things work / flow. Honestly, I feel a lot more comfortable with it now that its more like my style than me tacking on functions to someone else's stuff.
And I'm pretty sure it was worth the wait due to the major additions, such as inventory management and jail history. Plus, with the refactor, I can extend this plugin rather easily (depending on what's being added).
@Mitsugaru
Atlast :D
I was waiting for it so long ;D
I already install this plugin and i like update 0.4
@watarimon
Yeah... this is why I shouldn't code while being brain dead... Thanks for bringing it to my attention as I'd have probably missed it.
Right now, I have been rewriting most of the plugin and in the middle of adding new functionality. I'm adding inventory viewing and modification, jail history / player commenting, and teleport to last location of jailed player. All this for moving the plugin to a beta milestone of version 0.4.
Just so that you know why I can do an immediate bug fix release as I would normally do.
Update: Almost everything is ready to go. Only two things left to do:
I probably would have gotten further if InventoryView actually worked and if I didn't waste time on a class that overrides inventory, doing the logic for that, and then finding out I couldnt' use it. <.<
Anyways, I plan on releasing this early this week, hopefully. If I'm lucky, I'll even have it tomorrow.
Night all.
When a inprisoned player joins the server the chat says:
"watar for griefer" and nothing else. PLAYERNAME for REASON
Shouldn't it say something like "Playername is currently in jail for Reason." ?
@BONNe1704
Sorry, I had been so busy working on my latest plugin Karmiconomy. Now that the alpha was released, I'll work on getting inventory out this weekend.
Could you add ClearInventory on Jail to next realese?
Thanks for quick fix :)
@watarimon
Sorry, that log message was for debugging purposes. New version has been submitted and hides the messages unless enabled in the config.yml.
Can be found on BukkitDev when it is approved or on GitHub: https://github.com/Mitsugaru/KarmicJail/downloads