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

    Shadew

    Would you mind adding a text tutorial as to how you make jails and jail cells?
     
  3. Offline

    matejdro

    @Darcion can you create ticket for this on Bukkit Dev?

    @Strahan guards appear when player leaves jail zone

    @Soto_Black do you have jail.usercmd.jailpay permission?

    @andrewkm thanks, will fix those. I think i know what is causing those entries, it will be removed.

    @Shadew You use /jailcreate to create jails and /jailcreatecells to create cells. Everything is explained to you ingame.
     
  4. Offline

    NordicBlue

    Im getting an error:
    12:16:29 [WARNING] Task of 'Jail' generated an exception
    java.lang.NullPointerException
    at com.matejdro.bukkit.jail.Jail$1$1.run(Jail.java:184)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:438)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  5. Offline

    chdsbd

    I am not able to create a jail with the /jailcreate <name> command. Any Ideas?
     
  6. Offline

    Soto_Black

    Yes I do have the permission added. However being on an administrative group I have access to all commands with the '*' permission. Even then typing in /jailpay it returns with a permissions error, which is something that should not occur since I have access to everything.
     
  7. Offline

    Carlos Fuentes

    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?
     
  8. Offline

    Sloppy101

    You should make it so that the prisoner can't make any commands while in jail, coz all the players tp home, or to other players.
     
  9. Offline

    Carlos Fuentes

    Oh and, one other issue. Seems to be that when I /jail someone, they get teleported to somewhere that's.. well, 1000 blocks away from the jail, where the old spawn used to be (coordinates 0 0 0)
     
  10. Offline

    Darcion

    @matejdro it failed on RB 1185 with my database too, i have to delete my hole DB to bring it to work

    i dont want to loose 300 prisoners and dont want to rework my jails

    same errors as i posted before

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

    Carlos Fuentes

    Okay, somehow I fixed the error where the jail was at (o o o)... But! Prisoners are still able to /warp, /tp, /home, /spawn, and /kill out of the prison. I tried blocking those commands as specified in the config, but that didn't work. So I tried making a "prisoners" permissions category (permissions 2.7.x I think) and that didn't work either, despite me enabling permissions changing within the config. heeeelp

    If someone that has command blocking working could message me their config or post it here that would be realllly appreciated!
     
  12. Offline

    killerhunt0

    @matejdro - I keep getting this every few seconds.
    2011-09-22 19:55:30 [WARNING] Task of 'Jail' generated an exception
    java.lang.NullPointerException
    at com.matejdro.bukkit.jail.Jail$1$1.run(Jail.java:184)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:439)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Maybe something to do with cells?
    Any help would be really helpful man.
     
  13. Offline

    Darcion

    your not alone
     
  14. this plugin is awesome, only 1 question.
    Im running with bukkit recommended for 1.8.1 and I can still make a jail ,but other admin cannot? no errors, no messages. When he types /jailcreate jailname <-- nothing happens :D not even the wooden sword come. When i do the same, i get the messages and instructions how to make a jail and the sword. He has exactly same permissions as me and he doesnt even get msg "you dont have permissions to do that" or such. Wonder whats going on with this? mby its just a bug coz this aint updated to 1.8.1 (newest bukkit) yet :) just wanted to let u know!
     
  15. Offline

    ScottSpittle

    me too
     
  16. Offline

    Vaupell

    LOVE this plugin and ive said it before. but im proud to say it again.. amazingly it also works 181 :D
     
  17. Offline

    _Blu3Wolf_

    Help! I have put the jail.jar in plugins. But It doesn´t make a order.
    This is my consol:

    161 recipes
    17 achievements
    14:36:56 [INFO] Starting minecraft server version Beta 1.8.1
    14:36:56 [INFO] Loading properties
    14:36:56 [INFO] Starting Minecraft server on *:25565
    14:36:56 [WARNUNG] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    14:36:56 [WARNUNG] The server will make no attempt to authenticate usernames. Be
    ware.
    14:36:56 [WARNUNG] While this makes the game possible to play without internet a
    ccess, it also opens up the ability for hackers to connect with any username the
    y choose.
    14:36:56 [WARNUNG] To change this, set "online-mode" to "true" in the server.set
    tings file.
    14:36:56 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-1067
    -g6301507-b1185jnks (MC: 1.8.1)
    14:36:56 [SCHWERWIEGEND] Could not load 'plugins\Jail.jar' in folder 'plugins':

    while scanning a simple key
    in "<reader>", line 124, column 13:
    jail.usercmd.jailstick
    ^
    could not found expected ':'
    in "<reader>", line 125, column 5:
    jail.command.jail:
    ^

    at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(Scanne
    rImpl.java:400)
    at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.jav
    a:231)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    2)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.java:564)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :228)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java
    :230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:12
    2)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)

    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:250)
    at org.bukkit.plugin.PluginDescriptionFile.<init>(PluginDescriptionFile.
    java:39)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:69)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:213)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:136)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:138)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:103)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:52)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:136)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    14:36:57 [INFO] [Permissions] (Phoenix) was Initialized.
    14:36:57 [INFO] NewsPapers.yml
    14:36:57 [INFO] colorsFile.yml
    14:36:57 [INFO] MLog clients using java 1.4+ standard logging.
    14:36:57 [INFO] Preparing level "RIESENBAHN"
    14:36:57 [INFO] Default game type: 0
    14:36:57 [INFO] Preparing start region for level 0 (Seed: -7466421994699076252)
    14:36:58 [INFO] Preparing spawn area: 56%
    14:36:59 [INFO] Preparing start region for level 1 (Seed: 5035205159290613408)
    14:36:59 [INFO] Preparing spawn area: 32%
    14:37:00 [INFO] BlocksOnGlass version 0.44 is enabled!
    14:37:00 [INFO] [BlocksOnGlass] Permission system detected.
    14:37:00 [INFO] CommandBook 1.5.2-customized enabled.
    14:37:00 [INFO] CommandBook: Maximum wrapper compatibility is enabled. Some feat
    ures have been disabled to be compatible with poorly written server wrappers.
    14:37:00 [INFO] CommandBook: 0 banned name(s) loaded.
    14:37:00 [INFO] CommandBook: 2 kit(s) loaded.
    14:37:00 [INFO] CommandBook: Permissions plugin detected! Using Permissions plug
    in for permissions.
    14:37:01 [INFO] Plugin Essentials Version 2.5.8 geladen, erstellt von Zenexer, e
    mentalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans, Xeology, KHobbits, ³be
    rsetzt von snowleo
    14:37:01 [INFO] Essentials: Using config based permissions. Enable superperms in
    config.
    14:37:01 [INFO] Plugin EssentialsChat Version 2.5.8 geladen, erstellt von essent
    ials team, ³bersetzt von snowleo
    14:37:01 [INFO] Initializing c3p0-0.9.1.2 [built 21-May-2007 15:04:56; debug? tr
    ue; trace: 10]
    14:37:01 [INFO] Plugin EssentialsProtect Version 2.5.8 geladen, erstellt von ess
    entials team, ³bersetzt von snowleo
    14:37:01 [INFO] Plugin EssentialsSpawn Version 2.5.8 geladen, erstellt von essen
    tials team, ³bersetzt von snowleo
    14:37:01 [INFO] [Permissions] version [2.7.4] (Phoenix) loaded
    14:37:01 [INFO] Essentials: Using Permissions 2 based permissions.
    14:37:01 [INFO] CommandBook: Permissions plugin detected! Using Permissions plug
    in for permissions.
    14:37:01 [INFO] Loading Config File...
    14:37:01 [INFO] Loading Config File...
    14:37:01 [INFO] Found and will use plugin Permissions v2.7.4
    14:37:01 [INFO] SignUtilities version 1.4 is enabled!
    14:37:01 [INFO] Stargate v.0.6.9 is enabled.
    14:37:02 [INFO] [Stargate] Loaded 1 gate layouts
    14:37:02 [INFO] [Stargate] {RIESENBAHN} No stargates for world
    14:37:02 [INFO] [Stargate] {RIESENBAHN_nether} No stargates for world
    14:37:02 [INFO] [Stargate] Found Permissions (v2.7.4)
    14:37:02 [INFO] WorldEdit 4.6 enabled.
    14:37:02 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin
    for permissions.
    14:37:02 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugi
    n for permissions.
    14:37:02 [INFO] WorldGuard: (RIESENBAHN) Single session is enforced.
    14:37:02 [INFO] WorldGuard: (RIESENBAHN) TNT ignition is PERMITTED.
    14:37:02 [INFO] WorldGuard: (RIESENBAHN) Lighters are PERMITTED.
    14:37:02 [INFO] WorldGuard: (RIESENBAHN) Lava fire is blocked.
    14:37:02 [INFO] WorldGuard: (RIESENBAHN) Fire spread is UNRESTRICTED.
    14:37:02 [INFO] WorldGuard: Loaded configuration for world 'RIESENBAHN"
    14:37:02 [INFO] WorldGuard: (RIESENBAHN_nether) Single session is enforced.
    14:37:02 [INFO] WorldGuard: (RIESENBAHN_nether) TNT ignition is PERMITTED.
    14:37:02 [INFO] WorldGuard: (RIESENBAHN_nether) Lighters are PERMITTED.
    14:37:02 [INFO] WorldGuard: (RIESENBAHN_nether) Lava fire is blocked.
    14:37:02 [INFO] WorldGuard: (RIESENBAHN_nether) Fire spread is UNRESTRICTED.
    14:37:02 [INFO] WorldGuard: Loaded configuration for world 'RIESENBAHN_nether"
    14:37:02 [INFO] WorldGuard: Unable to register missing event type SNOW_FORM
    14:37:02 [INFO] WorldGuard 5.2.2 enabled.
    14:37:02 [INFO] Server permissions file permissions.yml is empty, ignoring it
    14:37:02 [INFO] Done (0,498s)! For help, type "help" or "?"
    14:37:07 [INFO] _Blu3Wolf_ [/127.0.0.1:51748] logged in with entity id 34 at ([R
    IESENBAHN] -774.5, 84.0, 5641.5)
    14:37:07 [INFO] Loaded world: riesenbahn
    14:37:09 [INFO] New max size: 484
    14:37:09 [INFO] New max size: 784
    14:37:27 [INFO] Connection reset
    14:37:27 [INFO] _Blu3Wolf_ lost connection: disconnect.quitting

    Please HELP ME! Is the plugin up to date?
     
  18. Offline

    matejdro

    Updated.

    Here is link until BukkitDev approves file: http://dev.bukkit.org/media/files/543/394/Jail.jar

    @NordicBlue @Soto_Black @Darcion @killerhunt0 @ScottSpittle fixed with new version

    @chdsbd @Semirotta do you have permissions?

    @Carlos Fuentes use new format:

    Code:
        PreventCommands:
        - /spawn
        - /tp
        - /warp
        - /home
    @Sloppy101 you can already do that

    @andrewkm nice to hear that. Thanks for the report.

    @Vaupell thanks

    @_Blu3Wolf_ make a ticked on BukkitDev and post config please.
     
  19. Yes i do and obviously there is few other commands which wont work.
    I am owner and hoster of the server: i can use ALL commands.
    I have admin Tr33frog , who has name also in op list and should have ALL same commands as i do but still he doesnt? I use permission 3.1.6
     
  20. Offline

    matejdro

  21. Offline

    Carlos Fuentes

    That issss actually what I'm using as my format :/ still no dice, though. I'm oldschool, using permissions 2.x, could that be causing the issue? I feel like that's not it, since the ability to execute a command within a jail is probably not dependent on permissions, is it?
     
  22. where can i find the new downloadlink form jail 2.0.1 ? or 2.0.2 ?
     
  23. Offline

    matejdro

  24. When you pay free form jail than you pay the full price for example:
    You must sit 10 minutes in the jail and
    1 minutes cost 10 Euro and
    the lifetime pay cost 9999
    And when you make /jailpay 100
    than you make a message that you have pay 9999
     
  25. Offline

    Naymul

    Hi PLEASE HELP ME!!! I installed the and i try using the commands but it says, 'Bukkit sad.Bukkit want you to access command, but Bukkit cannot let you. Bukkit will leak tears :( .' Even though I set up the permissions correctly.
     
  26. Offline

    matejdro

    Which permissions system do you have?
     
  27. Offline

    daallie

    Make sure that you have your permissions plugin up to date.....I was getting that error and simply needs to update Group Manager

    I do have an issue though (Something I think you fix is 2.0.2 but can't find the link for it)

    Code:
    2011-09-24 10:38:32 [SEVERE] Error occurred while enabling Jail v2.0.1 (Is it up to date?): com/sk89q/worldedit/In$
    java.lang.NoClassDefFoundError: com/sk89q/worldedit/IncompleteRegionException
            at com.matejdro.bukkit.jail.Jail.onEnable(Jail.java:153)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:920)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.ClassNotFoundException: com.sk89q.worldedit.IncompleteRegionException
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 11 more
    
     
  28. Offline

    Soto_Black

    I got my first issue resolved.

    Permissions are working correctly now. However /jailstick does not work even with the permissions given. I have set it all up correctly. When someone types /jailstick nothing happens. They can use all the other commands I grant them through permissions, but not that one.

    I do have it enabled in the configuration. I have gone through all the configurations in both PEX and Jail. Still I cannot give access to this command.

    Code:
    groups:
        default:
            default: true
            permissions:
            - jail.usercmd.jailpay
            - jail.command.jail
            - jail.command.unjail
            - jail.command.jailtransfer
            - jail.command.jailtransferall
            - jail.command.jailcheck
            - jail.usejailstick280
            - jail.command.jailcheck
            - jail.command.jaillistcells
            - jail.command.jaillist
            - jail.usercmd.jailstick280
            - jail.usercmd.jailstick
            - jail.command.jailstick
            - modifyworld.*
    
     
  29. Offline

    Omen

    Im having an issue where a prisoner escapes and is killed by the guard dogs but when he respawns, he is not teleported back into his cell, he is teleported back to spawn, then attacked and respawns at spawn and repeats. Is this something that is happening to anyone else?

    Suggestion, is it possible to make it so if the prisoner is assisted in killing the guards, another set of guards are spawned instantly and they then attacks the person assisting the prisoner? Then if they kill all of the guards the prisoner is free.
     
  30. Does this error mean that I have to have worldedit ? But I don't want to install it :|

    Code:
    2011-09-25 06:04:28 [SEVERE] Error occurred while enabling Jail v2.0.1 (Is it up to date?): com/sk89q/worldedit/IncompleteRegionException
    java.lang.NoClassDefFoundError: com/sk89q/worldedit/IncompleteRegionException
    	at com.matejdro.bukkit.jail.Jail.onEnable(Jail.java:153)
    	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:920)
    	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    	at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:173)
    	at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:156)
    	at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
    	at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
    	at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.ClassNotFoundException: com.sk89q.worldedit.IncompleteRegionException
    	at java.net.URLClassLoader$1.run(Unknown Source)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.net.URLClassLoader.findClass(Unknown Source)
    	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    	at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    	at java.lang.ClassLoader.loadClass(Unknown Source)
    	at java.lang.ClassLoader.loadClass(Unknown Source)
    	... 11 more
     
  31. Offline

    BaranBarut

    Hmmm....the create jail command seems to not work,this renders jails useless. Grateful if ya fixed this :D
     

Share This Page