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

    GmK

    Damn, I need v 1.2 again, anywhere I can get it?

    Updated to 1.2.1 without being on b928 (only b921) and it SPAMS my console to hell

    Code:
    2011-06-25 16:56:35 [SEVERE] Could not pass event PLAYER_MOVE to Jail
    2011-06-25 16:56:35 [SEVERE] Could not pass event PLAYER_MOVE to Jail
    2011-06-25 16:56:35 [SEVERE] Could not pass event PLAYER_MOVE to Jail
    2011-06-25 16:56:35 [SEVERE] Could not pass event PLAYER_MOVE to Jail
    2011-06-25 16:56:35 [SEVERE] Could not pass event PLAYER_MOVE to Jail
    2011-06-25 16:56:35 [SEVERE] Could not pass event PLAYER_MOVE to Jail
    2011-06-25 16:56:35 [SEVERE] Could not pass event PLAYER_MOVE to Jail
    2011-06-25 16:56:35 [SEVERE] Could not pass event PLAYER_MOVE to Jail
    2011-06-25 16:56:35 [SEVERE] Could not pass event PLAYER_MOVE to Jail
    2011-06-25 16:56:35 [SEVERE] Could not pass event PLAYER_MOVE to Jail
    2011-06-25 16:56:35 [SEVERE] Could not pass event PLAYER_MOVE to Jail
    2011-06-25 16:56:35 [SEVERE] Could not pass event PLAYER_MOVE to Jail
    2011-06-25 16:56:36 [SEVERE] Could not pass event PLAYER_MOVE to Jail
    2011-06-25 16:56:36 [SEVERE] Could not pass event PLAYER_MOVE to Jail
    2011-06-25 16:56:36 [SEVERE] Could not pass event PLAYER_MOVE to Jail
    
    @matejdro Do you have a 1.2 download link? Thank you!
     
  3. Offline

    matejdro

    This is only thing you get in console (no stack trace)?
     
  4. Offline

    Croyd

    I'll put a note in the video description that you need to make sure all your walls, roof, and ceiling must be selected. or you may have it say prisoners are escaping in some cells.

    Reason I made it raised and actually did the tutorial outside was so they could see me selecting the outside walls. When I created my first jail one of my test prisoners kept getting attacked in the side cells.
     
  5. Offline

    GmK


    Code:
    2011-06-25 16:17:03 [SEVERE] Could not pass event PLAYER_MOVE to Jail
    java.util.ConcurrentModificationException
            at java.util.HashMap$HashIterator.nextEntry(HashMap.java:806)
            at java.util.HashMap$KeyIterator.next(HashMap.java:841)
            at com.matejdro.bukkit.jail.listeners.JailPlayerProtectionListener.onPlayerMove(JailPlayerProtectionListener.java:87)
            at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:286)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:140)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            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:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    and

    Code:
    2011-06-25 16:17:03 [SEVERE] Could not pass event PLAYER_TELEPORT to Jail
    java.util.ConcurrentModificationException
            at java.util.HashMap$HashIterator.nextEntry(HashMap.java:806)
            at java.util.HashMap$KeyIterator.next(HashMap.java:841)
            at com.matejdro.bukkit.jail.listeners.JailPlayerProtectionListener.onPlayerMove(JailPlayerProtectionListener.java:87)
            at com.matejdro.bukkit.jail.listeners.JailPlayerProtectionListener.onPlayerTeleport(JailPlayerProtectionListener.java:153)
            at org.bukkit.plugin.java.JavaPluginLoader$8.execute(JavaPluginLoader.java:293)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:378)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:347)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            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:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    But like I said - b921, havent updated to b928 due to one plugin I use not working with it yet. So if this is due to 1.2.1 not having backwards compablility, simply give me a download to the 1.2 jar :)
     
  6. Offline

    matejdro

    Reuploaded fixed version.
     
  7. Offline

    GmK

    Have you changed anything? Now all the /jail commands dont give any feedback anymore at all. The plugin works, but no command works.

    I even added the "load: startup" to the plugin.yml to see if it fixes it.

    I still wouldnt mind a 1.2 download link, it worked so well...
     
  8. Offline

    matejdro

    I have only fixed above bug.
     
  9. Offline

    JanTTuX

    yay the 1.2.1 is best! but if someone who is not jailed comes to break door with water bucket... thats way to break doors
     
  10. Offline

    GmK

    :( Damn, something is conflicting badly then. It only started when I updated to your latest version. Maybe I can find out whats up...
     
  11. Offline

    JoshP95

    This is not really a technical question, but I'm really not sure whether it's a bug with the current build of the plugin or whether I need to have Permissions or something.

    It seems for me, that when I create a jail and cells, when I walk out of the jail, no guards come to kill me - even though I'm pretty sure they're enabled and everything.

    Is this a bug that other people are getting?
    Also, is Permissions vital for this plugin?

    Thanks
     
  12. Offline

    GmK

    Well, you certainly need to be jailed for them to attack you ;)
     
  13. Offline

    killer8600

    Hello, it's a very good pluggin :p Can I send you my ideas to improve your pluggin ?

    Sorry but my english is not realy good ;)
     
  14. Offline

    GmK

    Is there really no way to get a 1.2 jar, which worked great for us, until I can figure out why 1.2.1 doesnt register commands for us?

    :( Went back to b909 (before they added the plugin startup routines) to make 1.2.1 work for us again :(
     
  15. Offline

    iMattxC

    I get this error when I restart the server:

    Code:
    12:26:22 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'jail' in plugin Jail v1.2.1
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:304)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:725)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:691)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:684)
    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:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
    at org.bukkit.craftbukkit.entity.CraftPlayer.teleport(CraftPlayer.java:223)
    at com.matejdro.bukkit.jail.PrisonerManager.Jail(PrisonerManager.java:184)
    at com.matejdro.bukkit.jail.PrisonerManager.PrepareJail(PrisonerManager.java:113)
    at com.matejdro.bukkit.jail.commands.JailCommand.run(JailCommand.java:15)
    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
    It only happens when I have made a jail with cells, restart, and jail a player. When i type a command for jail it gives an internal error report.

    How do I set up MySQLConn? I have a database, a ip, and a port. but how do I put those into the format you are using?

    EDIT: SOLVED

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

    winter4w

    i got it to work but the users cant go in the cell and i cant remove a jail this verison has some bugs but if i have done a mastake please relpy
     
  17. Offline

    JoshP95

    Yeah I know that :L When I'm jailed, nothing happens when I simply walk out! No idea why
     
  18. Offline

    matejdro

    @JoshP95 no, permissions are not vital, but you need to be an OP. Are you sure, you are jailed? You can check by typing /jailstatus.

    @GmK Sorry, i don't keep the history of releases. Wait, you went to older version or something?

    @iMattxC Weird. Is player in different world than jail?

    @winter4w wait, what?
     
  19. Offline

    Justin Hawtree

    Matejdro have you tested this on 928? Becuase even with the update it still does not reconize the commands. No errors in the console either. I went back to 860 and it works flawlessly so i really think it has something to do with the updates in 928 build.
     
  20. Offline

    winter4w

    i can not del a jail and the players dont go in the cell
     
  21. Offline

    iMattxC

    The player is in the jail before the restart and after but the jail plugin breaks after the restart. I am running 928 with multiverse and the jail is on the second world. Players also dont always go in the cells. I have two cells and the first player goes to his cell and get s a sign but the second goes in the same cell with no sign even though a seperate cell is available.

    Bugs:
    1) Doesn't not work in multiverse worlds, only the default worlds.
    2) If you use chests and the server restarts the player doesnt get his items back
    3) Upon restart the sings do not change
    I really want to use it in my skylands :/

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

    Justin Hawtree

    imatt you using mysql for the jail plugin?
     
  23. Offline

    iMattxC

    I tried both
     
  24. Offline

    Justin Hawtree

    no the reason i asked is becuase i have mysql lite and all the commands dont work in 928 build
     
  25. Offline

    thestriker095

    Found A Bug!

    When people find a way to get out of jail they dont teleport back in anymore!! (and yes i have it set to teleport!)
    What it does is glitch them out in the spot they broke out and it keeps adding 30 mins on th their time!(like every mili second!)
    Please Fix!!

    Thanks!!!
     
  26. Offline

    iMattxC

    I get this error when in the main world. I have 6 cells and this isnt working upon restart.
    Code:
    00:55:12 [INFO] [Jail] Loaded 1 jail zones.
    >00:55:12 [INFO] [Jail] Loaded 1 prisoners.
    >00:55:12 [SEVERE] Error occurred while enabling Jail v1.2.1 (Is it up to date?): null
    java.lang.NullPointerException
    at com.matejdro.bukkit.jail.JailCell.setTeleportLocation(JailCell.java:91)
    at com.matejdro.bukkit.jail.InputOutput.LoadCells(InputOutput.java:284)
    at com.matejdro.bukkit.jail.Jail.onEnable(Jail.java:101)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:857)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:157)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:136)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    
    check your log. If none of the commands work then its auto disabling itself because of an error. Mine does it now too after I restart the server...

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

    chrcms

    I just installed this Jail plugin, its great and all, but I keep getting this error in the server now, is there a solution for this?

    10:00:00 [SEVERE] Could not load 'plugins\mysql-connector-java-bin.jar' in folde
    r 'plugins':
    java.io.FileNotFoundException: Jar does not contain plugin.yml
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:64)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:194)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:117)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:362)
    at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleComma
    ndMap.java:281)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    9)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    96)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:480)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:465)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  28. Offline

    JoshP95

    Okay that's good, yeah I'm an OP. I've tested it on my friend and myself but still the guards do not come when I leave the jail area - nothing happens. Not even a message saying 'Do not try to escape from the prison!' or anything like that. Any idea what the problem could be? Anything I could post to help?
     
  29. Offline

    matejdro

    @Justin Hawtree can yxou try removing permissions and then deop yourself?

    @winter4w yes i already know that, but i need more info. You can delete jail via /jaildelete. What did not work?

    @iMattxC this error clearly happens when you type /jail command, not at the server restart. Unless some other plugins try to jail you via command on start. Your bugs 2 and 3 shows that something is not right with your database (cells are not updating properly). Try deleting both jail and all cells and create them again.

    @thestriker095 you need CB 928

    @chrcms you need mysql library installed if you want to use MySQL.

    @JoshP95 wait, do you have animals enabled?
     
  30. Offline

    Giuseppe

    in our jail spawn wolf??wtf
     
  31. Offline

    L0rdLogan

    Hello,

    Me and my friend spent about 2 days building a replica of alkatraz prison, only to discover your plugin has stopped working. I don't know why, it was working fine before. when i made a test prison. i have tried to reset the server, nothing??? please help

    he is really angry.
     

Share This Page