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

    DiddiZ

    I'm using some craftbukkit 19x build
    Code:
    SCHWERWIEGEND: Could not pass event PLAYER_MOVE to Jail
    java.lang.NullPointerException
            at com.matejdro.bukkit.jail.JailPlayerPrevent.onPlayerMove(JailPlayerPrevent.java:48)
            at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:143)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:60)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:213)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:101)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            at net.minecraft.server.NetworkManager.a(SourceFile:232)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:71)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:276)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:202)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    02.02.2011 19:17:10 org.bukkit.plugin.SimplePluginManager callEvent
    SCHWERWIEGEND: Could not pass event PLAYER_MOVE to Jail
    java.lang.NullPointerException
            at com.matejdro.bukkit.jail.JailPlayerPrevent.onPlayerMove(JailPlayerPrevent.java:48)
            at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:143)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:60)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:213)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:101)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            at net.minecraft.server.NetworkManager.a(SourceFile:232)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:71)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:276)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:202)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    02.02.2011 19:17:10 org.bukkit.plugin.SimplePluginManager callEvent
    SCHWERWIEGEND: Could not pass event PLAYER_MOVE to Jail
    java.lang.NullPointerException
            at com.matejdro.bukkit.jail.JailPlayerPrevent.onPlayerMove(JailPlayerPrevent.java:48)
            at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:143)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:60)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:213)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:101)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            at net.minecraft.server.NetworkManager.a(SourceFile:232)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:71)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:276)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:202)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    02.02.2011 19:17:10 org.bukkit.plugin.SimplePluginManager callEvent
    SCHWERWIEGEND: Could not pass event PLAYER_MOVE to Jail
    java.lang.NullPointerException
            at com.matejdro.bukkit.jail.JailPlayerPrevent.onPlayerMove(JailPlayerPrevent.java:48)
            at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:143)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:60)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:213)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:101)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            at net.minecraft.server.NetworkManager.a(SourceFile:232)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:71)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:276)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:202)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    
    EDIT: Also tested with 230, same errors
     
  3. Offline

    Hackbard

    Hi will there be a ne2w Version of the Jail?
    I use the new Snapshot from Bukkit and the sqllite database.
    But the jail is not working we have the errors already here in some posts.

    gz Hackbard
     
  4. Offline

    Jessy1237

    @matejdro when i upgraded to your 0.3.1 it has a few errors although you did fix one. When my people run out of jail they can just escape and not gain extra time or get teleported back the can pretty much do anything to the jail now but before i updated to 0.3.1 when i was on 0.3 none of this happened. could you please fix soon.
     
  5. Offline

    matejdro

    @DiddiZ do you have Permissions installed?

    @Jessy1237 Make sure that you typed their names in correct case. Otherwise it will jail the player, but won't apply any protections on it. I'm working on fix for that one.
     
  6. Offline

    DiddiZ

    Certainly
     
  7. Offline

    An0nx

    Hmm, installed your plugin and set it all up correctly. I jail myself, that's fine, but i can place blocks inside the jail with no worries, but i cannot delete them. Also, if i type a command like /spawn or /home now only does it allow it, but then i can walk around outside the jail too. Any help?
     
  8. Offline

    matejdro

    Updated

    I have accidentally included part of the case insensitive update in 0.3.1, which may result in certain protections not working.

    I may forgot case sensitivity somewhere, so if you have any problem, please unjail and rejail player with proper name to check it. And of course make a post about it.

    @An0nx Try new release for block place protection. As for command protection, read F.A.Q. in the first post. Majority of plugins are either not checking for cancelled events or wrong priority. Please forward this issue to author of plugin that takes care of the /spawn and /home on your servers. Althrough your players should be ported right back to the jail after teleport when you update to 0.3.2.
     
  9. Offline

    Tealk

    hi can you add this?
    will have their inventories cleared when jailed
    a sign outside where stand the name of the Prisoner
     
  10. Offline

    Jessy1237

    Yes Thanks to your update and maybe i wasn't typing the names right but thank you you fixed it straight away.
     
  11. Offline

    matejdro

    np

    @Tealk Inventory clean to my list. It's very easy to do, so expect it soon :)

    What do you mean by signs? Wait, do you create multiple jails as multiple cells and put players into individual cells?
     
  12. Offline

    NFFPokemon

    so i have just installed this mod and made myself a jail, but when i jail someone they can easilly use /home from the myhome plugin :( ive modyfied the settings file and put in /home in the disable command line, still dosent seem to take effect.
     
  13. Offline

    MatCat

    Got this error on server 'stop'

    Code:
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Communications link failure during rollback(). Transaction resolution unknown.
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
            at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
            at com.mysql.jdbc.Util.getInstance(Util.java:382)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1013)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927)
            at com.mysql.jdbc.ConnectionImpl.rollback(ConnectionImpl.java:4751)
            at com.mysql.jdbc.ConnectionImpl.realClose(ConnectionImpl.java:4345)
            at com.mysql.jdbc.ConnectionImpl.close(ConnectionImpl.java:1564)
            at com.matejdro.bukkit.jail.InputOutput.freeConnection(InputOutput.java:60)
            at com.matejdro.bukkit.jail.Jail.onDisable(Jail.java:54)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:137)
            at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:395)
            at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:187)
            at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:181)
            at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:55)
            at net.minecraft.server.MinecraftServer.g(MinecraftServer.java:168)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:240)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    
     
  14. Offline

    An0nx

    Alrighty, the commands such as /spawn, /home etc. are blocked now which is good. Blocks can still be placed in the jail though.
     
  15. Offline

    Euthyphro

    This plugin would be great but here are the problems i have, using craftbukkit 207.

    1. After jailing the first player, I can't jail any others. This first player is accumulating all the other players jail time and receiving all the jail messages that should be sent to other jailed players.
    2. Hogs the mysql jbdc connector, so that other mods such as iConomy can no longer use mysql, forcing me to only use sqllite with this mod when I would prefer mysql.

    As you can see below, once I turn mysql on for your mod then iConomy stops working because your mod is hogging the mysql jbdc.

    Code:
    2011-02-04 04:00:37 [INFO] [iConomy] version [2.2] (Aime) loaded
    java.sql.SQLException: No suitable driver found for jdbc:mysql:/127.0.0.1:3306/mc_craftbukkit
            at java.sql.DriverManager.getConnection(DriverManager.java:640)
            at java.sql.DriverManager.getConnection(DriverManager.java:200)
            at com.matejdro.bukkit.jail.InputOutput.createConnection(InputOutput.java:39)
            at com.matejdro.bukkit.jail.InputOutput.getConnection(InputOutput.java:30)
            at com.matejdro.bukkit.jail.InputOutput.PrepareDB(InputOutput.java:312)
            at com.matejdro.bukkit.jail.Jail.onEnable(Jail.java:60)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:135)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:380)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:175)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:63)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:44)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:156)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:143)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:104)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:186)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Feb 4, 2011 4:00:37 AM org.bukkit.craftbukkit.CraftServer loadPlugins
    SEVERE: null (Is it up to date?)
    java.lang.NullPointerException
            at com.matejdro.bukkit.jail.InputOutput.PrepareDB(InputOutput.java:313)
            at com.matejdro.bukkit.jail.Jail.onEnable(Jail.java:60)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:135)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:380)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:175)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:63)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:44)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:156)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:143)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:104)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:186)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    
     
  16. Offline

    Tealk

    yes if its possible if you creat 1 cell all players come in this
    if you create 2 the first player come in the first and the next in the second ...
    all cells have a sign there stand the name of the prsoner and how log it be jailed

    looks like this mod
    http://forum.hey0.net/showthread.php?tid=1077&highlight=jail
     
  17. Offline

    Speedy2662

    not working =/
     
  18. Offline

    matejdro

    @NFFPokemon do they get ported back?

    @An0nx does this happen every time you stop a server?

    @Euthyphro try using // instead of / in MySQLConn.

    @Tealk sounds nice.

    @Speedy2662 Can you bee more specific? What is not working?
     
  19. Offline

    jasperino

    it is working, but people can still warp out of jail I tried it with 3 different kind of warp systems, all had this problems. Also, every single movement in jail gives errors in the console. This is one error:

    Code:
    5-feb-2011 11:46:24 org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event PLAYER_MOVE to Jail
    java.lang.NullPointerException
            at com.matejdro.bukkit.jail.JailPlayerPrevent.onPlayerMove(JailPlayer
    vent.java:48)
            at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader
    va:143)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.
    a:60)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManage
    ava:213)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:101)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            at net.minecraft.server.NetworkManager.a(SourceFile:232)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:71)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:283)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    5-feb-2011 11:46:24 org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event PLAYER_MOVE to Jail
    java.lang.NullPointerException
            at com.matejdro.bukkit.jail.JailPlayerPrevent.onPlayerMove(JailPlayer
    vent.java:48)
            at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader
    va:143)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.
    a:60)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManage
    ava:213)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:101)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            at net.minecraft.server.NetworkManager.a(SourceFile:232)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:71)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:283)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
     
  20. Offline

    generalmek

    very hard to set, u must use permission and Mysql. very bad build but no another jail plugin
     
  21. Offline

    matejdro

    @jasperino do you have v0.3.2?

    @generalmek you do not need MySql. And permissons are must or your players will simply unjail themselves :)
     
  22. Offline

    An0nx

    Haha, I think you were referring to MatCat.
     
  23. Offline

    matejdro

    Yeah, sorry. So @MatCat does this happen every time you stop a server?
     
  24. Offline

    Tealk

    Would you set it on your ToDo?
     
  25. Offline

    NFFPokemon

    yes they get portet safely back to there homes, tho ive removed the plugin to avoid this, and now the plugin works perfect :D
     
  26. Offline

    braincreation

    Great plugin!

    Here are some notes:

    We need a release all command, can't del last jail without it.
    wildcard jailing for in server so we can use partial names.
    Ability to release players from db while offline and clearing their names. Not waiting for relogin.
    Glass does not restore when griefed from jailled player.
    Does not register griefs or changes to jail using super tools like super pick axe // with w/e.
     
  27. Offline

    GameFAQsRolo

    Win7 x64
    CB #254
    Jail 0.3.2
    SQLite

    Misc Plugins: BigBrother, BlockDrops, BorderGuardLite, Essentials (edited conflicting commands), LoginQueue, LWC, MagicCarpet, MyWarp, Noon, Permissions, SimpleHome, Vanish, WorldEdit, WorldGuard

    I finally got around to testing this on my server and it works enough that I will use it, but there's lots of errors I'm running into. I tested it with one of my mods that has limited permissions. At the time of testing he had /jail and /unjail permissions along with /jailstatus permission (not that I think it should matter for testing). I made the jail within the spawn area of my server because that's where we had our manually run jail.

    I could not get /jaildelete name to work. It wasn't throwing any errors, it just wasn't working. My test subject was not getting appropriate messages for trying to place blocks or destroy blocks, but that might've been because we were testing within the spawn area. There were too many problems with messages that I did not bother taking note of them.

    This is the error when he tried using a warp from MyWarps and it disconnected him.
    Code:
    2011-02-05 21:59:32 [WARNING] Failed to handle packet: java.util.ConcurrentModif
    icationException
    java.util.ConcurrentModificationException
            at java.util.AbstractList$Itr.checkForComodification(Unknown Source)
            at java.util.AbstractList$Itr.next(Unknown Source)
            at me.taylorkelly.mywarp.WarpList.getMatches(WarpList.java:267)
            at me.taylorkelly.mywarp.WarpList.warpTo(WarpList.java:89)
            at me.taylorkelly.mywarp.MyWarp.onCommand(MyWarp.java:367)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:17)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:77
    )
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:1
    67)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:584)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:563)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:232)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:71)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:283)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    2011-02-05 21:59:33 [INFO] Freed 9.365264892578125 MB.
    This was the error when he tried using /jailstatus
    Code:
    Feb 5, 2011 10:01:35 PM org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event PLAYER_COMMAND to Jail
    java.lang.NullPointerException
            at com.matejdro.bukkit.jail.JailPlayer.onPlayerCommand(JailPlayer.java:2
    79)
            at org.bukkit.plugin.java.JavaPluginLoader$3.execute(JavaPluginLoader.ja
    va:133)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:60)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:213)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:590)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:563)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:232)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:71)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:283)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    It was a bit late so I could not do any deeper testing, but Monday I'll probably give it a more thorough test.
     
  28. Offline

    An0nx

    Alrighty, the commands such as /spawn, /home etc. are blocked now which is good. Blocks can still be placed in the jail though.
     
  29. Offline

    Euthyphro

    I have the same problem with the jailstatus command. When a player is jailed, it does not work and I get same error msg. When the player is unjailed, jailstatus works fine.
     
  30. Offline

    Sandia

    I have build 211 and it says it out of date plz help me 2 thix it
     
  31. Offline

    Exone

    I tested this, and it works. But there seem to be a collision with the BigBrother plugin.
    If both are in use, Jail works, but not BigBrother. This is just my thoughts, not 100% sure.
     

Share This Page