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

    xZise

    Nice and nice. Hopefully you release the 1.2 very soon, because the development of the jail is stalling, as the user couldn't edit it.

    Another “request”: Is it somehow possible to prevent creepers from destroying the jail?

    Fabian
     
  4. Offline

    noahwhygodwhy

    the jail timing isn't working,
    my config is:
    Code:
    MessageJailReason = §cYou have been jailed! Reason: <Reason>
    BucketProtection = true #Should we protect prisoners against using buckets?
    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.
    MySQLPassword = password #MySQL Password (only if using MySQL)
    MessageMute = Stop chatting and quietly wait for the end of your sentence!
    MessageDestroyPenalty = §cDo not destroy The Jail! You have just earned additional 15 minutes in jail!
    FireProtection = true #Should we protect prisoners against starting fires?
    JailStickParameters = 280,5,10,,police;50,5,20,,admin #Parameters for JailStick feature. Form: item id,range,time,jail name,reason. You may create multiple entries and split them with semicolon (;). You may leave jail name or reason blank.
    AlwaysTeleportIntoJailCenter = false #When player tries to escape, should he always be teleported back to teleport point? Otherwise, he will simply be kept inside jail?
    BlockDestroyPenalty = 15 #For how much time is prisoner's time increased if he tries to destroy jail. Use 0 to disable penalty.
    EnableJailStick = false #Should we enable jailing with an item?
    MessageFirePenalty = §cDo not try to burn the jail! You have just earned additional 15 minutes in jail!
    BlockPlacePenalty = 10 #For how much time is prisoner's time increased if he tries place block inside jail. Use 0 to disable penalty.
    SignText = <Player>[NEWLINE]<Time> minutes[NEWLINE]for[NEWLINE]<Reason> #Text that appears on the cell sign.
    MessageDestroyNoPenalty = §cDo not destroy The Jail!
    MessageMovePenalty = §cDo not try to escape out of Jail! You have just earned additional 30 minutes in jail!!
    AutomaticMute = false #Should prisoners be automatically muted after jailing?
    MessageCommandPenalty = §cDo not try to escape with commands! You have just earned additional 10 minutes in jail!
    PreventCommands = /spawn,/kill,/warp #Which commands should we prevent from using in jail?
    MySQLConn = jdbc:mysql://localhost:3306/minecraft #MySQL Connection string (only if using MySQL)
    BlockDestroyProtection = true #Should jail be protected against destroying it?
    SelectionTool = 268 #What tool is used to create jail zones. Default: Wooden sword.
    MessageFireNoPenalty = §cDo not try to burn the jail!
    MessageCommandNoPenalty = §cDo not try to escape with commands!
    BucketPenalty = 10 #For how much time is prisoner's time increased if he tries to use a bucket? Use 0 to disable penalty.
    MessageTransfer = §9You have been transferred to another jail!
    MessageMoveNoPenalty = §cDo not try to escape out of Jail!
    DeleteInventoryOnJail = false #Should we delete player's inventory when jailing?
    MessageJail = §cYou have been jailed!
    CommandPenalty = 10 #For how much time is prisoner's time increased if he tries to use forbidden command. Use 0 to disable penalty.
    MySQLUsername = root #MySQL Username (only if using MySQL)
    MessageBucketPenalty = §cDo not try to flood the jail! You have just earned additional 10 minutes in jail!
    NearestJailCode = nearest #If you enter this as a jail name, it will automatically search for nearest jail.
    EnableEscape = false #When player moves out of the jail, he will be released instead of teleported back.
    BlockPlaceProtection = true #Should jail be protected against placing blocks in it it?
    UseMySQL = false #true = use MySQL database / false = use SQLLite
    MessagePlaceNoPenalty = §cDo not place blocks inside Jail!
    MessageUnJail = §2You have been released! Please respect server rules.
    MessagePlacePenalty = §cDo not place blocks inside Jail! You have just earned additional 10 minutes in jail!
    MessageBucketNoPenalty = §cDo not try to flood the jail!
    StoreInventory = true #Should we take player's inventory when he get jailed and return it to him when he gets released?
    FirePenalty = 10 #For how much time is prisoner's time increased if he tries to start a fire? Use 0 to disable penalty.
    
    any idea what i've done wrong?

    EDIT-----------------------------------------
    just realized that it won't let me set a reason. it gives me this error:
    Code:
    21:36:25 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'jail
    ' in plugin Jail v1.1.0
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    8)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    87)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:712)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:678)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:671)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NumberFormatException: For input string: "SUCKA!"
            at java.lang.NumberFormatException.forInputString(Unknown Source)
            at java.lang.Integer.parseInt(Unknown Source)
            at java.lang.Integer.valueOf(Unknown Source)
            at com.matejdro.bukkit.jail.Jail.PrepareJail(Jail.java:241)
            at com.matejdro.bukkit.jail.Jail.onCommand(Jail.java:700)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    21:36:30 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'jail
    ' in plugin Jail v1.1.0
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    8)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:2
    87)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:712)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:678)
    
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:671)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NumberFormatException: For input string: "SUCKA!"
            at java.lang.NumberFormatException.forInputString(Unknown Source)
            at java.lang.Integer.parseInt(Unknown Source)
            at java.lang.Integer.valueOf(Unknown Source)
            at com.matejdro.bukkit.jail.Jail.PrepareJail(Jail.java:241)
            at com.matejdro.bukkit.jail.Jail.onCommand(Jail.java:700)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
            ... 12 more
    >
     
  5. Offline

    Scandragon

    Could we please have a way to edit cells?
    And preferably also a way to delete cells so one can start over if errors happen

    It's pretty impossible to properly create cells when the plugin often times registers TWO right clicks at once
     
  6. Offline

    ipie5

    It still doesnt work...
     
  7. Offline

    Hempa

    plz update
     
  8. Offline

    matejdro

    @xZise creeper protection already done in v1.2. Until that you can use command.jailcreate permission to modify the jail.

    @noahwhygodwhy how you typed commnad?

    @Scandragon cell deleting will come in v1.2. As for double click, i cannot do much as i only process events that bukkit triggers. It' either minecraft or bukkit issue.

    @ipie5 What about low-case?

    @Hempa update to what?
     
  9. Offline

    noahwhygodwhy

    /jail [IGN] reason


    /jail [IGN] works, but with a reason, it doesn't
     
  10. Offline

    matejdro

    Proper command is /jail name time jailname reason.
     
  11. Offline

    xZise

    Okay this workaround seems to working.

    Fabian
     
  12. Offline

    Sorken

    @matejdro
    User have reported that sleeping in a bed when getting released will not teleport the player out of jail, their items are returned though. Using CB887.
     
  13. Offline

    Fob_Upset

    Code:
    Mod:
        default: false
        permissions:
        - commandbook.broadcast
        - commandbook.say
        - mcbans.ban.temp
        - mcbans.kick
        - mcbans.mod
        - mcbans.mute.player
        - mcmmo.chat.adminchat
        - nocheat.notify
        - jail.*
        inheritance:
        - member
        info:
          prefix: '&b[Mod]&f'
          interact: true
          build: true
          suffix: ''
    Mod and any group above it when they type /jail it didn't say anything or even if its a unknown command.
    they try to jail a people but the player isn't jailed or receive any messages.

    I can use the plugin fine but i got Op and have every command.
     
  14. Offline

    dekki2

    ok It still not working it not say any error it just disconnect all players and me when i jail somebody and when it says connection lost:read timeout something like that but server dont show any errors only disconnect can you plz make it compatible whit version 860 build it will be cool
    i love your plugon from video and want it on my server
    its will be one perfect plugin more on server.
     
  15. Offline

    matejdro

    @Fob_Upset i heard of bug in permission that did not apply last line. Try moving jail line to the top of the permission list.

    @dekki12 check log files, error is usually printed here if you cannot read it when it closes down.
     
  16. Offline

    noahwhygodwhy

    sigh...thanks, i also discovered that today when i did /jail but forgot to do anything else, then it gave me the full syntax, i feel like an idiot.
     
  17. Offline

    Scandragon

    Alright, after setting up the jail with all cells I tested it.
    I did test it prior to this aswell, with no issues.. Could walk around in the cell and all

    However, when I jailed a nonadmin, they were spammed with warnings not to try to escape.. Even just trying to look around without moving added 30 minutes to time

    Oh and not to mention.. After 20 seconds it crashed the server completely.. No crashlog, no errors on boot..
     
  18. Offline

    matejdro

    You have not selected ceiling and floor
     
  19. Offline

    Gangsta_hotdog

    Nice, I love this plugin! Do you think you could add the auto name detecting? Like, if you typed /jail gangsta, and somebody called Gangsta_Hotdog was in the game, it would jail them instead of typing their entire name? It would make it much simpler to quickly jail griefers with long/awkward names before it's too late. :D
     
  20. Offline

    matejdro

    sounds good. Just probably it won't support offline jail because of false positives (imagine being jailed because you had similar name than that griefer :))
     
  21. Offline

    ZenaB

    The search isn't great on these forums, so apologies if it's already been asked - how would you change the teleport locations? I'm guessing /jailset but what parameter and value format is it expecting?
     
  22. Offline

    matejdro

    /jailset <jail name> telepoint

    I'm working on better documentation for v1.2.
     
  23. Offline

    Maniox

    Where is the "bukkit" folder

    If its the craftbukkit dont call it the bukkit folder because its frickin' confusing
     
  24. Offline

    Psycho Robot

    Bukkit folder refers to the folder where craftbukkit.jar is located. Were you aware that craftbukkit is just one part of bukkit? Its true!
     
  25. Offline

    xZise

    I think is more the other way around: Bukkit is part of CraftBukkit. Bukkit itself works without CraftBukkit, and theoretically it is possible, to create a Minecraft Server which hasn't to be CraftBukkit. But normally they are used as synonyms, and why shouldn't there a “bukkit” folder? As long as it doesn't depend on CraftBukkit, it should also work, with the other Minecraft Server, which implements Bukkit but isn't CraftBukkit.

    Fabian
     
  26. Offline

    Hwkeye

    There's already a "sqlite.jar" inside the lib folder and I think it's from a different problem (I don't know). What do I do?
     
  27. Offline

    kajo3

    i contiously get this error while no player is jailed nor jail is used in any way using cb860:
     
  28. Offline

    matejdro

    Updated.



     
  29. Offline

    kajo3

    Thanks for your great work! The error is now gone with the new version but now something strange happened, after the setup of your Jail plugin me nor any player is able to access their chest in any world... how could this be? :S
    I did nothing else than to update your plugin, before the chests where working fine.

    *EDIT* also doors and some other things seems not to work in the entire world. when i remove the jail plugin and restart the server, erverything is fine again
     
  30. Offline

    matejdro

    They need permission to open chest.
     
  31. Offline

    xZise

    Hmmm, I'm still using Jail 1.1.0, but we have a jail with many beds within. Is it possible to create cells for more than a person?

    And another question: Are the prisoners sleeping? The player has a sleeping flag. If set, and everybody is in bed or has this flag, the time will forward like everybody is in bed. Don't know if you already support this, but if not, you could prevent prisoners from revolting.

    Fabian
     

Share This Page