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

    GameFAQsRolo

    I am running both BB 1.5 and jail 0.3.2 with sqlite on CB #254 and not having any conflicts, yet.

    On another note, I can confirm the problem with being able to jail only one person at a time per jail. This makes things very complicated to track when we try to have multiple jails as a workaround.
     
  3. Offline

    matejdro

    Updated

    @GameFAQsRolo What happens if you jail second person? Error?
     
  4. Offline

    GameFAQsRolo

    I just gave 0.4 a quick test on CB #262 with a couple random players and I can jail multiple players fine in one jail now. I also tested /jailstatus, /jaildelete, the players trying to /warp and the problems I was having are gone. I don't see any immediate problems anymore. If I find anything else, I will let you know. Thanks for the plugin. [​IMG]
     
  5. Offline

    Vaupell

    Love it, but i just testet on a 271 build, not working. Was working on 264 build.
    looking forward to an update..

    EDIT : update after i removed ichat cause of some errors i got from it.
    Jail got back to working again after a server relaunch..

    So it works fine with 271
     
  6. Offline

    iSushi

    Oh... iConomy support ~ Let's bailout that guy guy's, with money!
     
  7. Offline

    Moe041991

    I'd love to use this. But i dont want to mess around with SQL (and dont thim iam able to).

    Is there any similar mod basing on WorldEdit for exsample?
     
  8. Offline

    iSushi

    I don't use MySQL. Use SQLlite, just drag it into the same folder you have your craftbukkit and do as you do with a flatfile (drag the .jar file to the plugins directory/folder). It's really simple.
     
  9. Offline

    Exone

    I'd really like a "Guard Mode" for this, for instance, the stick act as a baton, if one kill/hit a player with it they go to jail.
    So I could give one group the 'Jail.guard.on' node for example. And they'll be guards!

    Also, I think this is conflicting with BigBrother. It renders BigBrother useless sometimes, and sometimes they both work.
     
  10. Offline

    iSushi

    I totally agree~ Would be a nice feature. I thought about doing something about that.
    It would be awesome if HeroBounty and this plugin worked with each other... That would add a really nice server feature. Making players set bounties on players who have done bad stuff, and either kill them or bring them in to jail :p ...Western (I hate it, but it fits well with Minecraft multiplayer somehow) wanted style ^^

    EDIT: Sorry forgot to add my idea. Set them as automatically "wanted" when they escape the jail. I use iron doors and a redstone circuit that anyone can trigger. It toggles from on and off (via. a memory circuit) and opens a closes the jail. So the player got an alternative from bailout the player or keep the jail locked.

    That would be awesome with iConomy support. Players would hunt other players that have escaped. Gives some realism to the game as well as a good way to make players earn money. It would make every other plugin trying to do this look silly :p ...

    And if you extend the idea, contact the guy who made the dynamic map plugin as well. So wanted players would have a red border around them tracking them, or "wanted player was last seen in this chunk"... Would be damn awesome :D
     
    Exone likes this.
  11. Offline

    Exone

    I like your ideas!
    HeroBounty <-> Jail would be awesome.

    This could really help servers to get 'More user driven', so that's stealing is aloud, but comes with punishment!
    And players could sign up as guards etc.

    And yes, I'd like 'Western styled bountyhunter' or just like.. LOTR Bounty hunter :3
    hmm.. a banish plugin would be c00l.
    But that's not for this plugin lol.
     
  12. Offline

    iSushi

    heh. Now lets see what the author got to say :p ... I'd still like Dynamic maps to show "wanted player was last seen in this chunk" with a red border around it. Since then nobody knows where the wanted player is at player (typical the theif is on the run. Normal players show because they don't "hide"), the player is is not visible on the map (and more theifing can be done). When another player renders a chunk the wanted player is in, the dynmap will update the "last chunk seen in" again. And maybe even notify the player if he has accepted the bounty.

    Thanks, it's cause of you I got up to this :p ... I'm just continuing to blabber ^^
     
  13. Offline

    Lunar Delta

    Could not get /jaildelete to work no matter what. Tried it on several different versions of CB. Sad, because this looks both amusing and useful.
     
  14. Offline

    GameFAQsRolo

    As I was getting ready to test some of the new CB builds and plugin updates, I found some very trivial flaws in 0.4. In Jail.properties, by default, the fire message says 15 minutes, but the default fire penalty is 10 mins. In your plugin.yml, the version is still listed as 0.3.2.
     
  15. Offline

    matejdro

    @Exome and iSushi Role play support is planned. I'm little busy currently, but will probably start to work on it by the end of the week. I also like Dynamic map idea :)

    @Lunar Delta Do you get any error?

    @GameFAQsRolo thanks for the feedback.
     
  16. Offline

    iSushi

    Take your time with developing, it's good as it is now as well. These are just features that would make it even even better. So really take your time if your busy~

    Anyway, Roleplay support; you mean interigating both of the plugins I listed?, or do you mean by making a seperate thing?... In my opinion, some corporation here would output the best result :p
     
  17. Offline

    Jarchuleta

    I have problems using mysql on vers .4 with crafktbukkit 297.
    Code:
    java.sql.SQLException: No suitable driver found for mysql://minecraft.jamesarchu
    leta.com:3306/Minecraft
            at java.sql.DriverManager.getConnection(Unknown Source)
            at java.sql.DriverManager.getConnection(Unknown Source)
            at com.matejdro.bukkit.jail.InputOutput.createConnection(InputOutput.jav
    a:39)
            at com.matejdro.bukkit.jail.InputOutput.getConnection(InputOutput.java:3
    0)
            at com.matejdro.bukkit.jail.InputOutput.PrepareDB(InputOutput.java:312)
            at com.matejdro.bukkit.jail.Jail.onEnable(Jail.java:60)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:135)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:410)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:175)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:74)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:55)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:169)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:156)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:108)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:207)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    Feb 9, 2011 8:45:35 PM org.bukkit.craftbukkit.CraftServer loadPlugins
    SEVERE: null (Is it up to date?)
    java.lang.NullPointerException
            at com.matejdro.bukkit.jail.InputOutput.PrepareDB(InputOutput.java:313)
            at com.matejdro.bukkit.jail.Jail.onEnable(Jail.java:60)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:135)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:410)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:175)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:74)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:55)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:169)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:156)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:108)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:207)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    
     
  18. Offline

    Jobsti

    oh it works so fine. many thanks!
    I've build a jail with an outdoor area ;)
     
  19. Offline

    spoonikle

    i believe what he means by role-play support, is features that do not involve ADMIN level privlages, but instead for use by players. such as the guard baton, or as i called it jail warp baton, or paying bail, placing bounty's, and even an escape method/skill. role-play support is a suite of features that encompass the Role of a jail in a player driven RP and not any one feature.

    so it could mean anything, and making the statement "role-play" support allows the developer flexibly in his implementation.
     
  20. Offline

    matejdro

    @Jarchuleta try using double slashes

    mysql://minecraft.jamesarchuleta.com:3306//Minecraft

    spoonikle, thanks for great explanation :)
     
  21. Offline

    Jobsti

    Huhu,

    I've tested jail with #298
    all is working, but PreventCommands NOT.
    Users can use /spawn and /home.

    mods have - 'jail.command.*'
    members only - 'jail.usercmd.jailstatus'

    With #278 it worked.

    If I type /jail Jobsti, I can use /jailstatus (you jailed forever)
    If I use /jail Jobsti 1, /jailstatus don't work
    --- merged: Feb 10, 2011 8:08 AM ---
    EDIT:

    I've got the error.
    If I use PlayerMoveProtection = true
    PreventCommands works!* If it's false, PreventCommands doesn't work.
    *works with MyHome too

    Can you fix this please? Because I have an outdoorarea for my prisoners ;)
     
  22. Offline

    Outlaw_Shadow

    Are you supposed to be able to physically see the jailed players? I set up a jail with glass windows, and test jailed one of my moderators. He saw the room, but we could not see each other. I tried to /jailtelein, and it worked, but i could not see my prisoner. I was just wondering if it is supposed to be like that. I can work out the bugs myself if it is an plugin conflict or what-not.

    On a side note, I love this plugin! No problems for me as far as commands go, and other plugin compatibility. (even if I am supposed to be able to see prisoners :D)

    EDIT: Updated to cb307 and fiddled around with mySQL for something unrelated, and viola! I can now see my prisoners.
     
  23. Offline

    Nazerb

    i can seem to be able to delete the jail but i can do everything else
     
  24. Offline

    GameFAQsRolo

    I updated my test server with CB #312 and Jail 0.4 is throwing some errors.

    /jailstatus
    Code:
    Feb 11, 2011 8:44:08 PM org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event PLAYER_COMMAND to Jail
    java.lang.NullPointerException
            at com.matejdro.bukkit.jail.JailPlayer.onPlayerCommand(JailPlayer.java:2
    79)
            at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.ja
    va:144)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:60)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:214)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:616)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:589)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:232)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:317)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:232)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    2011-02-11 20:44:08 [INFO] Player tried command: jailstatus
    When breaking a block
    Code:
    Feb 11, 2011 8:44:20 PM org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event BLOCK_DAMAGED to Jail
    java.lang.NullPointerException
            at com.matejdro.bukkit.jail.JailBlock.onBlockDamage(JailBlock.java:33)
            at org.bukkit.plugin.java.JavaPluginLoader$21.execute(JavaPluginLoader.j
    ava:226)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:60)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:214)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:381)
            at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
            at net.minecraft.server.NetworkManager.a(SourceFile:232)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:317)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:232)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    /jaildelete
    Code:
    Feb 11, 2011 9:24:04 PM org.bukkit.plugin.SimplePluginManager callEvent
    SEVERE: Could not pass event PLAYER_COMMAND to Jail
    java.lang.NoSuchMethodError: org.bukkit.Server.getWorlds()[Lorg/bukkit/World;
            at com.matejdro.bukkit.jail.Jail.PrepareTransferAll(Jail.java:219)
            at com.matejdro.bukkit.jail.JailPlayer.onPlayerCommand(JailPlayer.java:4
    1)
            at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.ja
    va:144)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:60)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:214)
            at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:616)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:589)
            at net.minecraft.server.Packet3Chat.a(SourceFile:24)
            at net.minecraft.server.NetworkManager.a(SourceFile:232)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:317)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:232)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    2011-02-11 21:24:04 [INFO] Rolo issued server command: jaildelete jail
    I've been planning on updating from CB #262 to the latest, but I might just wait. [​IMG]
     
  25. Offline

    Haseo

    I'm getting the exact same error when attemting to delete my jails, anyone have any ideas how to fix?
     
  26. Offline

    matejdro

    Jail deleting error is caused by multiworld update. Expect fix soon.
     
  27. Offline

    afmiller

    I have the mod up and running it seems, but im fuzzy on how to set up the Permissions config so I can create a jail
     
  28. Offline

    stavos

    Can someone help me figure this out?
    I want ALL users to be able to see their jail status.
    This is what I have so far but nothing displays to the default group when they type it, however me as an admin can see it.

    Code:
    permissions: [jail.jailstatus] 
    Is this correct, or am I missing something?
     
  29. Offline

    matejdro

    Use ' instead of brackets. And permission is jail.usercmd.jailstatus. So:

     
  30. Offline

    axebyte

    everything seems to work since i updated.
    except i can not define new jail areas. the old exiting ones work. but after /jailcreate name i cant tap wooden sword anywhere, just does not function.
    on build 320 craftbukkit i think.
     
  31. i've got quite a strange problem... Jail isn't loading at all... i mean, there aren't any messages saying that Jail loaded when the server started.
    When i enable jail through /plugin load (essentials plugin), it says it enabled and activated it, but when you look at the console, it doesn't show anything (nothing about loading or enabling plugins).
    This was working before, but as of now (updated to craftbukkit 323), it does not work.

    I believe this is because of the BlockBreakEvent that was added for this version (probably has effects on the protection of jail)[​IMG]
     

Share This Page