Inactive [NOT SUPPORTED] [ADMN/FUN/RPG/SEC] JailLikeHell v5.4.1 - Jail and Torture Players! [1.2.5-R5.0]

Discussion in 'Inactive/Unsupported Plugins' started by Deleted user, Oct 20, 2011.

  1. Offline

    Deleted user

    JailLikeHell - A Fork of SimpleJail!
    Click Here For JailLikeHell On BukkitDev!
    [​IMG]


    JailLikeHell Version: 5.4.1
    Current Downloads: 0+
    Is theplugin Jail too complicated, or are you just looking for a simple jail plugin that tortures jailed players? Well, JailLikeHell is the solution to your problems!
    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 using /jlh setjail. This happens every 10 seconds! The lightning does not do any damage too, so jailed players can't respawn and start griefing/harassing again.
    To use this plugin, you must first select the jail point and the unjail (release) point by using the commands in this plugin (command list is located down below). You can then choose to either protect your jail, or not by using the protection commands in this plugin. Jailing a player will demote a player to the group specified in the config.yml (plugins/JailLikeHell), and unjailing him will promote him back to the player's original group.

    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!
    - Players will get tortured by angry wolves, and will be effected by confusion!

    Jail Effects:


    Notes:
    This plugin needs the following plugins:
    1. Vault
    Recommended:
    1. PermissionsEx or PermissionsBukkit or bPermissions
    I didn't not make these plugins, my plugin just needs 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 to be.
    /jlh setunjail - Set an unjail (release) point! Stand on top of the point yo want the unjail point to be.
    /jlh jailtime - Checks the remaining tempjail time (if tempjailed)
    /jlh wand - Spawns a wand for selecting 2 points with! You can also use it as a jail stick if you want an RPG feeling! Just punch a player with the wand to jail him!
    /jlh protect - Protects the area set!
    /jlh unprotect - Unprotects the area set so you can make modifications!

    Permissions Nodes:
    Note: These permissions nodes only work when using PermissionsBukkit or PermissionEx or bPermissions

    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 (release) 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 feature! Spawn the jail stick by using /jlh wand!

    Installation:
    1. Download and put the latest version of JailLikeHell in your plugins folder.
    2. Add the necessary permissions nodes to your permissions.yml
    3. 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. The jailed group's name should be (with a capital J):
    Jailed
    4. Start your server!
    5. 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:
    1. Spawn a wand using /jlh wand.
    2. Make the jail.
    3. Stand inside the jail, and use /jlh setjail.
    4. Select the two corners where your jail is by left and right-clicking (World-Edit/cuboid style).
    5. Use /jlh protect.
    6. Stand where you want the unjail (release) location to be, and use /jlh setunjail.

    Downloads:
    <Edit by Moderator: Redacted bit url>
    JailLikeHell Source Code
    This plugin uses a TPL license, courtesy of tyzoid. If you'd like to see a copy of the license, look here.
    I changed the download so it'll direct you to bit.ly, then to the Dropbox link so I can track how many downloads I get :D. If you're interested on how many downloads i'm getting, check out <Edit by Moderator: Redacted bit url>
    Older downloads can be found on BukkitDev.

    [​IMG]
    Full plugin statistics can be found here.

    Troubleshooting:
    Here's a list of bugs that you guys might have encountered. I've found solutions for them, and i've put them here for you guys! If the solution still doesn't work, send me a ticket on BukkitDev!

    Error: java.lang.NoClassDefFoundError: net/milkbowl/vault/permission/Permission
    Full error here: http://pastebin.com/XkPYDw3N
    Solution: Download Vault. The link for Vault is at the top of this page. There is no configurations or permissions needed for Vault, just put it in your plugins folder, and start your server!

    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.

    Changelog:
    JailLikeHell v5.4.1:
    - Added permissions node: JailLikeHell.jailstick
    - Added jail stick function to /jlh wand
    - Added more jail effects: Slow breaking, no damage to others
    - Added warning which will trigger when a player attempts to jail a player when there is no jail.

    Older changelogs can be found on the BukkitDev page for this plugin.

    If you'd like to know when a new update is coming out, please follow me!
    <font color="#939393">と(٥ ٥)つ Come now, surely we can be friends. と(٥ ٥)つ</font>

    If you'd like to support JailLikeHell, put this in your signature:
    [​IMG]
    BBCode for it can be found here.

    Credits:
    @ShootToMaim for coding most of this plugin!
    @-_Husky_- for some coding help!
    @H31IX for some coding help, and for a new Jail API!
    @se1by for some coding help!
    @tyzoid for a lot of coding help!
    @imjake9 for making the SimpleJail plugin!

    Any suggestions? Post them here!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Feb 21, 2017
  2. k thx
     
  3. Offline

    sefiam

    Is it possible to make it so that I dont need PermissionsEx?
     
  4. Offline

    Deleted user

    So you want an OP version of this. So like, people who are ops can use /jail + /unjail + /setjail + /setunjail , while people who are NOT ops can only use /jailtime.
    Sure! I'll add it in v1.3.5 since CraftBukkit RB 1.0.0 isn't coming out anytime soon.

    Code:
    inheritance:
    - null
    
    Try adding that into the Jailed group.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
    xJennaMarieMasonx likes this.
  5. Offline

    sefiam

    Thanks :) (so does this mean that jailed players still wont be able to use any commands?)
     
  6. Offline

    Pr0jectConqu3r

    - SimpleJail.jail
    - SimpleJail.unjail

    In my Moderator Rank. Yet Mods can NOT jail anyone. Help? I use PEX
     
  7. Offline

    Deleted user

    Post your permissions.txt please.

    Jailed players can use the commands you give them.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
    xJennaMarieMasonx likes this.
  8. Offline

    Pr0jectConqu3r

    Here is the entire .txt, just incase the error is in another group somehow.
    Thanks!
    Show Spoiler
    groups:
    Guest:
    prefix: '&f[&8Guest&f]'
    default: true
    permissions:
    - mcmmo.ability.*
    - mcmmo.skills.*
    - commandbook.spawn
    - commandbook.rules
    - commandbook.motd
    - commandbook.home.teleport
    - commandbook.home.set
    - lwc.protect
    - iConomy.holdings
    - -iConomy.accounts.*
    - commandbook.kit.list
    - commandbook.kit.kits.starter
    - commandbook.call
    - ChestShop.shop.sell
    - ChestShop.shop.buy
    - xwarp.warp.sign.to.*
    - xwarp.warp.to.*
    Jailed:
    prefix: '&f[&8Jailed&f]'
    permissions:
    - null
    Member:
    prefix: '&f[&3Member&f]'
    inheritance:
    - Guest
    permissions:
    - commandbook.who
    - commandbook.msg
    Donator:
    prefix: '&f[&eDonator&f]'
    inheritance:
    - Member
    permissions:
    - commandbook.kit.kits.tools
    - commandbook.kit.kits.food
    - expra.death.loss
    - expra.award.*
    Builder:
    prefix: '&f[&6Builder&f]'
    inheritance:
    - Donator
    permissions:
    - nocheat.checks.moving.*
    - ChestShop.shop.create
    - xwarp.warp.create.public
    - xwarp.warp.create.private
    - xwarp.warp.edit.invite.add
    - xwarp.warp.edit.delete
    Premium:
    prefix: '&f[&5Premium&f]'
    inheritance:
    - Builder
    permissions:
    - commandbook.give
    - commandbook.kit.kits.essentials
    Trial-Mod:
    prefix: '&f[&1Trial-Mod&f]'
    inheritance:
    - Builder
    permissions:
    - SimpleJail.jail
    - SimpleJail.unjail
    - commandbook.mute
    - logblock.lookup
    - logblock.spawnTools
    - logblock.tools.tool
    - logblock.tools.toolblock
    Moderator:
    prefix: '&f[&1Moderator&f]'
    inheritance:
    - Trial-Mod
    permissions:
    - commandbook.give
    - worldguard.god
    - worldguard.heal
    - worldguard.region.select.*
    - worldedit.wand
    - worldedit.navigation.up
    - logblock.rollback
    - mcbans.*
    Admin:
    prefix: '&f[&4Admin&f]'
    permissions:
    - '*'
    Dr.FieldMedic:
    prefix: '&f[&aDr.FieldMedic&f]'
    inheritance:
    - Member
    permissions:
    - commandbook.who
    DeadHead:
    prefix: '&f[&aDeadHead&f]'
    inheritance:
    - Premium
    permissions:
    - commandbook.who
    users:
    Pr0jectConqu3r:
    group:
    - Admin
    "More users etc."
     
  9. Offline

    Deleted user

    Let's focus on your jailed group.
    Code:
    Jailed:
             prefix: '&f[&8Jailed&f]'
             permissions:
             - null
    
    Change it to:
    Code:
    Jailed:
             prefix: '&f[&8Jailed&f]'
             permissions:
             -
    inheritance:
    -null:
    
    See if that helps.
     
    xJennaMarieMasonx likes this.
  10. Offline

    Pr0jectConqu3r

    As Admin, i can jail people. But the Moderator and Trial-Mod rank still can not.
     
  11. Offline

    Deleted user

    Woops, i'm sorry sir xD
    Umm let's see.
    1. You didn't include inheritance's.
    Code:
    groups:
         Jailed:
             prefix: '&f[&8Jailed&f]'
             permissions:
             - null
    
         Trial-Mod:
             prefix: '&f[&1Trial-Mod&f]'
             inheritance:
             - Builder
             permissions:
             - SimpleJail.jail
             - SimpleJail.unjail
             - commandbook.mute
             - logblock.lookup
             - logblock.spawnTools
             - logblock.tools.tool
             - logblock.tools.toolblock
    
         Moderator:
             prefix: '&f[&1Moderator&f]'
             inheritance:
             - Trial-Mod
             permissions:
             - commandbook.give
             - worldguard.god
             - worldguard.heal
             - worldguard.region.select.*
             - worldedit.wand
             - worldedit.navigation.up
             - logblock.rollback
             - mcbans.*
    
         Admin:
             prefix: '&f[&4Admin&f]'
             permissions:
             - '*'
    
    Try adding an inheritance to your Admin rank:
    Code:
    inheritance:
    - Moderator
    
    I'll take a more detailed look later, right now i'm in class.
     
    xJennaMarieMasonx likes this.
  12. Offline

    Deleted user

    You need to add more DETAIL to your permissions nodes!
    Code:
    - SimpleJail.jail: true
    - SimpleJail.unjail: true
     
    xJennaMarieMasonx likes this.
  13. Offline

    Pr0jectConqu3r

    does the true and false suffixes work for all nodes in PEX? and should i add the : true to the end of all my nodes?
     
  14. Offline

    Deleted user

    Kind of.
    - SimpleJail.jail: true
    - SimpleJail.unjail: true
    - SimpleJail.setjail: true
    - SimpleJail.jailtime: true OR - SimpleJail.jailtime: false
    - SimpleJail.*: true

    The reason for the true/false thing for the permissions node for jailtime is because it defaults for everyone.
    Everyone can use jailtime if you aren't using any permissions plugins.
     
    xJennaMarieMasonx likes this.
  15. Offline

    Deleted user

    This is it guys! The moment you have been waiting for!

    @Buckethead @Pr0jectConqu3r @kahlilnc

    JailLikeHell v1.3.5 is now officially OUT! Get the download on the original post!
    Information regarding this update is in the original post! Just click on the spoiler!
    Once again, thank you all for using my plugin!

    In this update:
    1. I've added jail protection.
    2. I've fixed some minor bugs regarding PermissionsEx.

    Yes, you should add
    Code:
    :true
    to the end of all your nodes.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
    kahlilnc likes this.
  16. Offline

    Buckethead

    1597 with ur new build. this happen whenever anyone logs in.
    Code:
    11:08:36 [INFO] Whitelist: Player JudasRose is trying to join...
    11:08:36 [INFO] allow!
    11:08:36 [INFO] JudasRose [/127.0.0.1:49780] logged in with entity id 365 at ([N
    ew] 0.125, 72.0, 273.59375)
    11:08:36 [SEVERE] Could not pass event PLAYER_JOIN to JailLikeHell
    java.lang.Error: Unresolved compilation problems:
            The constructor Object(Player) is undefined
            val$player cannot be resolved or is not a field
            val$player cannot be resolved or is not a field
    
            at com.imjake9.simplejail.SimpleJailPlayerListener.onPlayerJoin(SimpleJa
    ilPlayerListener.java:153)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:265)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:339)
            at net.minecraft.server.ServerConfigurationManager.c(ServerConfiguration
    Manager.java:129)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:113)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:80)
            at net.minecraft.server.Packet1Login.a(SourceFile:59)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:46)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    11:08:36 [INFO] [LockIP] Matched IP 127.0.0.1 for player judasrose
    edit: and then also once loged in every action such as hitting a block repeats the sam error
     
  17. Offline

    Deleted user

    I'll fix it right now.
    Could you also test all the other commands? Thanks.
     
    xJennaMarieMasonx likes this.
  18. Offline

    Buckethead

    cant use any commads for it. just says see /jlh help or unknown commands

    plz say when fixed ty though :>

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  19. Offline

    Deleted user

    What happens when you use /jlh help?

    Will do. I've removed the download, as it is too unstable to release right now.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
    xJennaMarieMasonx likes this.
  20. Offline

    Buckethead

    ok and lol when i jlh help it says see /jlh help :p

    also will ,jail node include jailing people for an anount of time?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  21. Offline

    Deleted user

    Yes. JailLikeHell.jail will include jailing people for an amount of time.
     
    xJennaMarieMasonx likes this.
  22. Offline

    Noblauch

    Hi, I was searching very hard for a Plugin like this! Okay, it isn't working now on 1.0.1 so I installed the preversion of this Plugin. It's just what I need and my hope was, that my search would find an end now.. but:
    If the Jailed Player doesn't have to be online, the Plugin and all that other Jail Plugins out there are useless.. Its the same like /tempban + the RPG Style escape function.. But if sbd. gets jailed for lets say 2 hours, his thought would be "okay, i'm going to eat some icecream and watch porn and in 2 hours I'll be back".
    Thats not what all serveradmins want.. We want, that the time is just running down if the client is online.. and of course the server/ bukkit has an output for Client leave/ join, we see that everytime a player joins or leaves.
    So, if you could implement that, it would pleased my ass off :D (May to switch in the config?)
    And if not, tell me if its impossible for any reason :S

    Noblauch
     
  23. Offline

    Deleted user

    I don't really get your request...
    So you want /jail [time] to only count down if the player is online. If the player is offline, the timer stops, and continues when he/she comes back on is that correct?

    The fix for the new build will be coming out approximately 7 days after Christmas.
    I'm sorry for the delay, but i've got tests coming up, and I have to study, study, study.
    Use JailLikeHell v1.2.1 for now.
    Once again, I am very sorry for this delay.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
    xJennaMarieMasonx likes this.
  24. Offline

    Noblauch

    Yes! Thats exactly what I mean! :) This would be so great.. other possibilities would be to let the "jailed" player punch through some obsidian (of course the player must be online for that) but who defines his permissions group when he gets out? This would only be the last compromise..
    But that's what I mean: player is online (timer runs down) player leaves the server (timer stops). That would give a Jail-Plugin much more sense ;) It would be so great if you would be the first who makes a plugin like that. Hope you can do that ;)

    Noblauch
     
  25. Offline

    Deleted user

    I will add this feature to the to-do list. It is the third-highest priority right now.
    Thank you for the suggestion ;P.
     
    xJennaMarieMasonx likes this.
  26. Is there a way to make it so when you jail creative mode players, it takes away creative mode? I have my jailed group permissions set to only be able to chat/sprint/sleep but they can just break right through the wall and leave. Anyone else run into this issue?
     
  27. Offline

    Deleted user

    Sure thing! I'll add it to the to-do list.
     
    xJennaMarieMasonx likes this.
  28. Offline

    Buckethead

    no cuz i set mine to survival and if u have perms u should disallow ability for people to switch modes. there are plugins for this as well
     
    Deleted user likes this.
  29. Offline

    Deleted user

    The fix for JailLikeHell v1.3.5 should be coming out soon... stay tuned!
     
    xJennaMarieMasonx likes this.
  30. "- Set a player's mode to survival when jailed."

    chance of this being in the next update? Anxiously awaiting!
     
  31. Offline

    Deleted user

    Alright... I'll put it in the v1.3.5 update.
    WOW. The v1.3.5 update is going to be HUGE now.

    I'll rush the update for you though.
     
    xJennaMarieMasonx likes this.

Share This Page