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

    Mr_H4mm3r

    ok :) Glad you found out :)
     
  3. Offline

    XxYoshirulzxX

    hey, nice plugin. simply love it [cake]. nice on there:D

    *one

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

    Tadas159

    Works fine on Windows, but then, when i run it on a private server with Deabian OS i get this:
    Code:
    2012-01-20 17:35:26 [SEVERE] Error occurred while enabling Jail v2.0.5 (Is it up to date?): special characters are not allowed
    unacceptable character '?' (0xFFFD) special characters are not allowed
    in "<string>", position 1801
        at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:70)
        at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:50)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
        at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:59)
        at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:143)
        at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:109)
        at com.matejdro.bukkit.jail.InputOutput.LoadSettings(InputOutput.java:92)
        at com.matejdro.bukkit.jail.Jail.onEnable(Jail.java:101)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:188)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:968)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:186)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:169)
        at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:348)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:335)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:165)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:399)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
     
  5. Offline

    Mr_H4mm3r


    unacceptable character '?' (0xFFFD) special characters are not allowed
    in "<string>", position 1801


    You have a ? in a string (message) can you try remove it??
     
  6. Offline

    Tadas159

    There's no thing like that in my config
     
  7. Offline

    Mr_H4mm3r

    Can you please post it?
     
  8. Offline

    Tadas159

    Code:
    SelectionTool: 268
    ExecutedCommandsOnJail: []
    ExecutedCommandsOnRelease: []
    DeleteInventoryOnJail: false
    AutomaticMute: false
    NearestJailCode: nearest
    StoreInventory: true
    SignText: <Player>[NEWLINE]<TimeS>[NEWLINE]for[NEWLINE]<Reason>
    CanPrisonerOpenHisChest: true
    LogJailingIntoConsole: true
    CountdownTimeWhenOffline: false
    SpoutChangeSkin: false
    SpoutSkinChangeURL: http://www.minecraftskins.com/view/168701.png
    ManualJails: []
    ManualCells: []
    ReleaseBackToPreviousPosition: false
    IgnorePrisonersSleepingState: true
    EnableJailStick: false
    Protections:
      EnableBlockDestroyProtection: true
      BlockDestroyPenalty: 1
      EnableBlockPlaceProtection: true
      BlockPlacePenalty: 1
      BlockProtectionExceptions:
      - '59'
      EnablePlayerMoveProtection: true
      PlayerMoveProtectionPenalty: 1
      PlayerMoveProtectionAction: guards
      PreventCommands:
      - /spawn
      - /kill
      - /warp
      CommandProtectionPenalty: 1
      PreventInteractionBlocks:
      - '69'
      - '72'
      - '70'
      - '46'
      - '64'
      - '96'
      - '77'
      PreventInteractionItems:
      - '326'
      - '327'
      - '259'
      InteractionPenalty: 1
      EnableExplosionProtection: true
      EnablePVPProtection: true
      EnableChangingPermissions: false
      PrisonersPermissionsGroups:
      - prisoners
      RestorePermissionsToEscapedPrisoners: false
      MaximumAFKTime: 0
      EnableFoodControl: true
      FoodControlMinimumFood: 2
      FoodControlMaximumFood: 5
    JailPay:
      EnableJailPay: true
      PricePerMinute: 25
      PriceForInfiniteJail: 0
      Currency: 0
    Guards:
      GuardHealth: 8
      GuardArmor: 0
      GuardDamage: 2
      NumberOfGuards: 3
      GuardInvincibility: false
      GuardAttackSpeedPercent: 100
      RespawnGuards: false
      GuardTeleportDistance: 0
    Database:
      UseMySQL: true
      MySQLConn:
      MySQLUSername:
      MySQLPassword:
    Messages:
      MessageJail: §cYou have been jailed!
      MessageJailReason: '§cYou have been jailed! Reason: <Reason>'
      MessageUnJail: §2You have been released! Please respect server rules.
      PlayerNotJailed: That player is not jailed!
      MessageYouNotJailed: You are not jailed!
      BlockDestroyedNoPenalty: §cDo not destroy The Jail!
      BlockDestroyedPenalty: §cDo not destroy The Jail! You have just earned additional 15 minutes in jail!
      MessageEscapeNoPenalty: §cDo not try to escape out of Jail!
      MessageEscapePenalty: §cDo not try to escape out of Jail! You have just earned additional 30 minutes in jail!!
      MessageBlockPlacedNoPenalty: §cDo not place blocks inside Jail!
      MessageBlockPlacedPenalty: §cDo not place blocks inside Jail! You have just earned additional 10 minutes in jail!
      ForbiddenCommandNoPenalty: §cDo not try to escape with commands!
      ForbiddenCommandPenalty: §cDo not try to escape with commands! You have just earned additional 10 minutes in jail!
      ForbiddenTransfer: §9You have been transferred to another jail!
      MessageMuted: Stop chatting and quietly wait for the end of your sentence!
      PreventedInteractionNoPenalty: Don't do that in Jail!
      PreventedInteractionPenalty: Don't do that in Jail!  You have just earned additional 10 minutes in jail!
      MessageAFKKick: Do not be AFK in jail!
      MessageJailPayAmountForever: To get out of this mess, you will have to pay <Amount>.
      JailPayNotEnoughMoney: You don't have that much money!
      JailPayNotEnoughMoneySelected: That won't be enough for your sentence!
      JailPayCost: 1 minute of your sentence will cost you <MinutePrice>. That means that cost for releasing you out of the jail is <WholePrice>.
      JailPayPaidReleased: You have just payed <Amount> and saved yourself from the jail!
      JailPayPaidReleasedHim: You have just payed <Amount> and saved <Prisoner> from the jail!
      JailPayLoweredTime: You have just payed <Amount> and lowered your sentence to <NewTime> minutes!
      JailPayLoweredTimeHim: You have just payed <Amount> and lowered <Prisoner>'s sentence to <NewTime> minutes!
      TimeMinutes: <Time> minutes
      JailStatus: You are jailed for <TimeS> by <Jailer>
      JailStatusReason: You are jailed for <TimeS> by <Jailer> because of <Reason>
    Mesasges:
      JailPayCannotPay: Sorry, money won't help you this time.
      JailPayCannotPayHim: Sorry, money won't help him this time.
    Messagse:
      Forever: ever
    JailStickParameters: 280,5,10,,police;50,5,20,,admin
    
     
  9. Offline

    Mr_H4mm3r

    Database:
    UseMySQL: true
    MySQLConn:
    MySQLUSername:
    MySQLPassword:

    You removed the passwords?? Try regenerate your config :)??
     
  10. Offline

    misteryman321

    i need help ok when i jail someone all of asudden they get attacked in there cell and at me can someone help and yes im using the latest version of the jail plugin
     
  11. Offline

    Mr_H4mm3r

    When you are creating your jail are you taking the cells with the region?
     
  12. Offline

    misteryman321

    like ok i make my jail then i make a cell and then i catch someone and i jail them and when i jail them the dogs are in there with him attacking him and some are out side too attacking me and im confused cause i had an older version and it worked fine for me and now it doesnt have the turn off the dogs feature anymore cause i use bedrock on my jail cells thats all im just wondering if i can get the older version or help me turn off the wolves
     
  13. Offline

    Toh1010

    Whenever i try to make a jail it says That I dont have permission. Does this plugin require anything.

    p.s. I own the server
     
  14. Offline

    Mr_H4mm3r

    ########
    #*#*#*#*#
    ########
    #*#*#*#*#
    ########

    # = Your jail region
    * = Your cells

    Cells SHALL be inside the jail region.. :)
     
  15. Offline

    Bush

    i get the sam thing how do i fix it??
     
  16. Offline

    Mr_H4mm3r

    Do you have a permissions plugin; (PEX, Bukkit Permissions, GroupManager, Permissions 2/3 or maybe something else)?? Are you op??
     
  17. Offline

    misteryman321

    ok ill try that

    ok well i did some settings and i got the wolves away and stuff ok but now i have like 4 cells so far and when i make some and i jail some one i go /jail [name] [time] [cell 2] [reason] and the cell two isnt picked he gos in like cell 3 is this bad if i get more jail peaps will they go in the same cell or they'll go in a emtpy cell??? can you help Mr_H4mm3r agian lol

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

    Bush

    yes i have permissionsbukkit, pex and group management, i am in the admin group and i am a op
     
  19. I have a problem with the command / jail, if I use this:

    / jail player

    It works fine and imprison the player in the nearest jail.

    But if I put:

    / jail player time namejail:namecell reason

    Eg: /jail notch 1h therock:cell1 Because I want your money

    No jails, I back out the description of how to use the command, although this well-written, if I get the description of the command and not the player jailed.

    Why can this happen?

    Thanks and best regards.
     
  20. Offline

    Tomskied

    Anyone else havng problems with permissions? Even op doesnt seem to work for me.
     
  21. Offline

    Yadoo95008

    If your criminal goes afk, can you make it where his time pauses?
     
  22. I have a few jails where visitors can come and press a button and basically they die. if i use your plugin are they sent back to the jail cell after they die?
     
  23. Offline

    jazzcat01

    Hey i am new to this stuff. Does this work with the 1.1 bukkit
     
  24. Offline

    matejdro

    Sorry everybody, I am little busy at the moment. I will try to get update with bugfixes done as soon as possible.
     
  25. Offline

    sebaa400

    Command for jailing is not working in 1.1
     
  26. Offline

    matejdro

    It should work. Be more specific.
     
  27. Offline

    FroggyFreak

    Hmm.. it doesn't seem to do anything when I break a block, or place a block, even though its configured correctly.
     
  28. Offline

    matejdro

    Updated

     
  29. Offline

    Vince

    Code:
    19:21:39 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'jail
    ' in plugin Jail v2.1
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    8)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    86)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:777)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:737)
     
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:725)
            at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
            at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:7
    8)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.NullPointerException
            at com.matejdro.bukkit.jail.PrisonerManager.Jail(PrisonerManager.java:17
    6)
            at com.matejdro.bukkit.jail.PrisonerManager.PrepareJail(PrisonerManager.
    java:133)
            at com.matejdro.bukkit.jail.commands.JailCommand.run(JailCommand.java:16
    )
            at com.matejdro.bukkit.jail.commands.BaseCommand.execute(BaseCommand.jav
    a:30)
            at com.matejdro.bukkit.jail.Jail.onCommand(Jail.java:248)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
            ... 12 more
    I was trying to put someone in jail and this is what happened.... Any ideas?

    Edit: Just realized it was a 1.0 mod.....I am on 1.1. Will there be an update in the near future?
     
  30. Offline

    Colgate

    Awesome unjibberish, Man!
     
  31. Offline

    fussionzz97

    using latest RB and latest version of Jail and my console is spammed with:
    06.02 23:40:23 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    06.02 23:40:23 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    06.02 23:40:23 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:503)
    06.02 23:40:23 [Server] INFO at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    06.02 23:40:23 [Server] INFO at com.matejdro.bukkit.jail.Jail$1$1.run(Jail.java:181)
    06.02 23:40:23 [Server] INFO java.lang.NullPointerException
    06.02 23:40:23 [Server] WARNING Task of 'Jail' generated an exception
    06.02 23:40:18 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    06.02 23:40:18 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    06.02 23:40:18 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
    06.02 23:40:18 [Server] INFO at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    06.02 23:40:18 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
    06.02 23:40:18 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    06.02 23:40:18 [Server] INFO at net.minecraft.server.Packet15Place.handle(SourceFile:39)
    06.02 23:40:18 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
    06.02 23:40:18 [Server] INFO at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:283)
    06.02 23:40:18 [Server] INFO at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:187)
    06.02 23:40:18 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
    06.02 23:40:18 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
    06.02 23:40:18 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:340)
    06.02 23:40:18 [Server] INFO at com.matejdro.bukkit.jail.listeners.JailPlayerProtectionListener.onPlayerInteract(JailPlayerProtectionListener.java:169)
    06.02 23:40:18 [Server] INFO java.lang.NullPointerException
    06.02 23:40:18 [Server] SEVERE Could not pass event org.bukkit.event.player.PlayerInteractEvent to Jail
    06.02 23:40:15 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    06.02 23:40:15 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    06.02 23:40:15 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
    06.02 23:40:15 [Server] INFO at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    06.02 23:40:15 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
    06.02 23:40:15 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    06.02 23:40:15 [Server] INFO at net.minecraft.server.Packet15Place.handle(SourceFile:39)
    06.02 23:40:15 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
    06.02 23:40:15 [Server] INFO at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:283)
    06.02 23:40:15 [Server] INFO at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:187)
    06.02 23:40:15 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
    06.02 23:40:15 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
    06.02 23:40:15 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:340)
    06.02 23:40:15 [Server] INFO at com.matejdro.bukkit.jail.listeners.JailPlayerProtectionListener.onPlayerInteract(JailPlayerProtectionListener.java:169)
    06.02 23:40:15 [Server] INFO java.lang.NullPointerException
    06.02 23:40:15 [Server] SEVERE Could not pass event org.bukkit.event.player.PlayerInteractEvent to Jail
    06.02 23:40:13 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    06.02 23:40:13 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    06.02 23:40:13 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:503)
    06.02 23:40:13 [Server] INFO at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    06.02 23:40:13 [Server] INFO at com.matejdro.bukkit.jail.Jail$1$1.run(Jail.java:181)
    06.02 23:40:13 [Server] INFO java.lang.NullPointerException
    06.02 23:40:13 [Server] WARNING Task of 'Jail' generated an exception
    06.02 23:40:09 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    06.02 23:40:09 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    06.02 23:40:09 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
    06.02 23:40:09 [Server] INFO at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    06.02 23:40:09 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
    06.02 23:40:09 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    06.02 23:40:09 [Server] INFO at net.minecraft.server.Packet15Place.handle(SourceFile:39)
    06.02 23:40:09 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:602)
    06.02 23:40:09 [Server] INFO at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:283)
    06.02 23:40:09 [Server] INFO at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:187)
    06.02 23:40:09 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
    06.02 23:40:09 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
    06.02 23:40:09 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:340)
    06.02 23:40:09 [Server] INFO at com.matejdro.bukkit.jail.listeners.JailPlayerProtectionListener.onPlayerInteract(JailPlayerProtectionListener.java:169)
    06.02 23:40:09 [Server] INFO java.lang.NullPointerException
    06.02 23:40:09 [Server] SEVERE Could not pass event org.bukkit.event.player.PlayerInteractEvent to Jail
    06.02 23:40:03 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    06.02 23:40:03 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    06.02 23:40:03 [Server] INFO at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:503)
    06.02 23:40:03 [Server] INFO at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    06.02 23:40:03 [Server] INFO at com.matejdro.bukkit.jail.Jail$1$1.run(Jail.java:181)
    06.02 23:40:03 [Server] INFO java.lang.NullPointerException
    06.02 23:40:03 [Server] WARNING Task of 'Jail' generated an exception
     

Share This Page