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

    Updated

     
  3. Offline

    NERDYtimmy

    When I try to select my cuboid with the wooden sword, nothing happens! I right click the block, but nothing responds back. The plugins working cause I can do the commands, but my cuboid wont select. Help?
     
  4. Offline

    matejdro

    What plugins do you have installed?
     
  5. Offline

    NERDYtimmy

    Essentials, permissions, worldguard, worldedit, typical stuff. Dont think anything I have installed should be interfering. A couple pages ago in this thread, a guy was having the same problem also.
     
  6. Offline

    matejdro

    Can you try changing SelectionTool to some other item and try with that one?
     
  7. Offline

    NERDYtimmy

    Just switched it to a gold hoe.. Still didnt select the cuboids.
     
  8. Offline

    matejdro

    How far are you from the block?
     
  9. Offline

    NERDYtimmy

    In hittable distance. lol.
     
  10. Offline

    matejdro

    Hm. Can you try that one and tell me if you get any debug messages in console?
     

    Attached Files:

  11. Offline

    NERDYtimmy

    none at all
     
  12. Offline

    matejdro

    That means that event does not get to Jail. Which means that either you are using broken Bukkit or another plugin is blocking right click event (more likely).
     
  13. Offline

    Chris Lewis

    somehow people are able to destroy blocks in the jail and they stay broken and they do not get penalized for it.

    These are the properties i think are relevant... am i missing something?
     
  14. Offline

    matejdro

    Do you have v0.5.4?
     
  15. Offline

    Chris Lewis

    Yes i do, its also the most up to date craftbukkit.
    [MERGETIME="1299870757"][/MERGETIME]
    It keeps player in the jail and penalizes them for leaving or placing blocks. But they can destroy blocks (and they stay destroyed) and they get no penalty for it.
     
  16. Offline

    Spiritax

    i think your download link is not good. downloaded it and it's still 0.5.3


    name: Jail
    main: com.matejdro.bukkit.jail.Jail
    version: 0.5.3
     
  17. Offline

    matejdro

    Oops, forgot to upload new file :S

    Done now. Thanks for reminding me.
     
  18. Offline

    Chris Lewis

    lol... no wonder it didn't work!!! thanks!!!
     
  19. Offline

    Jobsti

    Hey, big big thanks, command-protection works now with moveprotection=false. #531
     
  20. Offline

    Chris Lewis

    Im getting this... does the jail have to be a certain size?
    also says "An internal error occured while attempting to perform this command"
    this only happens when i run the command /jail (player) folsom - folsom is the name of my prison
    i can run the command /jail (name) and it works fine
    [MERGETIME="1299890386"][/MERGETIME]
    Ok... i figured it out. apparently you cant just put them in each jail indefinately, in order for that command to work you must specify a time in that jail, otherwise it fail out. so you cant just say /jail (player) (jail name) you MUST use /jail (player) (time) (jail name)

    Can this be fixed to just use the /jail (player) (jail name) plz?
     
  21. Offline

    matejdro

    Well this command works like that (/jail player time jailname). I might update that later, but it's not really high priority.
     
  22. Offline

    zipfe

    You must first type /jailcreate <jailname>, and then make the selection. Not like in WorldEdit, where you select first, and then type a command.

    @matejdro, thanks for the plugin, it works with #531, but I'm getting this error when trying to escape (leave the jail cuboid) in the console:
    Code:
    [SEVERE] From:Location{world=CraftWorld{name=world1}x=-3.837223074229547y=82.0z=0.9557031581853797pitch=14.7000065yaw=-88.49998}
    It still works, I get warped back into the jail, just wondered what that severe thingy might be.
     
  23. Offline

    matejdro

    Oops, this is debug lines that i forgot to remove. Will be removed in next release. I hope it's not too annoying.
     
  24. Offline

    loli559

    00:44:10 [SEVERE] null loading Jail v0.5.4 (Is it up to date?)
    java.lang.NullPointerException
    at com.matejdro.bukkit.jail.InputOutput.PrepareDB(InputOutput.java:386)
    at com.matejdro.bukkit.jail.Jail.onEnable(Jail.java:72)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
     
  25. Offline

    matejdro

    Do you have lib folder with sqlite library?
     
  26. Offline

    Tealk

    Hi i have the Problem that Jail.properties all time become rewrite if i restart the server
     
  27. Offline

    loli559

    yes i do
     
  28. Offline

    NikkyyyHD

    Found a bug:
    When a player is in jail and another player breaks the walls, the player gets a extra 15mins
     
  29. Offline

    Major

    Really nice plugin. Thanks for this. I'm also experiencing the glitch above. Can you make it protected for everyone?

    In the meantime I just surrounded the jail with glass i protected from everyone.
    Another little request would be to make a jail command that would jail the player until they were unjailed.

    Also due to my OCD I put all the properties in a logical order. I left the times etc the default though.

    Show Spoiler
    MySQLConn = jdbc:mysql://localhost:3306/minecraft #MySQL Connection string (only if using MySQL)
    MySQLUsername = root #MySQL Username (only if using MySQL)
    MySQLPassword = password #MySQL Password (only if using MySQL)
    UseMySQL = false #true = use MySQL database / false = use SQLLite

    SelectionTool = 268 #What tool is used to create jail zones. Default: Wooden sword.

    MessageJail = §cYou have been jailed!

    DeleteInventoryOnJail = false #Should we delete player's inventory when jailing?

    MessageTransfer = §9You have been transferred to another jail!


    BucketProtection = true #Should we protect prisoners against using buckets?
    BucketPenalty = 10 #For how much time is prisoner's time increased if he tries to use a bucket? Use 0 to disable penalty.
    MessageBucketPenalty = §cDo not try to flood the jail! You have just earned additional 10 minutes in jail!
    MessageBucketNoPenalty = §cDo not try to flood the jail!


    BlockPlaceProtection = true #Should jail be protected against placing blocks in it it?
    BlockPlacePenalty = 10 #For how much time is prisoner's time increased if he tries place block inside jail. Use 0 to disable penalty.
    MessagePlacePenalty = §cDo not place blocks inside Jail! You have just earned additional 10 minutes in jail!
    MessagePlaceNoPenalty = §cDo not place blocks inside Jail!


    PlayerMoveProtection = true #Should we protect prisoners against moving out of jail?
    PlayerMovePenalty = 30 #For how much time is prisoner's time increased if he tries to move out of jail. Use 0 to disable penalty.
    MessageMovePenalty = §cDo not try to escape out of Jail! You have just earned additional 30 minutes in jail!!
    MessageMoveNoPenalty = §cDo not try to escape out of Jail!


    BlockDestroyProtection = true #Should jail be protected against destroying it?
    BlockDestroyPenalty = 15 #For how much time is prisoner's time increased if he tries to destroy jail. Use 0 to disable penalty.
    MessageDestroyPenalty = §cDo not destroy The Jail! You have just earned additional 15 minutes in jail!
    MessageDestroyNoPenalty = §cDo not destroy The Jail!


    FireProtection = true #Should we protect prisoners against starting fires?
    FirePenalty = 10 #For how much time is prisoner's time increased if he tries to start a fire? Use 0 to disable penalty.
    MessageFirePenalty = §cDo not try to burn the jail! You have just earned additional 15 minutes in jail!
    MessageFireNoPenalty = §cDo not try to burn the jail!


    PreventCommands = /spawn,/kill,/warp,/home #Which commands should we prevent from using in jail?
    CommandPenalty = 10 #For how much time is prisoner's time increased if he tries to use forbidden command. Use 0 to disable penalty.
    MessageCommandPenalty = §cDo not try to escape with commands! You have just earned additional 10 minutes in jail!
    MessageCommandNoPenalty = §cDo not try to escape with commands!


    MessageUnJail = §2You have been released! Please respect server rules.
     
  30. Offline

    maveriik

    I'm getting major errors when I try to jail someone...it jails them, but spams the console :/
    I'm using craftbukkit #516 I think and I'm pretty sure I have the latest version of Jail.
    Thanks
     
  31. Offline

    FreekyGun

    21:38:23 [INFO] Starting minecraft server version Beta 1.3
    21:38:23 [INFO] Loading properties
    21:38:23 [INFO] Starting Minecraft server on *:25565
    21:38:23 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-493-
    g8b5496e-b493jnks (MC: 1.3)
    21:38:23 [INFO] Preparing level "world"
    21:38:23 [INFO] Preparing start region
    21:38:24 [INFO] LWC Loading shared objects
    21:38:24 [INFO] LWC Native library: plugins/LWC/lib/native/Windows/x86/sqlit
    ejdbc.dll
    21:38:24 [SEVERE] Could not load plugins\mysql-connector-java-bin.jar in plugins
    : null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:56)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:129)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:94)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.io.FileNotFoundException: Jar does not contain plugin.yml
    ... 9 more
    21:38:24 [INFO] [Permissions] version [2.5.4] (Phoenix) was Initialized.
    21:38:24 [SEVERE] java.lang.ClassNotFoundException: com.mysql.jdbc.Driver
    21:38:24 [SEVERE] at java.net.URLClassLoader$1.run(Unknown Source)
    21:38:24 [SEVERE] at java.security.AccessController.doPrivileged(Native Me
    thod)
    21:38:24 [SEVERE] at java.net.URLClassLoader.findClass(Unknown Source)
    21:38:24 [SEVERE] at org.bukkit.plugin.java.PluginClassLoader.findClass(Pl
    uginClassLoader.java:30)
    21:38:24 [SEVERE] at java.lang.ClassLoader.loadClass(Unknown Source)
    21:38:24 [SEVERE] at java.lang.ClassLoader.loadClass(Unknown Source)
    21:38:24 [SEVERE] at java.lang.Class.forName0(Native Method)
    21:38:24 [SEVERE] at java.lang.Class.forName(Unknown Source)
    21:38:24 [SEVERE] at com.matejdro.bukkit.jail.InputOutput.createConnection
    (InputOutput.java:50)
    21:38:24 [SEVERE] at com.matejdro.bukkit.jail.InputOutput.getConnection(In
    putOutput.java:42)
    21:38:24 [SEVERE] at com.matejdro.bukkit.jail.InputOutput.PrepareDB(InputO
    utput.java:385)
    21:38:24 [SEVERE] at com.matejdro.bukkit.jail.Jail.onEnable(Jail.java:72)
    21:38:24 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlug
    in.java:118)
    21:38:24 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(
    JavaPluginLoader.java:414)
    21:38:24 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(Si
    mplePluginManager.java:187)
    21:38:24 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftSe
    rver.java:83)
    21:38:24 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:61)
    21:38:24 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:204)
    21:38:24 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:191)
    21:38:24 [SEVERE] at net.minecraft.server.MinecraftServer.d(MinecraftServe
    r.java:131)
    21:38:24 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:246)
    21:38:24 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:366)
    21:38:24 [SEVERE] null loading Jail v0.5.4 (Is it up to date?)
    java.lang.NullPointerException
    at com.matejdro.bukkit.jail.InputOutput.PrepareDB(InputOutput.java:386)
    at com.matejdro.bukkit.jail.Jail.onEnable(Jail.java:72)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:414)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:187)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    21:38:25 [INFO] LWC Using Nijikokun's permissions plugin for permissions
    21:38:25 [INFO] [Permissions] version [2.5.4] (Phoenix) loaded
    21:38:25 [INFO] LWC Loading SQLite
    21:38:25 [INFO] SQLite Using: Native
    21:38:25 [INFO] LWC At version: v1.63
    21:38:25 [INFO] Done (0.150s)! For help, type "help" or "?"
    >

    how do i fix this?
     

Share This Page