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

    heroanth2345

    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(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:287)
    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.NullPointerException
    at org.bukkit.Location.getBlock(Location.java:72)
    at com.matejdro.bukkit.jail.JailCell.getSign(JailCell.java:142)
    at com.matejdro.bukkit.jail.JailPrisoner.updateSign(JailPrisoner.java:335)
    at com.matejdro.bukkit.jail.Jail.Jail(Jail.java:314)
    at com.matejdro.bukkit.jail.Jail.PrepareJail(Jail.java:285)
    at com.matejdro.bukkit.jail.Jail.onCommand(Jail.java:700)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more

    Happens when I use jail\unjail command
     
  3. Offline

    Thebuilderdd

    I did.
     
  4. Offline

    odielag

    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...

    Code:
    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
    

    DO:
    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.

    Code:
    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.

    Code:
    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(ArrayList.java:547)
    2011-06-23 18:50:14 [SEVERE]     at java.util.ArrayList.get(ArrayList.java:322)
    2011-06-23 18:50:14 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.getOnlinePlayers(CraftServer.java:159)
    2011-06-23 18:50:14 [SEVERE]     at net.myshelter.minecraft.flight.Flight.updateFlight(Flight.java:234)
    2011-06-23 18:50:14 [SEVERE]     at net.myshelter.minecraft.flight.FlightEnforcer.run(FlightEnforcer.java:13)
    2011-06-23 18:50:14 [SEVERE]     at java.util.TimerThread.mainLoop(Timer.java:512)
    2011-06-23 18:50:14 [SEVERE]     at java.util.TimerThread.run(Timer.java:462)
    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 http://itscommonsensestupid.blogspot.com/2008/07/tips-to-write-good-bug-report.html 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

    Thebuilderdd

    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

    llama7709

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

    Freaker

    @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

    matejdro

    @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

    Thebuilderdd

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

    matejdro

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

    winter4w

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

    matejdro

  13. Offline

    panda911

    OMG EPIC
     
  14. Offline

    thestriker095

    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
    java.lang.NullPointerException
    at com.matejdro.bukkit.jail.PrisonerManager.UnJail(PrisonerManager.java:219)
    at com.matejdro.bukkit.jail.listeners.JailPlayerListener.onPlayerJoin(JailPlayerListener.java:103)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:243)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:126)
    at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:96)
    at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:33)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
    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)
     
  15. Offline

    winter4w

  16. Offline

    matejdro

    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

    Giuseppe

    here in German
     

    Attached Files:

  19. Offline

    iMattxC

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

    matejdro

    @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

    Giuseppe

    is this right
    Code:
    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

    matejdro

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

    Giuseppe

    it´s posible dissallow all comands
     
  24. Offline

    matejdro

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

    Justin Hawtree

     
  26. Offline

    Giuseppe

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

    andrewkm

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

    matejdro

    Updated

     
    andrewkm likes this.
  29. Offline

    Croyd

    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:
    http://www.youtube.com/watch?v=4-hYG7hl024

    Hope this helps.

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

    blutherz

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

    matejdro

    @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