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

    To both of you:

     
  3. Offline

    looney76

    the jail penaltys for destryoing blocks or using command are not working they aren't showing the right message or giving them the penalty. I'm using the latest recommended build of craft bukkit
     
  4. Offline

    Phat32

    @matejdro Yes its in my 2nd world. Which in my server is the primary. Does the jail have to be in the primary?
     
  5. Offline

    jkernan7553

    2011-08-22 16:15:53 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'jail' in plugin Jail v1.2.2
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
    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:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
    at com.matejdro.bukkit.jail.PrisonerManager.PrepareJail(PrisonerManager.java:76)
    at com.matejdro.bukkit.jail.commands.JailCommand.run(JailCommand.java:15)
    at com.matejdro.bukkit.jail.commands.BaseCommand.execute(BaseCommand.java:20)
    at com.matejdro.bukkit.jail.Jail.onCommand(Jail.java:220)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more


    I'm getting this error when trying to use the "/jail " command. There are no other worlds and currently only one jail right now. Are cells required for this plugins to function properly?

    Also, a member that was jail cannot build or destroy blocks. He has logged out, we've tried to rejail him, unjail him, and kill him but nothing works.
     
  6. Offline

    Devin14

    Yes, nothing. But then he typed /jaoinaowiejf and it said unknown command but with /jail its just nothing.
     
  7. Offline

    King Pyro

    the jail plugin is in my main world its just active but i dont use it in my other worlds.....unless your saying that it errors becuz it doesnt work in another world. but then my problem is it doesnt work in the main world with another world active
     
  8. Offline

    jb567

    It was in my main world when it failed and i use no multiworld mod and i dont use the nether :lava:
     
  9. Offline

    matejdro

    @looney76 are they jailed forever?

    @Phat32 as main world i mean world that is set in server.properties. Cells are currently not working properly in non-main worlds.

    @jkernan7553 don't use colon :)) if you don' have cells.

    @Devin14 try typing /jailstatus for example. For some reason jail command won't show unknown message, even if plugin is not installed.

    @King Pyro so you have jails in your non-main worlds or not?

    @jb567 what failed?
     
  10. Offline

    DaveDee

    We got "unable to teleport Player to Jail" error spam... Jailed players can escape from jail, they do not get attacked by wolfs on escaping even if Guards are On in config. But after relog they will be attacked if not doing relog in jail.... arrr sorry for my english =)
     
  11. Offline

    King Pyro

    there are no jails in any world except my main
     
  12. Offline

    matejdro

    @DaveDee please paste whole error

    @Kyng Piyro do you use cells?
     
  13. Offline

    DaveDee

    Sry. We got 38mb log of THAT:
    Code:
    [/FONT]
    2011-08-23 16:06:11 [SEVERE] Could not pass event PLAYER_MOVE to Jail
    java.lang.IllegalArgumentException: Cannot measure distance between worlds or to null
    	at org.bukkit.Location.distanceSquared(Location.java:343)
    	at com.matejdro.bukkit.jail.listeners.JailPlayerProtectionListener.onPlayerMove(JailPlayerProtectionListener.java:96)
    	at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:286)
    	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:174)
    	at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:527)
    	at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    	at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89)
    	at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:435)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)[FONT=Georgia]
    [/CODE][/FONT]
     
  14. Offline

    King Pyro

    yes i do use the calls i have 2 jail and 7 cells in total
     
  15. Offline

    jb567

    @matejdro all my commands failed and left nothing in CMD or in on screen prompts
     
  16. Offline

    Syntaxlb

    Can't wait for the next release :) Doesn't work with build 1060 + BukkitPermissions
     
  17. Offline

    Jankokuk


    I very like this mod #1
     
  18. Offline

    Fruityloops

    Hello Dear Minecrafters! :)
    For some reason when I jail ppl they get attacked for no reason, :S Anyone got an idea what im doing wrong? I did watch the vids and dident pick up any info about it, Reply as soon as possible , Thanks everyone ! :)
     
  19. Offline

    Devin14

    We just tried that, didn't work. I think it might be something with the permissions. But shouldn't he be able to because he is in the ops.txt?
     
  20. Offline

    Countryboyaj

    Okay, I LOVE this plugin! But... it has only 1 bug in which I've found... it replaces the natural/artificial spawn point when you create a "Cell".

    Maybe it's a conflict of plugins, but it should be out there for info and possibly a fix!

    Plugins I installed before testing for conflict:
    1. PlgSetspawn_op
    2. StarterKit
    Hope this has helped and it's not just me...
    ~Country
     
  21. Offline

    ThePlatypus

    Great plugin! :)

    Also, I'm not sure if this is the completely the right place to put this, but I've been having a few issues.

    Bukkit version: 1060
    Plugins: Residence, NoCheat, VanishNoPacket, iConomy, PermissionsBukkit (1.1), godPowers, BookWorm, GiveTo, LocalShops, Spout (1.0.2), Vanilla, WorldEdit, Jail, Blacksmith, Superpermsbridge (1.2)
    Jail Version: 1.2.2

    First, mySQL related issues. I made sure I have the connector. iConomy, thus far, has had no trouble connecting to the mySQL database -- so it isn't like nothing else can connect. Here is the pastebin of the error. http://pastebin.com/xmLevn7T

    Also, despite having the right permissions nodes, I am unable to use the /jailset <jailname> telepoint command. In fact, in general, all /jailset commands do not seem to be working for me. I've tried even adding "superpermsbridge." in front of them too, just in case. Didn't seem to help. There are no errors in the log when this fails -- otherwise I would post errors.

    Still, I really love this plugin! Any help you can provide would be great :). I'm looking forward to the new releases!
     
  22. Offline

    Tim13211

    can i get this for v.1000?
     
  23. Offline

    outi

    is there any way to stop jailed users for using f home command (from factions plugin), without "/" ? Maybe should I post some complains in the factions thread ?
     
  24. Offline

    Excel

    Great plugin, much easier then going to the jail and tping them to me. And how does it work with McBans? Love that plugin too.
     
  25. Offline

    matejdro

    @DaveDee it appears that guards have troubles with multi-world.

    @King Pyro I'm not sure. Wait for new version, which would hopefully work.

    @jb567 @Devin14 are you sure do you have it installed? Does it says its text on startup?

    @Syntaxlb I don't think it will happen very soon. But maybe i will give out pre-release versions :)

    @Jankokuk copycat :p

    @Fruityloops too small jail or you have not selected ceiling and/or floor.

    @Countryboyaj it should replace spawn point only for jailed players.

    @ThePlatypus mysql should be fixed in next version. For permissions you have to use Permissions plugin, not Bukkit Permissions.

    @Tim13211 it should work with b1000

    @outi so they just type home in chat without slash? Mute them :D.

    @Excel I'm not sure about McBans, i have never used them.
     
  26. Offline

    Excel

    Good on you for having the patience for replying to all these questions. It's just when I rans McBans it looked for the "jail" plugin.
     
  27. Offline

    DeathShaper

    how does this work ? i can't use ANY commands at all commands it says An internal error occurred while attempting to perform this command
    i have the last craft bukkit i first tried it whithout that mysql didn't work now i have it also in my server still don't work
     
  28. Offline

    matejdro

    Please paste error from console here.
     
  29. Offline

    ThePlatypus

    So you're saying I have to use Permissions, and not PermissionsBukkit 1.1?

    I attempted to use SuperPermsBridge as well, which should simulate regular Permissions to PermissionsBukkit -- and it did not work.
     
  30. Offline

    DeathShaper

    00:34:48 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'jail
    create' in plugin Jail v1.2.2
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:12
    9)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:3
    20)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:713)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)

    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
    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:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
    at org.anjocaido.groupmanager.permissions.NijikoPermissionsProxy.permiss
    ion(NijikoPermissionsProxy.java:242)
    at org.anjocaido.groupmanager.permissions.NijikoPermissionsProxy.has(Nij
    ikoPermissionsProxy.java:225)
    at com.matejdro.bukkit.jail.Util.permission(Util.java:55)
    at com.matejdro.bukkit.jail.commands.BaseCommand.execute(BaseCommand.jav
    a:18)
    at com.matejdro.bukkit.jail.Jail.onCommand(Jail.java:220)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more


    this is the error but what to do ?

    okay it is probally one of my plugins wich crashed because if i create an other server (whole new bukkit) it just says nothin but i still can't create a jail

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

    EMOberger

    Code:
    #General Settings
    SelectionTool = 268
    ExecutedCommandsOnJail =
    ExecutedCommandsOnRelease = 
    DeleteInventoryOnJail = false
    AutomaticMute = false
    NearestJailCode = nearest
    StoreInventory = true
    SignText = <Player>[NEWLINE]<Time> minutes[NEWLINE]for[NEWLINE]<Reason>
    AlwaysTeleportIntoJailCenter = false
    CanPrisonerOpenHisChest = true
    
    #JailStick
    EnableJailStick = false
    JailStickParameters = 280,5,10,,police;50,5,20,,admin
    
    #Protections
    BlockDestroyProtection = true
    BlockDestroyPenalty = 0
    BlockPlaceProtection = true
    BlockPlacePenalty = 0
    BlockProtectionExceptions = 13,59,39,69
    PlayerMoveProtection = true
    PlayerMovePenalty = 0
    PlayerMoveProtectionAction = guards
    FireProtection = true
    FirePenalty = 0
    BucketProtection = true
    BucketPenalty = 0
    PreventCommands = /spawn,/kill,/warp
    CommandPenalty = 0
    PreventInteractionBlocks = 72,70,46,64,96,76,331
    PreventInteractionItems = 
    InteractionPenalty = 0
    ExplosionProtection = true
    PreventPvPInJail = false
    
    #JailPay
    EnablePaying = true
    PricePerMinute = 1
    PriceForInfiniteJail = 20
    
    #Guards
    GuardHealth = 3
    GuardDamage = 1
    NumberOfGuards = 3
    Guardinvincibility = false
    GuardAttackSpeedPercent = 50
    RespawnGuards = false
    GuardTeleportDistance = 10
    
    #Database
    UseMySQL = true
    MySQLConn = jdbc:mysql://localhost:3306/alexs2brandon
    MySQLUsername = root
    MySQLPassword = password
    
    #Messages
    MessageJailReason = §cYou have been jailed! Reason: <Reason> Type '/jailstatus' to check your own jail status and time left
    MessageMute = STOP TALKING WHORE!
    MessageFirePenalty = §cDo not try to burn the jail!
    MessageMovePenalty = §cDo not try to escape out of Jail!
    MessageCommandPenalty = §cDo not try to escape with commands!
    MessageFireNoPenalty = §cDo not try to burn the jail!
    MessageCommandNoPenalty = §cDo not try to escape with commands!
    MessageTransfer = §9You have been transferred to another jail!
    MessageJail = §cYou have been jailed! Type /jailstatus
    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!
    MessageBucketNoPenalty = §cDo not try to flood the jail!
    MessageDestroyPenalty = §cDo not destroy The Jail!
    MessageDestroyNoPenalty = §cDo not destroy The Jail!
    MessageMoveNoPenalty = §cDo not try to escape out of Jail!
    MessageBucketPenalty = §cDo not try to flood the jail!
    MessageInteractionPenalty = Don't do that in Jail!
    
    but yet i can not open my chest >.> i can open other chest just no chest that is listed as a jail chest.
     

Share This Page