Inactive [ADMN/RPG] Jail - Jail bad players

Discussion in 'Inactive/Unsupported Plugins' started by matejdro, Jan 24, 2011.

  1. Offline



    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:
    (you can use your minecraft forum username and password on BukkitDev)
  2. Offline


    2011-06-23 13:23:00 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'jail' in plugin Jail v1.1.0
    at org.bukkit.command.PluginCommand.execute(
    at org.bukkit.command.SimpleCommandMap.dispatch(
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(
    at net.minecraft.server.NetServerHandler.handleCommand(
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.Packet3Chat.a(
    at net.minecraft.server.NetworkManager.b(
    at net.minecraft.server.NetServerHandler.a(
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(
    Caused by: java.lang.NullPointerException
    at org.bukkit.Location.getBlock(
    at com.matejdro.bukkit.jail.JailCell.getSign(
    at com.matejdro.bukkit.jail.JailPrisoner.updateSign(
    at com.matejdro.bukkit.jail.Jail.Jail(
    at com.matejdro.bukkit.jail.Jail.PrepareJail(
    at com.matejdro.bukkit.jail.Jail.onCommand(
    at org.bukkit.command.PluginCommand.execute(
    ... 12 more

    Happens when I use jail\unjail command
  3. Offline


    I did.
  4. Offline


    When I installed the Jail plugin, people no longer were able to fly with the Flight plugin. Would be wonderful to have a jail working...

    Here is my list of plugins also...

    19:40:21 [INFO] Plugins: WeatherSync, iAuction, Backup, BlocksOnGlass, VanishNoPickup, ColoredSigns, Help, Flight, Mining TNT, Permissions, iConomy, CookieMonster, EasyBan, Dontkickme, mcbans, ServerInfo, LWC, GoldStandard, BorderGuard, Tombstone, BukkitContrib, BedRespawn, Tips, TrainYourLung, PermissionsPlus, p2Aliases, WorldEdit, TorchLight, Residence, AuthDB, Minequery, dynmap, MinecraftViewer, Essentials, EssentialsChat, CommandSigns, BedHealAdvanced, BigBrother, WorldGuard, MailBox, HeroicDeath, iConomyChestShop, ServerTime, EssentialsGeoIP, WormholeXTremeWorlds, WormholeXTreme, WormholeXTremeWorldsSpawn

    1. Include the Craftbukkit/Bukkit Build Numbers.

    19:31:11 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-823-gb9d0b04-b860jnks (MC: 1.6.6)
    19:31:11 [INFO] This server is also sporting some funky dev build of Bukkit!

    2. Include a copy of any config files.

    BucketProtection = true
    MessageJailReason = §cYou have been jailed! Reason: <Reason>
    PlayerMoveProtection = true
    CanPrisonerOpenHisChest = false
    PlayerMovePenalty = 30
    PreventInteractionBlocks = 69,72,70,46,64,96
    GuardHealth = 20
    MessageMute = Stop chatting and quietly wait for the end of your sentence!
    FireProtection = true
    JailStickParameters = 280,5,10,,police;50,5,20,,admin
    MessageFirePenalty = §cDo not try to burn the jail! You have just earned additional 15 minutes in jail!
    SignText = <Player>[NEWLINE]<Time> minutes[NEWLINE]for[NEWLINE]<Reason>
    ExplosionProtection = true
    PriceForInfiniteJail = 9999
    MessageMovePenalty = §cDo not try to escape out of Jail! You have just earned additional 30 minutes in jail!!
    MessageCommandPenalty = §cDo not try to escape with commands! You have just earned additional 10 minutes in jail!
    SelectionTool = 268
    MessageFireNoPenalty = §cDo not try to burn the jail!
    BlockProtectionExceptions = 59
    Guardinvincibility = false
    MessageCommandNoPenalty = §cDo not try to escape with commands!
    BucketPenalty = 10
    MessageTransfer = §9You have been transferred to another jail!
    InteractionPenalty = 10
    DeleteInventoryOnJail = false
    GuardTeleportDistance = 10
    MessageJail = §cYou have been jailed!
    NumberOfGuards = 3
    CommandPenalty = 10
    MySQLUsername = root
    PlayerMoveProtectionAction = guards
    BlockPlaceProtection = true
    MessagePlaceNoPenalty = §cDo not place blocks inside Jail!
    MessageUnJail = §2You have been released! Please respect server rules.
    MessageInteractionNoPenalty = Don't do that in Jail!
    MessagePlacePenalty = §cDo not place blocks inside Jail! You have just earned additional 10 minutes in jail!
    MessageBucketNoPenalty = §cDo not try to flood the jail!
    PreventInteractionItems =
    MySQLPassword = password
    MessageDestroyPenalty = §cDo not destroy The Jail! You have just earned additional 15 minutes in jail!
    ExecutedCommandsOnRelease =
    AlwaysTeleportIntoJailCenter = false
    BlockDestroyPenalty = 15
    EnableJailStick = false
    BlockPlacePenalty = 10
    GuardAttackSpeedPercent = 100
    EnablePaying = false
    MessageDestroyNoPenalty = §cDo not destroy The Jail!
    PreventPvPInJail = true
    ExecutedCommandsOnJail =
    AutomaticMute = false
    GuardDamage = 2
    PreventCommands = /spawn,/kill,/warp
    MySQLConn = jdbc:mysql://localhost:3306/minecraft
    BlockDestroyProtection = true
    MessageMoveNoPenalty = §cDo not try to escape out of Jail!
    RespawnGuards = true
    PricePerMinute = 10
    MessageBucketPenalty = §cDo not try to flood the jail! You have just earned additional 10 minutes in jail!
    NearestJailCode = nearest
    UseMySQL = false
    StoreInventory = true
    FirePenalty = 10
    MessageInteractionPenalty = Don't do that in Jail!  You have just earned additional 10 minutes in jail!
    3. Include a good description of any error output that you get.

    2011-06-23 18:50:14 [SEVERE] Exception in thread "Timer-1"
    2011-06-23 18:50:14 [SEVERE] java.lang.IndexOutOfBoundsException: Index: 11, Size: 11
    2011-06-23 18:50:14 [SEVERE]     at java.util.ArrayList.RangeCheck(
    2011-06-23 18:50:14 [SEVERE]     at java.util.ArrayList.get(
    2011-06-23 18:50:14 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.getOnlinePlayers(
    2011-06-23 18:50:14 [SEVERE]     at net.myshelter.minecraft.flight.Flight.updateFlight(
    2011-06-23 18:50:14 [SEVERE]     at
    2011-06-23 18:50:14 [SEVERE]     at java.util.TimerThread.mainLoop(
    2011-06-23 18:50:14 [SEVERE]     at
    4. Include if you can a screenshot of the error. This alone will make the developer very interested in helping as it shows you care about his time and the effort he has put into making your life better.

    no screenshot

    5. Read at least 3 times.
    6. Read the topic to make sure your issue has not already been reported or fixed in an update.
    7. Remember that if a plugin works with version 57 of Bukkit in version 90 of Craftbukkit, but not with version 57 of Bukkit and version 91 of Craftbukkit (Same Bukkit Version, Different Craftbukkit version) the problem is in Craftbukkkit, not the Plugin!
  5. Offline


    Ok, this is fixed, but wolves come when I test by jailing myself, and I keep having more and more time. (This is a home server, so I was able to escape)
  6. Offline


    Whenever i place a torch down i get jailed
    reason: admin
    help?? ty great plugin
  7. Offline


    @matejdro cant i edit my jail's radius??? I've made something wrong, and i dont want to make it all again... please help.
  8. Offline


    @thestriker095 please provide better explanation. I can't read anything from that text. At least don't start every word with capital letter.

    @heroanth2345 will check it out

    @odielag whoa, at least someone read that thread. About error, i think that is more issue of Flight plugin than mine. Show this to author of Flight plugin.

    @Thebuilderdd too small jail or you did not select ceiling and floor.

    @llama7709 disable JailStick

    @Freaker use /jailset command.
  9. Offline


    Now I have 2 jails. One that is small and one that is BIG.
  10. Offline


    If wolves are spawning when player moves, that means that player is outside of jail border. Check your cuboid again.
  11. Offline


    when i want to jail someone i get an internal error occured please help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  12. Offline


  13. Offline


  14. Offline


    Ok well i get this error in the console when a player joins and is jailed. So people who I have jailed while they are offline do not get jailed upon login! Here is the error below!

    15:22:24 [SEVERE] Could not pass event PLAYER_JOIN to Jail
    at com.matejdro.bukkit.jail.PrisonerManager.UnJail(
    at com.matejdro.bukkit.jail.listeners.JailPlayerListener.onPlayerJoin(
    at org.bukkit.plugin.RegisteredListener.callEvent(
    at org.bukkit.plugin.SimplePluginManager.callEvent(
    at net.minecraft.server.ServerConfigurationManager.c(
    at net.minecraft.server.NetLoginHandler.b(
    at net.minecraft.server.NetLoginHandler.a(
    at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
    at net.minecraft.server.MinecraftServer.h(
  15. Offline


  16. Offline


    No i cant help you until you help me by reading linked thread
    GmK likes this.
  17. Offline

    Justin Hawtree

    Anyone else getting Unknown console command. Type ''help'' for help. I have 928 craftbukkit build and theres no console errors. I have tried /jail and the other jail commands and i get the same thing. I dont think any other are my plugins are interfearing with it but if you think so i can give you a list.
  18. Offline


    here in German

    Attached Files:

  19. Offline


    im on 928 and when the server is restarted the jail plugin breaks.
  20. Offline


    @Justin Hawtree do you have permissions?

    @Giuseppe can you get zip file and modify config inside? This one looks so unorganized and is hard to read.

    @iMattxC errors?

    @thestriker095 are you sure you are jailing him? This looks like you want to unjail it him. How you typed jail command?
  21. Offline


    is this right
    PreventCommands = /spawn,/kill,/warp,/cprivate,/cpublic,/cpasswort,/m,/world,/mvspawn/tpaccept,/tphereaccept,/tpa,/tpahere,/unjail,/jailclear,/jail,/jaildeletecells,/unjailforce,/jailclearforce,/give,/i,/ci,//,/removenear,/replacenear,/*,*,/kit#Which commands should we prevent from using in jail?
    @ matejdro is ok i Edit it
  22. Offline


    It should be ok, just this * probably won't do anything (as there is no * command?)
  23. Offline


    it´s posible dissallow all comands
  24. Offline


    Just add "/" (without quotes) to commands.
  25. Offline

    Justin Hawtree

  26. Offline


    so deactivate i all comands ?
    PreventCommands = /
  27. Offline


    Loving the new update (havent tried yet) but seen the video :) Looks epic! Great work as always! :D
  28. Offline



    andrewkm likes this.
  29. Offline


    I was getting some requests on how to create a Jail in game, so I created a video for it on youtube.

    Jail setup for Jail 1.2 for craftbukkit:

    Hope this helps.

    Just saw the update to 1.2.1 so have to go do that now.
    andrewkm likes this.
  30. Offline


    can't download 1.2.1
    Zip file i get a permission error
    And jar it is old file
  31. Offline


    @Croyd great video. Just minor complaint: you have your jail raised (inside is one block higher). While you selected your cuboid properly, this would not work if jail is not raised. And since many people do not have raised jail, they might assume that they just select lowest visible block, but actually they have to dig 1 block to get to floor. Apart from that, i like it. Will be going to first post.

    @blutherz try now

Share This Page