Inactive [ADMN/RPG] Jail - Jail bad players

Discussion in 'Inactive/Unsupported Plugins' started by matejdro, Jan 24, 2011.

  1. Offline

    matejdro

    Jail

    This plugins adds Jail to your minecraft server. Admins can define several jails and then jail/unjail people or jail them on time basis. Plugin also offers wide variety of protections, so players won't escape out of your jail.



    See BukkitDev page for more information and download links: http://dev.bukkit.org/server-mods/jail/
    (you can use your minecraft forum username and password on BukkitDev)
     
  2. Offline

    kajo3

    oh missed that permissions.. but why do they need a permissions now to open chests even if they r not in jail?
    anyways it works perfect now. thank you again for this amaaaazing plugin!
     
  3. Offline

    Tealk

    I become this error
    Code:
    org.bukkit.command.CommandException: Unhandled exception executing command 'jailtelein' in plugin Jail v1.2.0
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:287)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:714)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:680)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:673)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:223)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
        at com.matejdro.bukkit.jail.commands.JailTeleInCommand.run(JailTeleInCommand.java:27)
        at com.matejdro.bukkit.jail.commands.BaseCommand.execute(BaseCommand.java:20)
        at com.matejdro.bukkit.jail.Jail.onCommand(Jail.java:220)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    //Edit
    and mysql doesnt run

    And i cant open any chest in the world, all protectet by jail plugin
     
  4. Offline

    GmK

    @matejdro

    I f****** love you man, fantastic new features!
     
  5. Offline

    Maniox

    Okay, now my only problem is the fact that anyone can destroy parts of the prison when in jail, but when i try myself i get the "dont destroy or place blah blah" message.

    But they dont?
    Tried it with some friends and they dont get any errors or anything but we are all OP's too, but i cant destroy anything and its my server too.
     
  6. How do you delete jails?
     
  7. Hey,
    I've had this mod for a while now but I'm still unable to add the jails. I've followed the great installation video time and time again, but when I type in /jailcreate (jailname), nothing happens. It seems to recognise the command but do nothing about it. I am the admin of the server and I'm using the latest Bukkit, latest Minecraft and the latest Jail plugin.
    I think the mod is brilliant and it will work brilliantly, but I still need to overcome this hurdle.

    Thanks, Sam =)
     
  8. Offline

    matejdro

    @xZise so you mean that prisoners are like always sleeping, so minecraft will ignore them? I'm not sure if this is very good idea, since i don't know what things bukkit do when player is sleeping (it could be very messy).

    @kaja3 to prevent random guy from coming in and stealing everything that prisoners had.

    @Tealk use name in lower case until i fix this. Wait, you cannot open any chest, even if they are not in jail?

    @GmK thanks

    @Maniox wait, what? Sorry, i don't understand your problem.

    @dantheawesome_101 /jaildelete command.

    @Samerton permissions?
     
  9. @matejdro I have Permissions installed, but I may not have installed the Jail correctly. I'll see to that now,
    Thanks, Sam =)

    Edit: I don't mean to be a pain, but I was wondering what I need to put into Permissions to get it working properly?
     
  10. Offline

    Maniox

    Nevermind i think i have sorted it out now.
     
  11. Offline

    Tealk

    my mysql data have only name in lower case;
    and yes
    if i set
    CanPrisonerOpenHisChest = true
    into false
    nobody on the server can open chests
    if i have it in true the free player can use there chests
    if it is true i cant show into the chests in jail
     
  12. Offline

    xZise

    What do you mean? If the flag is set, and somebody goes to bed, every player which have this flag will be ignored, if the user is in bed.

    And anything about the multiple inmates in a cell?

    Fabian
     
  13. Offline

    matejdro

    @Tealk weird. I have just double checked the code and It's all right here (only cell chests should be affected). How is with permissions?

    @xZise Um, i do not even get your original request, so excuse me if i blabbed something out.
     
  14. Offline

    xZise

    I tried two cells (b2 and b3) in the same room, where the door has two signs, and when I jail two (me and another) we both are in the same “cell” (b3) and the second is overwriting the sign. I'm using Jail 1.2.0. Even when I'm using two different rooms, we always get jailed in the same cell, but this time the first and not the second cell.

    Fabian
     
  15. Offline

    Tealk

    the permissions is fine
    i have only update your plugin and there this bug
     
  16. @matejdro
    Jail 1.2, CB902

    Prisoners can still break stairs block with stairdrop plugin.
    Prisoners can not use /jailstatus even when having permission node.
    Prisoners end up in same cell destroying old prisoners items in the chest.
    Prisoners get penalty time for opening door even if not listed in config.
    Non-prisoners blasting prison with TNT generates free drops, but jail wont break.
    Non-prisoners can not open their chests outside jail without jail.openchest permission node.
     
  17. Offline

    OscarHerman

    Okay so, I tried this once, fudged up my permissions on the server. Deleted everything and tried again couple of hours later. Server works fine, permissions works fine, managed to create a jail and put the spawn points etc etc.
    Then when I'm finally going to test the jail fully by jailing myself, I get an error saying : "An internal error occurred while attempting to perform this command." I'm a noob at plugins and stuffs like that, so please try to answer so I can understand :p

    While writing this I actually went on my server to try it again AND it worked. I could do /jail oscar
    That's the only "punish" command that works. I could not do /jail oscar (then choose between jails).
    I have two jails and if there's just a command im missing in the text file for all the stuffs, please let me know. All this is confusing this poor little noob.
     
  18. Offline

    gamer1129

    Hey matejdro, this is an awesome plugin. You thought of many things and I especially liked the wolf part of it. But one thing I noticed was, with the Jailpay feature, it only supports one amount. Will you ever make it so I can set different amounts for different jails? That way, I can have a lower amount for lower security jails, and disable it for maximum security jails. Will this ever be implemented?
     
  19. Offline

    Thebuilderdd

    For some reason, when I use this plugin, Permissions turns red when I type "/plugins"
     
  20. For some reason the colors only work on the default prop file that is generated. As soon as i change anything the colors dont work

    I tried all the below combos and still no luck...
    Code:
    MessageJailReason = ?d[Jail] %d You$d are&d jailed!
     
  21. Offline

    thestriker095

    MAJOR ISSUE!!!!

    When I Use This Plugin NO ONE Can Open Chests!!!!!

    Btw Great Idea With Gaurds But I Need Other People To Open Chests!!!

    Thx!
     
  22. Offline

    Junrall

    Sending a player to a cell works a few times, but then after awhile the player doesn't spawn into the cell... he spawns outside of the cell. I have to remove all jails and set everything back up!

    Edit: wanted to add that nothing appears on any of the cell's signs when the above problem happens.
     
  23. Try using the perm node for people that you want to open chest.. like admin and police.

    "jail.openchest"
    Permission to open prisoner's chests. If you are jailed, you cannot open any chest regardless of this permission, unless admin configured it differently.



    If you want the prisoner to open the chest change the config setting below

    CanPrisonerOpenHisChest = True
    By default, prisoners cannot open their chests, since that would kinda ruin the purpose of inventory storage (prevent prisoners from using their items in jail). But if you have role play server, your prisoners are supposed to escape. And when they escape, they don't get their items back. So you can turn this setting on to let prisoners open their own chests and grab their items. Prisoners still need jail.openchest permissions to open chests.


    Hope that helps...
     
  24. Offline

    thestriker095

    its not when people are jailed!!!

    When have the plugin loaded NO ONE can open chests (Like Not Enen The Ones In Their Houses!)
    even if they are not jailed!

    EDIT: Btw I Do NOT Use Permissions As I Highly Dislike The Plugin!
     
  25. Offline

    xZise

    Oh then I'm not the only one who has this issue? Okay the chest think of this I couldn't confirm, as we have no chests (hopefully ^^ so we didn't destroy our inventories)
    Hmmm the other one, said this once, but later (after the jailing experiments) he could access chest.

    Fabian
     
  26. Offline

    Scandragon

    Yes, ceiling and floor were selected.
    All cells were inside the area of the jail..

    There just appears to be too many bugs in this
     
  27. Offline

    Flenix

    Found some bugs, posted them on your github


    Although it doesn't say it anywhere, I think Permissions is required.
    Its not a brilliant plugin but is very useful. I highly dislike worldedit, but we still have it ;) it might be worth just getting it for the default group and giving everyone that node - a lot of plugins rely on it so its always useful to have.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 18, 2016
  28. Offline

    Junrall

    Still having this problem:
    Sending a player to a cell was working but now the player doesn't spawn into the cell... he spawns outside of the cell. Also, nothing appears on any of the cell's signs when the above problem happens.

    Tried setting everything up again (deleted the sqlite files too)... no change. Well, this time, when the player was jailed he was attacked by the dogs. When they had finished with him... they attacked me! "Cujo Part II"
    Any ideas?

    Later I'll install Worldedit... to make sure I'm selecting things correctly and I'll re-read the instructions.
    Though, any guidance will be appreciated.

    One thing I should mention... I am running 860.

    Thanks
     
  29. Offline

    wouter0100

  30. Offline

    blutherz

    Same bug here with "opening" chest since 1.2 jail plugin.
    But i disabled in the option of jail the chest permssion for jailed player.
    and set simple with lwc permsssion on the chests (only lwc group moderator can open my chets in jail)
    works great!

    And everybody can use chets with lwc permissions etc etc
     
  31. Offline

    Thebuilderdd

    Can someone help me with that?
     

Share This Page