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

    Giuseppe

    wenn ich getötet wurde werde ich Kurz zum spawn geportet und erst dann ins gefängniss was mir wiederum 30 Minuten einhandelt kannst du dass ändern Bitte

    Translate with Google sry

    if I was killed I'll teleport short to spawn and then turn me into prisonwhat einhandelt 30 minutes you can change that please



    and i have a error
    Code:
    2011-11-03 12:09:21 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'jail' in plugin Jail v2.0.3
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        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:501)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NoSuchMethodError: org.bukkit.Server.getConsoleSender()Lorg/bukkit/command/ConsoleCommandSender;
        at com.matejdro.bukkit.jail.PrisonerManager.Jail(PrisonerManager.java:241)
        at com.matejdro.bukkit.jail.PrisonerManager.PrepareJail(PrisonerManager.java:114)
        at com.matejdro.bukkit.jail.commands.JailCommand.run(JailCommand.java:16)
        at com.matejdro.bukkit.jail.commands.BaseCommand.execute(BaseCommand.java:30)
        at com.matejdro.bukkit.jail.Jail.onCommand(Jail.java:242)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
        ... 13 more
    
     
  3. Offline

    Zahno

    Help? When anyone is jailed, the hunger bar drops to 1.5 bars remaining.
     
  4. Offline

    matejdro

    @IIeHek there is a list of commnads on bukkitdev.

    @Megalanias yes, that is for escaping.

    @GmK nope, there is also escape option.

    @lastern please read this http://forums.bukkit.org/threads/request-saying-its-broke-doesnt-help-solve-the-issue.839/

    @syddie any errors?

    @NotYetRated what were you doing when error showed up? Sorry, I cannot do much without complete error from log.

    @kropto will be fixed in next version

    @Giuseppe that is teleport protection that prevents you from teleporting out of jail any way (including death).

    @Zahno disable food control.
     
  5. Offline

    lastern

    @matejdro sorry my fault just wanted to report it :p
     
  6. Offline

    ForsakenRealmz

    I got this when someone tried to buy from my chestshop?? Idk if this is the plugin that is erroring but it said "Jail" a lot in the error so idk

    18:53:02 [SEVERE] Could not pass event PLAYER_INTERACT to Jail
    java.lang.NullPointerException
    at org.bukkit.Location.getBlock(Location.java:72)
    at com.matejdro.bukkit.jail.JailCell.getChest(JailCell.java:107)
    at com.matejdro.bukkit.jail.listeners.JailPlayerProtectionListener.onPla
    yerInteract(JailPlayerProtectionListener.java:169)
    at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.j
    ava:330)
    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.interact(ItemInWorldManager.j
    ava:265)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:592)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    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
    :501)
    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)
     
  7. Offline

    Someot

    I am having an unusual problem. Whenever I type a command it either doesn't recognize it or tells me I am doing it wrong. I type "/jail someot 5 jail:Cell1 test" and it tells me "[INFO] /jail [player name] (time) (jail name):(cell name) (reason)". I thought maybe my jail go erased somehow so I tried /jailcreate. Nothing. /jaillist. Again, nothing. Would you have any idea what is wrong and how to fix it?
     
  8. Offline

    Balka

    Hey! I love this plugin!
    But can you make a video or a esyer way to make that you can escape?
     
  9. Offline

    worstboy32

    i think the permissions arent working or im doing something wrong.
    I have setted up prisoner permissions with bpermissions.
    And i added prisoner in to the config and setted it to true.
    But when i jail players they still have the old permissions.
    Maybe im just doing something wrong.
     
  10. Offline

    matejdro

    Updated

     
  11. Offline

    TheBeast808

    I keep getting this error in 2.03 and 2.04. What is causing this? I didn't have it before, it suddenly started after I restarted my server.
     
  12. Offline

    Austin_825

    Thanks so much for posting this it helps a lot on my server.
     
  13. Offline

    GmK

    @matejdro

    Just updated to 2.0.4 from a perfectly working 2.0.3 - and get this on startup:

    Code:
    2011-11-11 10:16:07 [SEVERE] Error occurred while enabling Jail v2.0.3 (Is it up
     to date?): special characters are not allowed
    unacceptable character '?' (0xFFFD) special characters are not allowed
    in "<string>", position 999
    
    A) It still says 2.0.3 (I downloaded the latest version 2 times to check)
    B) That error is weird, as its no config error (there isnt any ? in the config)

    Any ideas?
     
  14. Offline

    Kiiirk

    Had my jail working 100% in 3 mins! Thank you iv been looking for a good jail plugin!
     
  15. Offline

    worstboy32

    anyone?

    i think the permissions arent working or im doing something wrong.
    I have setted up prisoner permissions with bpermissions.
    And i added prisoner in to the config and setted it to true.
    But when i jail players they still have the old permissions.
    Maybe im just doing something wrong.
     
  16. Offline

    Yoogoo

    Very good plugin.
    Have a good day:)
     
  17. Offline

    heatman95

    Help please, i downloaded the mod, the commands work but the sword will not appear in my inventory i dont know what im doing wrong i am using world edit as well and do not know what to do!
     
  18. Offline

    matejdro

    @Kiirk I thought that was not possible. Everyone seem to have troubles with it and don't have any idea how to set it up. Thanks.

    @worstboy do you have any errors or other messages in console related to that? Can you post your config?

    @heatmen then just spawn the sword by yourself. Any errors in console?
     
  19. Offline

    Giuseppe

    20:48:33 [SEVERE] Could not pass event PLAYER_INTERACT to Jail
    java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean
    at com.matejdro.bukkit.jail.Settings.getBoolean(Settings.java:49)
    at com.matejdro.bukkit.jail.listeners.JailPlayerProtectionListener.onPlayerInteract(JailPlayerProtectionListener.java:169)
    at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:330)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:171)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:265)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:592)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    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:501)
    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)
     
  20. Offline

    Deleted user

    So....complicated....must....be....simpler....
     
    kahlilnc likes this.
  21. Offline

    matejdro

  22. Offline

    Giuseppe

    Code:
    IgnorePrisonersSleepingState: true
    CanPrisonerOpenHisChest: flse
    Database:
        MySQLConn: jdbc:mysql://localhost:3306/mc
        UseMySQL: true
        MySQLPassword: ****
        MySQLUSername: root
    JailStickParameters: 280,5,10,,police;50,5,20,,admin
    ExecutedCommandsOnRelease: []
    LogJailingIntoConsole: true
    CountdownTimeWhenOffline: false
    EnableJailStick: false
    SignText: <Player>[NEWLINE]<TimeS>[NEWLINE]fuer[NEWLINE]<Reason>
    JailPay:
        EnableJailPay: false
        PriceForInfiniteJail: 9999
        PricePerMinute: 10
        Currency: 0
    SpoutChangeSkin: true
    ExecutedCommandsOnJail:
    - /jailcheck
    AutomaticMute: true
    Mesasges:
        JailPayCannotPayHim: Sorry, money won't help him this time.
        JailPayCannotPay: Sorry, money won't help you this time.
    SelectionTool: 268
    SpoutSkinChangeURL: http://www.minecraftskins.com/view/197928.png
    DeleteInventoryOnJail: false
    ReleaseBackToPreviousPosition: false
    Messagse:
        Forever: ever
    ManualCells: []
    NearestJailCode: nearest
    Messages:
        MessageJailReason: '&cDu wurdest wegen <Reason> eingesperrt!'
        JailPayPaidReleased: '&cDu hast dich fuer <Amount> freigekauft!'
        BlockDestroyedNoPenalty: '&cLass es, kannst eh nichts kaputt machen.'
        PlayerNotJailed: '&cThat player is not jailed!'
        ForbiddenTransfer: '&cHier dein neue zuhause.'
        ForbiddenCommandNoPenalty: '&cNa na na. Mit Schummeleien kommst du hier auch nicht
            raus!'
        PreventedInteractionPenalty: '&cDas kannst du als Gefangerner nicht. Du hast dir
            weitere 10 Minuten Strafe eingehandelt!'
        JailPayPaidReleasedHim: '&cDu hast <Amount> um <Prisoner> zu Befreien!'
        JailPayLoweredTime: '&cDu hast nur <Amount> Bezahlt und deine Strafe auf <NewTime>
            minutes verringert!'
        PreventedInteractionNoPenalty: '&cDas kannst du als Gefangerner nicht.'
        JailPayNotEnoughMoney: '&cDu hast nicht genug Geld!'
        TimeMinutes: '&c<Time> minutes'
        ForbiddenCommandPenalty: '&cNa na na. Mit Schummeleien kommst du hier auch nicht
            raus!'
        MessageEscapeNoPenalty: '&cVersuche nicht aus dem Jail zu Fluechten!'
        MessageBlockPlacedNoPenalty: '&cMuell das Gefaengnis nicht zu!'
        MessageJail: '&cDu wurdest eingesperrt.'
        JailPayNotEnoughMoneySelected: '&cDas ist nicht genug geld fuer dein Vergehen!'
        JailPayCost: '&c1 minute Kostet <MinutePrice>. Deine Gesamte strafe ist also <WholePrice>.'
        MessageJailPayAmountForever: '&cUm frei zu kommen, musst du <Amount> zahlen.'
        BlockDestroyedPenalty: '&cDu versuchst doch tatsaechlich das Gefaengnis auseinander
            zu nehmen. Tja das gibt dir weitere 15 Minuten zum nachdenken.'
        MessageMuted: '&cRuhe da drin! In unserem Gefaengnis wird nicht geredet!'
        MessageUnJail: '&2Du bist Frei! Und diesmal halt dich an die Regeln!'
        MessageBlockPlacedPenalty: '&cDo not place blocks inside Jail! You have just earned
            additional 10 minutes in jail!'
        JailPayLoweredTimeHim: '&cDu hast <Amount> gezahlt und <Prisoner> Strafe auf <NewTime>
            minutes reduziert!'
        JailStatusReason: '&cDu bist fuer <TimeS> von <Jailer> eingesperrt, wegen <Reason>'
        MessageAFKKick: '&cSei im Gefaengniss nicht AFK!'
        JailStatus: '&cDu bist fuer <TimeS> von <Jailer> eingesperrt.'
        MessageEscapePenalty: '&cVersuch nicht wegzurennen! Das gibt weitere 30 Minuten
            im Knast!'
        StoreInventory: true
    Guards:
        GuardAttackSpeedPercent: 100
        GuardHealth: 20
        GuardInvincibility: false
        GuardTeleportDistance: 10
        RespawnGuards: true
        NumberOfGuards: 3
        GuardDamage: 2
    Protections:
        PreventInteractionBlocks:
        - '69'
        - '72'
        - '70'
        - '46'
        - '64'
        - '96'
        - '77'
        BlockProtectionExceptions:
        - '59'
        EnableBlockPlaceProtection: true
        InteractionPenalty: 10
        FoodControlMinimumFood: 2
        EnableFoodControl: false
        EnableBlockDestroyProtection: true
        PlayerMoveProtectionAction: guards
        MaximumAFKTime: 15.0
        RestorePermissionsToEscapedPrisoners: true
        BlockDestroyPenalty: 15
        BlockPlacePenalty: 10
        PrisonersPermissionsGroups:
        - Gefangener
        PlayerMoveProtectionPenalty: 30
        EnablePlayerMoveProtection: true
        EnablePVPProtection: true
        CommandProtectionPenalty: 10
        EnableChangingPermissions: false
        PreventInteractionItems:
        - '326'
        - '327'
        - '259'
        EnableExplosionProtection: true
        FoodControlMaximumFood: 5
        PreventCommands:
        - /spawn
        - /kill
        - /warp
        - /home
        - /tp
        - /tphere
        - /suicide
        - /mc
        - /kit
        - /jobs
        - //paste
        - //set
        - /region
        - //expand
        - /jail
        - /unjail
        - /god
        - /back
        - /i
        - /give
        - /top
        - //
    ManualJails: []
    StoreInventory: true
    
     
  23. Offline

    matejdro

    Found problem:

    It should be false.
     
  24. Offline

    Giuseppe


    thanks
     
  25. Offline

    SkeloPatch

    17:02:30 [SEVERE] Could not load 'plugins\Jail.jar' in folder 'plugins':
    java.lang.NoSuchMethodException: com.matejdro.bukkit.jail.Jail.<init>()
    at java.lang.Class.getConstructor0(Unknown Source)
    at java.lang.Class.getConstructor(Unknown Source)

    any help?
     
  26. Offline

    matejdro

    Which CB do you have?
     
  27. Offline

    Sparkle_Ninja

    I dont understand... I use the plugin for a little bit and then the color codes stop working? Its like ?cYou have been jailed! Please Help
     
  28. Offline

    frizbee

    Hey, yea, can u update this plugin for 1.0.0? and im not sure if it is cuz its not updated... but for the guards when i would escape from jail.... tehre would be too many, like they would keep spawning hundreds and hundreds of em....
    then also... The sign part of the jail wont work for me. i made the cells correctly and chose the signs. but when a player is jailed it does not say anything on the signs. Also. do we need sqlite for this or does it run on its own.
    MANY thanks :D.
     
  29. Offline

    justincase4710

    so i dont have the error text because this happened earlier today and didnt think of reporting it till now but anyway. so when i download ur jail thing i made a new jail and what not and everything was great. but since my server is new and i havnt invited anyone to it yet i used my self to test it. well when i sent myself to jail hundreds of wolves spawned inside the cell and lagged up my game. thankfully i found out how to mass kill them but everytime i jail my self the same thing happens. and i wanna use ur pluggin so plz try to fix.
     
  30. Offline

    matejdro

    @Sparkle_Ninja can you try using § symbol instead of c?

    @frizbee planned. In meantime, please make as many tickets on bukkitdev as possible, so I know what is broken.

    @justincase4710 Known bug.
     
  31. I don't know whether this has been mentioned, but when I stop the server, it doesn't work properly when I start it back up. If I type "/jaillist"or "/jailcreate <jailname>", nothing pops up. If I try to jail someone, it never works aswell
    EDIT: I've realised that this only happens when I make any changes to global.yml
     

Share This Page