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

  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

    ShadowGamer776

  5. Offline

    Dev909

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

    shadow265

    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

    ShadowGamer776

    How u fix it?

    I dont know how the jailstick work.
    (http://dev.bukkit.org/server-mods/jail/pages/jail-stick/)
    have u read it?
     
  8. Offline

    TheBeast808

    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

    matejdro

    Updated

    @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

    ShadowGamer776

    Works now

    Thank u
     
  11. Offline

    TheBeast808

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

     
  12. Offline

    Megalanias

    How do i set a jail ?
     
  13. Offline

    matekso

    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

    oskaroskar4

  15. Offline

    Snowy007

    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:
    Code:
    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(PluginCommand.java:42)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:358)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:354)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:506)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:485)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    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(BaseCommand.java:24)
        at com.matejdro.bukkit.jail.Jail.onCommand(Jail.java:242)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        ... 7 more
     
  16. Offline

    Jordy97

    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

    GmK

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

    GmK

    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

    andrewkm

    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

    GmK

    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

    andrewkm

    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

    Scofild

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

    Attached Files:

  24. Offline

    Soto_Black

    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

    andrewkm

    @matejdro
    Code:
    2011-10-12 15:06:34 [WARNING] Task of 'Jail' generated an exception
    java.lang.NullPointerException
     at com.matejdro.bukkit.jail.Jail$1$1.run(Jail.java:192)
     at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    -
    On the more recent Dev CBs 1330~
    Just a headsup
     
  27. Offline

    matejdro

    @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

    Jobsti

    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.

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

    matejdro

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

    Snowy007

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

    EDIT:
    I also have some of these when a jailed player tries to break jail blocks.
    Code:
    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(Settings.java:59)
            at com.matejdro.bukkit.jail.listeners.JailPlayerProtectionListener.onPla
    yerInteract(JailPlayerProtectionListener.java:184)
            at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.j
    ava:314)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:339)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEven
    t(CraftEventFactory.java:171)
            at net.minecraft.server.ItemInWorldManager.dig(ItemInWorldManager.java:9
    2)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:497)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :160)
            at net.minecraft.server.Packet14BlockDig.a(SourceFile:43)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java
    :500)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  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