Inactive [ADMN/RPG] Jail - Jail bad players

Discussion in 'Inactive/Unsupported Plugins' started by matejdro, Jan 24, 2011.

  1. Offline



    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:
    (you can use your minecraft forum username and password on BukkitDev)
  2. Offline


  3. Offline

    Carlos Fuentes

    Still having the same issue, never quite had it resolved... Here's my previous post:

    So I have my jail defined, and within the preferences I have /spawn, /tp, /warp, and /home blocked. And yet, all of my players can do this while jailed. :/ what's going on?

    The config file *is* formatted correctly, with the commands in list format. I am using permission 2.x, as it has worked fine for all of my plugins except for this one - is this the problem? Or what else is it?
  4. Offline


  5. Offline


    Nope, everything is normal. Except no guards. And I dont use WorldGuard.
  6. Offline


    Can someone please tell me how to get the damn jail stick to work??? the /jailstick command doesn't do anything, is there something in the config im suppose to change?????

    I got it to work, but can you tell me how to work the jail stick /jailstick enables it but it still doesn't work, if it involves the config can u tell me what to change???

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


    How u fix it?

    I dont know how the jailstick work.
    have u read it?
  8. Offline


    Time doesn't seem to be going down on any prisoner's sentence. I have no clue what is causing this, and I am fully up to date. Any ideas on why this is happening?
  9. Offline



    @Carlos Fuentes can you block /kill command?

    @ShadowGamer776 try new version

    @Dev909 Can you try this in v2.0.2 or newer?

    @shadow265 do you have proper permissions for jailstick usage?

    @TheBeast808 any errors in console?
  10. Offline


    Works now

    Thank u
  11. Offline


    No, there are no errors in the console.
    EDIT: Oh, wait, I found some elusive errors:

  12. Offline


    How do i set a jail ?
  13. Offline


    Hi there! Found some annoying bug... The /home and /sethome command still works in spite of disabling it in the config file :/. Can you fix it, please?
  14. Offline


  15. Offline


    The plugin is supposed to send players to the nearest jail right? Its not doing that. My testuser gets sent to my 1st jail even though he is standing right next to the 2nd jail.
    2nd jail is quite a distance from the first one.
    Only one time he got sent to the 2nd jail and that was when my testuser was standing near the world spawn.. and the 1st jail was closer by. xD

    Also it would be nice if we could use the /jail and /unjail commands from the console. Right now i get this error when i try to use these command through the server console:
    2011-10-09 00:55:46 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'jail' in plugin Jail v2.0.3
        at org.bukkit.command.PluginCommand.execute(
        at org.bukkit.command.SimpleCommandMap.dispatch(
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
        at net.minecraft.server.MinecraftServer.b(
        at net.minecraft.server.MinecraftServer.h(
    Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.command.ColouredConsoleSender cannot be cast to org.bukkit.entity.Player
        at com.matejdro.bukkit.jail.commands.BaseCommand.execute(
        at com.matejdro.bukkit.jail.Jail.onCommand(
        at org.bukkit.command.PluginCommand.execute(
        ... 7 more
  16. Offline


    Is it possible that the Timer on the prison cell only goes down while the jailed player is logged on so it feels like they are actually in jail so they just dont log off and do other things then come back when there not jailed
  17. Offline


    Re-Read the config, that is a setting in there :)
  18. Code:
    [WARNING] Task of 'Jail' generated an exception
    	at com.matejdro.bukkit.jail.Jail$1$
    	at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(
    	at net.minecraft.server.MinecraftServer.h(
    bukkit 1240, jail 2.0.3
  19. Offline


    This is definitely not updated, it isnt even updated properly for CB1240 - try to jail via console. He hasnt yet added the new ConsoleSender things. And there are other issues well.
  20. Offline


    Ah with jail I just looked for basic functionality as I stated. (In-game jailing, unjailing, and so forth) - Bugs are certainly there however. My post simply reflected that it "works" with 1317. (Jailing, unjailing, creating jails.) - Which is all we truly use on our server.
  21. Offline


    Do you use it with MySQL or sqlite? Ever since 2.0.3 I cannot jail people anymore (already reported on the Ticket tracker) and am using MySQL.
  22. Offline


    I would be using Jail 2.0.3 with Mysql 5.5.16 located on localhost. All is well here (I have not however tested jailing through the console) - Ingame all is well though.
  23. Offline


    Help me! I give group "Moderator" this permission:
    - 'jail.*"
    When Moders try to use "/jail [playername]" they have this error:

    Attached Files:

  24. Offline


    Still after all this time I am unable to get /jailstick to work for anyone except operators.
    I am using the PEX permission system. It does support superperms.
    I have the latest version.
    The jailstick is set up properly
    The jailstick is set to enable.
    The Permissions are set up properly

    I granted my jailers with the -jail.* permission. They can do everything except /jailstick
    When they use /jailstick they get in return "Sorry, you are not allowed to do that!"

    Not exactly sure of anymore avenues I can attack this with. Is there something I am missing? Is it the PEX permission system?
    Ronny Lawson likes this.
  25. Offline

    Ronny Lawson

    @Soto_Black I have had the same problem with PermissionsBukkit, as have others as reported in this thread. I am confident that permissions nodes are correctly set, and yet they are denied permissions.

    To clarify, users in a group with jail.*: true, and jail.usejailstick280: true are still unable to stickjail, even when used against users with jail.canbestickjail:true. It just doesn't work with PermissionsBukkit. I have tried the latest stable PB build, and the latest dev build. No Dice.
  26. Offline


    2011-10-12 15:06:34 [WARNING] Task of 'Jail' generated an exception
     at com.matejdro.bukkit.jail.Jail$1$
     at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(
     at net.minecraft.server.MinecraftServer.h(
    On the more recent Dev CBs 1330~
    Just a headsup
  27. Offline


    @TheBeast808 Create ticket at bukkitdev for this. One error per ticket, please.

    @Megalanias /jailcreate

    @matekso Show me your config for that command

    @Snowy007 console sending is a bug that will be fixed in next version. If you try to manually jail him into second jail, does it work? Are both jails in same world as players?

    @Jordy97 yes, that is the whole point of this plugin :)

    @Spidi bukkitdev ticket, please.

    @Scofild update to v2.0.3

    @Soto_Black @Ronny Lawson do you have v2.0.3?

    @andrewkm please create bukkitdev ticket.
  28. Offline


    Huhu @matejdro

    Works good on #1317 for me. But
    - The complete /jail command works great, but if I only do: /jail < playername > <time>
    the player is jailed in cell 7 and the signs are empty.

    - /jail <playername> <time> <reason> <jailname:cellname>
    So we need no jail- and cellname to jail somone with a reason for a time ;)
  29. Offline


    just use /jail <playername> <time> nearest <reason>
  30. Offline


    Yes it works when i specify a jail for him to go to.
    Yes both jails are in the same world as the player.

    I also have some of these when a jailed player tries to break jail blocks.
    14:38:14 [SEVERE] Could not pass event PLAYER_INTERACT to Jail
    java.lang.ClassCastException: java.lang.Boolean cannot be cast to java.util.List
            at com.matejdro.bukkit.jail.Settings.getList(
            at com.matejdro.bukkit.jail.listeners.JailPlayerProtectionListener.onPla
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
            at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
            at net.minecraft.server.ItemInWorldManager.dig(
            at net.minecraft.server.NetServerHandler.a(
            at org.getspout.spout.SpoutNetServerHandler.a(
            at net.minecraft.server.Packet14BlockDig.a(SourceFile:43)
            at net.minecraft.server.NetworkManager.b(
            at net.minecraft.server.NetServerHandler.a(
            at org.getspout.spout.SpoutNetServerHandler.a(
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(
  31. Offline

    Ronny Lawson

    Yes, I do. Everything I have tested with 2.0.3 and latest PermissionsBukkit. Does it work for you? Multiple people are having problems with PermissionsBukkit. I have jail.*: true, and jail.usejailstick280: true, but am still unable to stickjail, even when used against users with jail.canbestickjailed:true. I am able to manually jail those users, just not stickjail. I can successfully use the /jailstick command, but waving the stick at someone does nothing.

Share This Page