JailLikeHell
JailLikeHell - Make Those Griefers Suffer!
JailLikeHell on the Bukkit Forums!
JailLikeHell Version: 5.4.1
Current Downloads: Click Here!
JailLikeHell is a fork of the plugin SimpleJail. It has more commands, and more functions than SimpleJail, as well as Jail Protection, so prisoners cannot break out! The jail is also targeted by lightning when set (every 10 seconds)!
Features
- Easy Customization
- Use /jlh setjail and /jlh setunjail to easily set the two jail and unjail locations!
- Players' initial groups are saved, so a normal jailed player will revert to a normal rank when unjailed, and a player with the VIP class will revert to the VIP class
- Set the group that jailed players will be demoted to in the config file
- Multiworld support!
- Jail protection!
- Jail will get hit by lightning every 10 seconds!
- Spawn a jail stick for a RPG feeling!
Plugin Dependencies (Needed plugins/programs)
This plugin needs the following plugins:
- I did not make Vault, my plugin just needs it.
Recommended plugins to go with JailLikeHell:
- I didn't not make the permissions plugins above, my plugin just needs one of them.
Commands
Note: These commands are for JailLikeHell v4.1.2 and higher. For the command list for JailLikeHell v1.2.1 and down (for CraftBukkit <1337), please refer to the BukkitDev page for this plugin (link is in the top of this thread).
[] = Needed <> = Optional
- /jlh info - Shows all JailLikeHell related commands.
- /jlh jail [player] <time> - Jails a player! Do not enter the time if you want that player to be permanently jailed!
- /jlh unjail [player] - Unjails a player!
- /jlh setjail - Sets a jail point! Stand on top of the point you want the jail location to be.
- /jlh setunjail - Sets an unjail (release) point! Stand on top of the point you want the unjail location to be.
- /jlh jailtime - Checks the remaining tempjail time (if tempjailed)
- /jlh wand - Spawns a wand for selecting 2 points!
- /jlh protect - Protects the area set!
- /jlh unprotect - Unprotects the area set so you can make modifications!
Permissions Nodes
- JailLikeHell.jail - Allows a player to jail another player!
- JailLikeHell.unjail - Allows a player to unjail (release) another player!
- JailLikeHell.protect - Allows a player to protect an area set!
- JailLikeHell.unprotect - Allows a player to unprotect an area set!
- JailLikeHell.info - Allows a player to access the /jlh info command!
- JailLikeHell.wand - Allows a player to spawn a wand!
- JailLikeHell.setjail - Allows a player to set the jail point, and set the unjail point!
- JailLikeHell.jailtime - Allows a player to check the remaining tempjail time (if tempjailed)!
- JailLikeHell.bypassProtection - Allows a player to bypass the Jail Protection!
- JailLikeHell.jailstick - Allows a player to use the jail stick function of /jlh wand!
Installation
- Download and put the latest version of JailLikeHell in your plugins folder.
- Add the necessary permissions nodes to your permissions.yml
- Make a jailed group. This will be the group prisoners will be transferred to when jailed. When unjailed, they will be transferred to their original group again. Give your jailed group the permissions nodes you want your prisoners to have. I suggest: permissions.build: false. This will allow players to not be able to build.
- Start/restart your server!
- Remember to check back here once in a while to update JailLikeHell!
- Note: If you really, really want your Jailed group to be named something else, change the jailed group name in the config.yml located in the JailLikeHell folder (plugins/JailLikeHell).
Making a Jail
- Spawn a wand using /jlh wand.
- Make the jail.
- Stand inside the jail, and use /jlh setjail.
- Select two points by left and right-clicking. Left and right-click the 2 corners of your jail (World-Edit/cuboid style), and then use /jlh protect.
- Stand where you want the unjail (release) location to be. Use /jlh setunjail.
Troubleshooting
Please visit the Troubleshooting page for this plugin!
Plugin Conflicts
- SimpleJail
- Jail
- Remove these plugins if you'd like to use JailLikeHell. These plugins already have jailing features, and will interfere with JailLikeHell. Older changelogs can be found when downloading the most recent file of JailLikeHell.
How do I use the protection for JailLikeHell?
Good question. Check out the "How to make your jail protected" page of this plugin.
Plugin License
This plugin uses a TPL license, courtesy of @tyzoid. If you'd like to see a copy of the license, check it out here!
Forums
If you, for some reason, dislike forums.bukkit.org, i've opened a forums on this page! Just click the "Forum" tab at the top, and you can post here! I've added a Server Advertising thread where you can advertise your JailLikeHell server!
If you'd like to know when a new update is coming out, please follow me on the forums!
- と(٥ ٥)つ Come now, surely we can be friends. と(٥ ٥)つ
- Full plugin statistics can be found here!
If you'd like to support JailLikeHell, put this in your signature:
- BBCode for this picture can be found here.
Credits
- @ShootToMaim for being the main author of this plugin!
- @tyzoid for being another author!
- @-_Husky_- for some coding help!
- @H31IX for some coding help, and for a new Jail API!
- @se1by for some coding help!
- @imjake9 for making the SimpleJail plugin!
@BioRage
Just chatted with Tyzoid, and it seems like it happened because a jailed player attempted to destroy an unprotected block of your jail... Weird. I'll take a closer look at that tomorrow, sorry.
@BioRage
How did you get it?
Getting a weird error, here.
http://pastebin.com/UnxTuFYi
@stgram
1. That'll depend on tyzoid, I have no idea on how to implement MySQL support. 2. I'll add that in the next version. 3. I probably won't add that because many users have actually wanted it so that the jail time would pass only when a player is online. 4. No it doesn't. JailLikeHell has it's own jail command (/jlh jail) while Essentials has theirs (/jail).
@Tyndser
Either downgrade from Java 7 to Java 6, or upgrade for Java <5 to Java 6.
1. Please add MySQL support, so I can write a simple php script to show the jailed on the server's website. Also, MySQL is always better than a file. :)
2. Add a -reason- to the jail, so the chat wont get spammed "WHY DAFUQ AM I JAILED OMG!!!", as well as a message, sent to the player regularly, about the reason and the time left.
3. An option to select whether the jail time would pass when a player is offline could be useful, although am I myself in doubt about that one.
4. Does this work with the Essentials' system? I know they have a jail-thingy too, would it conflict?
How to fix? craftbukkit-1.2.5-R1.3-MCPC-SNAPSHOT-93
2012-05-24 19:33:42 [SEVERE] Could not load 'plugins\JailLikeHell_v5.4.1.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: code/shoottomaim/JLH : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:150) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:310) at forge.bukkit.ForgePluginManager.loadPlugin(ForgePluginManager.java:55) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:231) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:219) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:195) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:160) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.UnsupportedClassVersionError: code/shoottomaim/JLH : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:139) ... 9 more
There was a small bug with JailLikeHell v5.4.1. No worries, I deleted the file and re-uploaded it. Thank you for your patience and cooperation!
@erdrickk
Set a jail location first! /jlh setjail Don't forget to set an unjail location as well! /jlh setunjail
Getting this error with the latest bukkit + your latest plugin
2012-05-20 21:57:36 [SEVERE] Could not pass event PlayerInteractEvent to JailLikeHell
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459)
at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177)
at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:94)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:537)
at net.minecraft.server.Packet14BlockDig.handle(SourceFile:43)
at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113)
at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:558)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:450)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:492)
Caused by: java.lang.NullPointerException
at code.shoottomaim.JL.isProtected(JL.java:100)
at code.shoottomaim.JL.onPlayerInteract(JL.java:68)
at sun.reflect.GeneratedMethodAccessor112.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
... 12 more
@Scotlock
Thank you for reminding me! I've added the permissions nodes to the list.
Greetings, how come there is no permissions for the jail commands? such as if, i wanted to give my admins the permission to /jail players, but not my moderators, maybe i'm just blind, but i'm not seeing it, any help, or future addition?
Just added forums :). Check them out!
@ftbastler
Good idea, i'll add that today.
@ShootToMaim
Add some potion effects to the player? f.e. Blindness and Confusion
@samuelvisser
I get the folowing startup error:
2012-04-30 21:36:18 [SEVERE] Could not load 'plugins/JailLikeHell v4.1.9.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: code/husky/JLH : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:150) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:53) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.UnsupportedClassVersionError: code/husky/JLH : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:634) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:277) at java.net.URLClassLoader.access$000(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:212) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(ClassLoader.java:321) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:264) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:139) ... 8 more
Can you help me?
Update: April 24, 2012 JailLikeHell v4.1.9:
@james5300
Check the Troubleshooting page for this plugin.
i get this error!
10:38:57 [SCHWERWIEGEND] Could not load 'plugins\JailLikeHell_v4.1.7.jar' in fol der 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError : code/husky/JLH : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:150) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager. java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager .java:230) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:207) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:183) at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur ationManager.java:53) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:156) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.UnsupportedClassVersionError: code/husky/JLH : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:41) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader. java:29) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:139) ... 8 more