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

    popdog15

    I love this mod, but I dont understand why U can telleport someone to jail without putting them in a cell. What is the point of that excatly? someone plz reply.
     
  3. Offline

    andrewkm

    @matejdro
    (0min) has to really be changed to (>1min)
    So many people /jailstatus insanely and at 0min try to leave the jail, and get a minute added for trying to escape. (Which is my setting) It would stop so much confusion if you can do this.
     
  4. Offline

    matejdro

    Updated.

     
  5. Offline

    Cvisser

    For some odd reason I keep getting Unknown Console Command. Can someone please help
     
  6. Offline

    matejdro

    Do you have 1.1.0? Which command is the issue?
     
  7. Offline

    andrewkm

    Posting in my plugin threads with a 1.6.6 Minecraft RB CB Build #818 report.
    Jail 1.1.0 working perfectly fine with this build. Thank you for the continued support of this plugin!
     
  8. Offline

    Jake Stauber

    I don't know if this has already been requested but I think it should be possible to choose the cell that the 'criminal' is put in. Maybe you would want to consider putting this in the next update...
     
  9. Offline

    brzavr

    /jailmute
     
  10. Offline

    spoonikle

    this is sooo awesome! i love it to pieces! The roleplay aspect is the greatest.
     
  11. Offline

    AFakeman

    Is it possible to also move jailed to another Permission group?
     
  12. This causes hard crashes for us on CB 819, disabled !
     
  13. Offline

    GmK

    This causes no crashes at all for us on CB 819, keeping!
     
  14. Lucky you ;)
     
  15. Offline

    Smallie07

    is it just me or does it not tell me why the prisoner is jailed? i type for example /jail (name) 1 griefing
    and then the sign says (name) 1 minute for ____ and nothing? help please.
    CB819
     
  16. Offline

    Sirgue

    Work for 818 ?
     
  17. Offline

    Nazerb

    Epic but does it work for 818? Oh and the installation video is private D: Great help...
     
  18. Offline

    Tealk

    hi is it possible to add a feature that works together with Gastronomic v1.4 so that prisoners dont get hungry and die?
     
  19. Offline

    andrewkm

    @matejdro
    Just had a 240 minutes jail expire.
    818# + 1.1.0 + mysql
    On his release my console showed this (Although it looks like all is fine and he was infact released), as well on /jailcheck shows nobody is jailed, so it seems fine. Heres the error:
    Code:
    2011-06-04 11:46:09 [SEVERE] [Jail] Error while deleting Prisoner from DB! - No operations allowed after connection closed.Connection was implicitly closed by the driver.
    2011-06-04 11:46:09 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.Connection was implicitly closed by the driver.
    2011-06-04 11:46:09 [SEVERE]  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2011-06-04 11:46:09 [SEVERE]  at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    2011-06-04 11:46:09 [SEVERE]  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    2011-06-04 11:46:09 [SEVERE]  at java.lang.reflect.Constructor.newInstance(Unknown Source)
    2011-06-04 11:46:09 [SEVERE]  at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    2011-06-04 11:46:09 [SEVERE]  at com.mysql.jdbc.Util.getInstance(Util.java:382)
    2011-06-04 11:46:09 [SEVERE]  at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1013)
    2011-06-04 11:46:09 [SEVERE]  at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987)
    2011-06-04 11:46:09 [SEVERE]  at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982)
    2011-06-04 11:46:09 [SEVERE]  at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927)
    2011-06-04 11:46:09 [SEVERE]  at com.mysql.jdbc.ConnectionImpl.throwConnectionClosedException(ConnectionImpl.java:1213)
    2011-06-04 11:46:09 [SEVERE]  at com.mysql.jdbc.ConnectionImpl.checkClosed(ConnectionImpl.java:1200)
    2011-06-04 11:46:09 [SEVERE]  at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4203)
    2011-06-04 11:46:09 [SEVERE]  at com.mysql.jdbc.ConnectionImpl.prepareStatement(ConnectionImpl.java:4169)
    2011-06-04 11:46:09 [SEVERE]  at com.matejdro.bukkit.jail.InputOutput.DeletePrisoner(InputOutput.java:501)
    2011-06-04 11:46:09 [SEVERE]  at com.matejdro.bukkit.jail.Jail.UnJail(Jail.java:367)
    2011-06-04 11:46:09 [SEVERE]  at com.matejdro.bukkit.jail.Jail$1.actionPerformed(Jail.java:567)
    2011-06-04 11:46:09 [SEVERE]  at javax.swing.Timer.fireActionPerformed(Unknown Source)
    2011-06-04 11:46:09 [SEVERE]  at javax.swing.Timer$DoPostEvent.run(Unknown Source)
    2011-06-04 11:46:09 [SEVERE]  at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    2011-06-04 11:46:09 [SEVERE]  at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    2011-06-04 11:46:09 [SEVERE]  at java.awt.EventQueue.access$000(Unknown Source)
    2011-06-04 11:46:09 [SEVERE]  at java.awt.EventQueue$1.run(Unknown Source)
    2011-06-04 11:46:09 [SEVERE]  at java.awt.EventQueue$1.run(Unknown Source)
    2011-06-04 11:46:09 [SEVERE]  at java.security.AccessController.doPrivileged(Native Method)
    2011-06-04 11:46:09 [SEVERE]  at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    2011-06-04 11:46:09 [SEVERE]  at java.awt.EventQueue.dispatchEvent(Unknown Source)
    2011-06-04 11:46:09 [SEVERE]  at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    2011-06-04 11:46:09 [SEVERE]  at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    2011-06-04 11:46:09 [SEVERE]  at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    2011-06-04 11:46:09 [SEVERE]  at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    2011-06-04 11:46:09 [SEVERE]  at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    2011-06-04 11:46:09 [SEVERE]  at java.awt.EventDispatchThread.run(Unknown Source)
    2011-06-04 11:46:09 [SEVERE] Caused by: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 42,746,026 milliseconds ago.  The last packet sent successfully to the server was 42,746,027 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
    2011-06-04 11:46:09 [SEVERE]  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2011-06-04 11:46:09 [SEVERE]  at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    2011-06-04 11:46:09 [SEVERE]  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    2011-06-04 11:46:09 [SEVERE]  at java.lang.reflect.Constructor.newInstance(Unknown Source)
    2011-06-04 11:46:09 [SEVERE]  at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    2011-06-04 11:46:09 [SEVERE]  at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)
    2011-06-04 11:46:09 [SEVERE]  at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3348)
    2011-06-04 11:46:09 [SEVERE]  at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1967)
    2011-06-04 11:46:09 [SEVERE]  at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    2011-06-04 11:46:09 [SEVERE]  at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
    2011-06-04 11:46:09 [SEVERE]  at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
    2011-06-04 11:46:09 [SEVERE]  at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2407)
    2011-06-04 11:46:09 [SEVERE]  at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2325)
    2011-06-04 11:46:09 [SEVERE]  at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2310)
    2011-06-04 11:46:09 [SEVERE]  at com.matejdro.bukkit.jail.InputOutput.UpdatePrisoner(InputOutput.java:487)
    2011-06-04 11:46:09 [SEVERE]  at com.matejdro.bukkit.jail.Jail$1.actionPerformed(Jail.java:572)
    2011-06-04 11:46:09 [SEVERE]  ... 16 more
    2011-06-04 11:46:09 [SEVERE] Caused by: java.net.SocketException: Software caused connection abort: socket write error
    2011-06-04 11:46:09 [SEVERE]  at java.net.SocketOutputStream.socketWrite0(Native Method)
    2011-06-04 11:46:09 [SEVERE]  at java.net.SocketOutputStream.socketWrite(Unknown Source)
    2011-06-04 11:46:09 [SEVERE]  at java.net.SocketOutputStream.write(Unknown Source)
    2011-06-04 11:46:09 [SEVERE]  at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
    2011-06-04 11:46:09 [SEVERE]  at java.io.BufferedOutputStream.flush(Unknown Source)
    2011-06-04 11:46:09 [SEVERE]  at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3329)
    2011-06-04 11:46:09 [SEVERE]  ... 25 more
     
  20. Offline

    matejdro

    @Jake Stauber Sounds good. But you will probably have to recreate cells if you would want to use that feature (to define names).

    @Chris Sadka are you doing anything with Jail or it just pops out?

    @brzaver fixed. Thanks.

    @AFakeman maybe. I will take a look at it.

    @Joy What do you mean as crash? Error? Server just closes?

    @Smallie07 command is /jail player time jailname reason. You forgot to specify jailname. Simply use "nearest" (without quotes) if you don't want to specify one.

    @Sirgue should work.

    @Nazerb it should work. I will talk to the author of the video.

    @Tealk ask author of Gastronomic to implement support for Jail.

    @andrewkm Hm, i really need to work on improving mysql on my plugins. Thanks for report. Try adding autoReconnect=true to your connection string.
     
  21. Offline

    Tealk

    i have write you both^^
     
  22. Offline

    Jordan616

    Now you have to make it compatibl with Iconomy/BOSEconomy so people can pay the ransom to get out early =D

    Who agrees????

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

    Nazerb

    sometimes the signs with player info does not og blank

    Code:
    21:36:13 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'jail' in plugin Jail v1.1.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:281)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:718)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:684)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:677)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
            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:401)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
            at org.bukkit.Location.getBlock(Location.java:72)
            at com.matejdro.bukkit.jail.JailCell.getSign(JailCell.java:142)
            at com.matejdro.bukkit.jail.JailPrisoner.updateSign(JailPrisoner.java:335)
            at com.matejdro.bukkit.jail.Jail.Jail(Jail.java:314)
            at com.matejdro.bukkit.jail.Jail.PrepareJail(Jail.java:285)
            at com.matejdro.bukkit.jail.Jail.onCommand(Jail.java:700)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    >
    This? when i do /jail "name"

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

    Docj98

    Thanks for putting the video tutorial, It helped me alot
     
  25. Offline

    Nazerb

    Why is the hit thing left click? It means they get attacked and not jailed if too close, could you change it to a right click on a person? And when they escape the sign is not cleared. I dont mind there stuff being left, I like that but the sign should be cleared
     
  26. Offline

    Morgen

    Need for 818 =(
     
  27. Offline

    GmK

    Works 100% on 818, not one problem here, with 4 jails and sql integration.
     
  28. Offline

    Morgen

    omg :confused: work. Sorry. until then to give an error - probably in conflict with something
     
  29. Offline

    daleisme

    I done everything right but people break out of jail? :confused:
     
  30. Offline

    l0stb3ta

    The jail plugin was working fine for me the day I installed it. The next day, it would not for the life of it allow the server to come up. It would get through the M's on plugin loading and then the server would terminate for no apparent reason whatsoever. I narrowed it down to the jail plugin.

    Is there some kind of debug mode I can use in order to provide more useful information? Right now all I've got is that Bukkit was loading plugins, got through about the M's with no errors, and then randomly exited.

    I have:
    CommandBook, iChat, iConomy, LocalShops, Minecart Mania Core/AutoCart/Station, the Minecart Starter Plugin (which I think is no longer supported, but still works), MobBounty, MyHome, MyWarp, Permissions 2.7.1(?), Runecraft 2.7, SkyPirates, Tips, WorldEdit, WorldGuard, and xAuth.

    Are there any known conflicts with these plugins?
     
  31. Rightclick with wooden sword to mark jail area does not work on CB823. Seems to be the same issue as im exeriencing with kFeatherTeleport plugin. A /reload or moving in from another world fixes issue until next time you relog. Can someone else test making a jail after having relogged on CB823?

    Edit: This was caused by a clash between OpenInv and BukkitContrib. Updating BukkitContrib to v0.0.4 Alpha resolves the issue.
     

Share This Page