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

    matejdro

    @thestriker095 sorry, i don't get it what you want to say

    @theheyway So when you are building anywhere, it will throw you these out?

    @EMOberger planned. But i don't wan't to add anything to the jail command, It's already very cluttered and confusing. Price will be defined by minutes in jail.
     
  3. Offline

    Sorken

    When using unjailforce or any other command that directly clears the databsem it leaves stuff on signs. Like name, time and reason. When using ANY command that deletes a user I want the corresponding signs to be wiped aswell and chest to emptied (into void). My moderators use the Jail as a temporary holding until I can review the crime and ban them. By that the time the user are not online and most likely wont come back. So when I do ban them i want it to be fast, simple and clean to remove them from jail.
     
  4. Offline

    matejdro

    Planned for next version.
     
  5. Offline

    Meapa

    Hey,
    Love ya mod
    --------------------EDIT---------------------
    Works Great Now!
     
  6. Offline

    Nobotin

    I got a Could not receive a Zone area when I put the places with the sword
     
  7. Offline

    matejdro

    Probably interference with other plugin?
     
  8. Offline

    theheyway

    Not just anywhere, but within the coordinates that are the same of those on the world the jail is in. So if I have a jail on "world" from 0, 0, 0 to 100,100,100, any time I build or place or whatever within those coordinates within "world2", it tells me not to break the jail, etc.
     
  9. Offline

    KillerSmurf

    When i type /jail person 3 jailname
    it jails them for like 20 minutes, instead of 3... please help?
     
  10. Offline

    jasonsj10

    Hey U should Update to CB 860. I dont like SimpleJail it doesnt work well
     
  11. Offline

    nbchomp03

    plz update for newest build
     
  12. Offline

    KAOTICxGAMING

    PLEASE HELP! I put in the coordinates then type /jailcreate jail1 and it says, "An internal error occurred while attempting to perform this command."
     
  13. Offline

    DChen

    You guys should do an API with Signshops because they have a sign that allows you to activate a device for a certain fee, so that you could bail using a sign in the jail. For example, i am in a jail, and there's a sign that says
    [Device]--> Command for temporally activating a device
    Bail out of Jail-->Message
    for $250.-->Message
    250--> How much for Bail.

    When you left click the sign it will say:
    Temporary activate this lever for $250?
    When you right click the sign it will skip the message so you automatically buy it.
    When you buy it it will say:
    <User> temporally activated your device for $250.

    Good Idea?

    ;)
     
  14. Offline

    Daseru333

    You Should add a Escape command for prisoners /Escape risk or chance and it will roll a dice and you will be lucky or Unlucky and have the chance to escape or get caught if you get lucky the cell will open and you can try to make your way out of jail. And if your unlucky it will Alarm the Guards that you tried escaping. And they either can Punish you by Death Electric Chair or Add Addional time? How About that :D
     
  15. Offline

    Hempa

    I dont seem to be able to /jailcreatecells when I do it it says [There is no such jail!]
     
  16. Offline

    Spathizilla

    I've noticed that when the server has been running for a while (like 5+ hours) and I try to jail someone, the plugin throws exceptions as the mysql connection no longer is active.

    This is the exception:
    Code:
    2011-06-14 19:33:40 [SEVERE] [Jail] Error while inserting Prisoner  into DB! - The last packet successfully received from the server was  31,325,188 milliseconds ago.  The last packet sent successfully to the  server was 31,325,189
     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-14 19:33:40 [SEVERE]  com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet  successfully received from the server was 31,325,188 milliseconds ago.   The last packet sent successfully to the server was 31,325,189  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-14 19:33:40 [SEVERE]    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2011-06-14 19:33:40 [SEVERE]    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
    2011-06-14 19:33:40 [SEVERE]    at  sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    2011-06-14 19:33:40 [SEVERE]    at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
    2011-06-14 19:33:40 [SEVERE]    at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    2011-06-14 19:33:40 [SEVERE]    at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)
    2011-06-14 19:33:40 [SEVERE]    at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3348)
    2011-06-14 19:33:40 [SEVERE]    at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1967)
    2011-06-14 19:33:40 [SEVERE]    at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2140)
    2011-06-14 19:33:40 [SEVERE]    at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2626)
    2011-06-14 19:33:40 [SEVERE]    at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2111)
    2011-06-14 19:33:40 [SEVERE]    at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2407)
    2011-06-14 19:33:40 [SEVERE]    at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2325)
    2011-06-14 19:33:40 [SEVERE]    at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2310)
    2011-06-14 19:33:40 [SEVERE]    at com.matejdro.bukkit.jail.InputOutput.InsertPrisoner(InputOutput.java:381)
    2011-06-14 19:33:40 [SEVERE]    at com.matejdro.bukkit.jail.Jail.PrepareJail(Jail.java:277)
    2011-06-14 19:33:40 [SEVERE]    at com.matejdro.bukkit.jail.Jail.onCommand(Jail.java:700)
    2011-06-14 19:33:40 [SEVERE]    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    2011-06-14 19:33:40 [SEVERE]    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
    2011-06-14 19:33:40 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:287)
    2011-06-14 19:33:40 [SEVERE]    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:712)
    2011-06-14 19:33:40 [SEVERE]    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:678)
    2011-06-14 19:33:40 [SEVERE]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:671)
    2011-06-14 19:33:40 [SEVERE]    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    2011-06-14 19:33:40 [SEVERE]    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    2011-06-14 19:33:40 [SEVERE]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    2011-06-14 19:33:40 [SEVERE]    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    2011-06-14 19:33:40 [SEVERE]    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
    2011-06-14 19:33:40 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
    2011-06-14 19:33:40 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-14 19:33:40 [SEVERE] Caused by: java.net.SocketException: Broken pipe
    2011-06-14 19:33:40 [SEVERE]    at java.net.SocketOutputStream.socketWrite0(Native Method)
    2011-06-14 19:33:40 [SEVERE]    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109)
    2011-06-14 19:33:40 [SEVERE]    at java.net.SocketOutputStream.write(SocketOutputStream.java:153)
    2011-06-14 19:33:40 [SEVERE]    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
    2011-06-14 19:33:40 [SEVERE]    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
    2011-06-14 19:33:40 [SEVERE]    at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3329)
    2011-06-14 19:33:40 [SEVERE]    ... 23 more
    
    This is on CB860 with Jail 1.1.0 - I guess you just need to throw in an isValid or use the autoReconnect or some other check into your code to check the SQL connection is still alive. Probably wont have the problem with SQLite.
     
  17. Offline

    xZise

    Hmmm, I have the bug with CB 857, that the one user with the permission jail.modifyjail couldn't modify it, and always get the error, that she shouldn't destroy it.

    Fabian
     
  18. Offline

    Tealk

  19. Offline

    Hwkeye

    when is this plugin going to be updated??
     
  20. Offline

    thestriker095

     
  21. Offline

    xZise

    To what? The plugin is (mostly) running fine on my 857. And if you have any issues on your server, tell them to the developer. But this question is nonsense (imho).

    And to my problem:
    I tried to see in your Source Code, but it seems to be gone as in the Jail.jar are only the class files and (afaik) java doc files.

    Fabian
     
  22. Offline

    AFakeman

    It'd also be nice to make configurable commands execute after /jail, such as /deop, /give, /permissions
     
  23. Offline

    ipie5

    When I try to create cells it says that heir is no such jail. I checked the list and Its says the jail is there. whats wrong?
     
  24. Offline

    dekki2

    i mean when playersis jailed i got some javaerrors when it disconnects all players and mewhen i cant usecommand stop to stop server i must close it anather way so but if i notclose server and try join back it dont let me in so i dont understand can you please update it be compatible whit minecraft 1.6.6

    But your plugin is awsome i want it on my server jail builded but errors:(
    i waiting for new version if you going to do.
    but i will try this version again.
     
  25. Offline

    MeatBat

    Something strange happens with time: i set 360 mins for player, then check his status after some time. It goes up to 742137 mins :confused: Penalties for block breaking/placing is about 10-15 mins.
    If it important server was restarted (hard, no reaction on /stop, use kill -9; world autosave each 5 mins ).

    bukkit 860, jail 1.1.0

    UPD
    Possible problem: when player joins to server, he spawns on spawn point, then he enters /login password and tp to his last coords. At that moment jail teleports player to jail, game moves him back to spawn -> jail time increases :)
    For spawn I use EssentialsSpawn It's xAuth teleports user to spawn until he logged in.

    Fix it with protect-location: false in plugins/xAuth/config.yml
     
  26. Offline

    matejdro

    @theheyway @xZise @thestriker095 It will be fixed in v1.2

    @KillerSmurf Probably he triggered protection and his time got increased

    @jasonsj @nbchomp03 current version already works in v1.2

    @KAOTICxGAMING please paste whole error from console

    @DChen Sounds good, but i have already implemented my own system (comes in v1.2). But maybe SignShop can make this or any other plugin author (APIs are there ;))

    @Daseru333 Actually this is quite good idea. But only real penalty is jail time, since "electric chair" would kill him and simply teleport him back, which would done nothing.

    @Hempa @ipie5 try using case-sensitive name.

    @Spathizilla try adding ?autoReconnect=true to your MysqlConn

    @Tealk what should i see here?

    @Hwkeye when new update will be ready. But now you can use current version, which works fine on 860+

    @xZise maybe i forgot to tick checkbox. Anyway, code will be on github from v1.2 so it should not be problem in future.

    @AFakeman sounds good. It may even get into v1.2.

    @dekki2 what about posting those javaerrors?

    @MeatBat it may be hard stop cause. Just use /jailset <playername> time <time> to change it back.

    So jail automatically jails innocent people?
     
  27. Offline

    KillerSmurf

    So for time should i put /jail killersmurf 3 minutes jailname ??
     
  28. Offline

    matejdro

    no just /jail killersmurf 3
     
  29. Offline

    Tealk

    Extension plugins, for additional features with other plugins (players don’t get hungry in jails)
     
  30. Offline

    matejdro

    API is there, It should not be very hard for other plugin makers to add support for the jail.
     
  31. Offline

    dekki2

    how i can post java errors?
     

Share This Page