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.
@Juelz0312
Multiple jails has been in development... Just been busy with work.
@IvViral
Command whitelist code is there, just haven't made hooks for it yet.
IMPORTANT: Currently, if you use KarmicJail's functionality to store a players inventory when they are jailed, when they are unjailed all additional data on books and potions are lost! This means that potions turn into water bottles, and books are made blank. I've talked to Mitsugaru, and he's waiting for a proper API for books for the book fix.
@Juelz0312 & Kombains: KarmicJail teleports the player to set coordinates when jailed. Since you can deny world modify rights to jailed players, it has no need for a jail region. All you need is an inescapable room.
@Juelz0312
Same question here.
Does this plugin support stuff like jail cells? Or is the jail just One room? I made a jail just for the "Jail" plugin but that got outdated. So Im wondering If I have to get rid of the cells in my jail for this plugin?
Please consider adding an option to "silence" the jail area. Meaning anyone in the area of the jail would be prevented from talking. But not prevented from using commands like /info jail.
@JonCrisX
If i can, I'll look into it at some point.
I found an error or a bug, i dont know if its just me but when i jail someone, lets say 5minutes, that person never gets unjailed it always says something like this: About less than a minute remaining.
@Adzwoolly
Sorry for the late reply. I'll consider adding it in when I have the time.
How about a stick to jail people- like a truncheon
@No1Griffster
Wow... how long have you been holding onto that idea? :P
I think I've seen a few plugins that do parts of what you've asked for... although, nothing that wraps it all up into one cohesive plugin.
I might consider making it a separate plugin if you wanted? Heck, then the jail could then be a configurable command. One that would work with any jail system... What do you think?
To be honest, IDK when I'd actually start on it though... D: As much as I want to take a stab at it, I do have other plugins to work on... However, if/when I do work on it, I'll be sure to let you know.
@BONNe1704
Well, there are two ways to tackle this:
1) IF the plugins have events that I can listen to... then I may be able to create listener hooks and allow you to do what you ask from a configurable threshold or something. 2) But if they don't have events, then it'd be up to the other plugin dev(s) to add jail support.
I'll try and do some research at some point.
Have somebody figure out how to use Jail command into NoCheatPlus or AntiCheat plugins, so players will be jailed automaticly if they are hacking :)
@No1Griffster
Really cool idea :)
A idea: Do a complete Law plugin with configurable offences and times. A ticket is sent to police/admin who come to the scene. Once a ticket is created about another player they cannot teleport to get away from the police. Once the police/admin have arrested the player they are sent to court. A court with judges (admin or mod maybe) and jury (normal players to decide verdict) where jury are picked at random by server and teleported to the court without any choice. Do a bail system where the accused can be let bail on certain condictions (like if hes suspected of griefing - block him from building) or deny bail and keep him in custody. If he is proven guilty and sentenced by the judges he will be sent to jail.
I have a MC law and rules .txt if you want that for sentences - Just PM me. Goodluck.
@Mitsugaru
ok, it was only suggestion from me :) Delete database is stupid, because users, who was in jail, still get that group, what they had....
But if you add unjail all, it will be good and usefulll future :)
@maddpoop243
@BONNe1704
Well, when you do that, you'd also lose out your jail history / inventory entries as well...
I mean, is it important to have such a feature to release everyone? It wouldn't be difficult to add if you really need it.
@maddpoop243
delete database and reload plugin :D
@maddpoop243
Clear the jailed list? You mean release everyone from jail? o.O
Ok i have a question on how to do something well we have jailed alot of players but how do i clear the JList?
@Maddog243
I replied to you via email as requested. But to reiterate here as well:
You mean even for players that are not jailed? I don't see how this is possible as it only checks if its enabled in the config, they're online, in the cache, and if they have been muted. Aside from that, it doesn't touch the chat.
Yes i have 1 problem with this plugin when i installed it it doesent let my other players Speak Globally can u contact me back at [email protected]