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

    alex123099

    If you weren't jailed but you try to destroy the jail or place blocks in it, it tells you that you gained some more minutes in jail but it doesn't jail you,
    and please do that it sets your gamemode to 0 when you are jailed
     
  3. Offline

    GmK

    I am sorry, but this is really funny! :D

    Try to use a plugin like CommandBook with the /butcher command to kill all mobs at once.
     
  4. Offline

    alex123099

    When i set the jail cells and jail someone all he can do is look at the direction I was looking at when I set up the spawn point in the cell and stand in that same place, every movement from the block or with the camera gets him another 30 minutes of jail, or it just spawns wolves all the time. Please help.
     
  5. Offline

    bogboom

    Getting this when using Spout. Bukkit 1.0.1 RB, and latest Jail as of this posting.

    Code:
    SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to Jail
    java.lang.NullPointerException
            at com.matejdro.bukkit.jail.listeners.JailPlayerProtectionListener.onPlayerCommandPreprocess(JailPlayerProtectionListener.java:52)
            at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:293)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:750)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:180)
            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:93)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    23:04:46 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to Jail
    java.lang.NullPointerException
            at com.matejdro.bukkit.jail.listeners.JailPlayerProtectionListener.onPlayerCommandPreprocess(JailPlayerProtectionListener.java:52)
            at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:293)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:750)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:180)
            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:93)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
     
  6. Offline

    Stealthbird97

    When I jail someone and i release them they can not run. Can you fix this in the next update
     
  7. Offline

    markern

    Can you please add a release command, so that you can release people before the time is ready to release?
     
  8. Offline

    laneantosh

    hey so when i resarted my sevrer it crashed and i found this

    2011-12-17 04:00:00 [SEVERE] Error occurred while disabling Jail v2.0.5 (Is it up to date?): null
    java.lang.NullPointerException
    at com.matejdro.bukkit.jail.Jail.onDisable(Jail.java:84)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:190)
    at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:989)
    at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:296)
    at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:289)
    at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:181)
    at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:376)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:455)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)

    and after that it crashed so betetr get on that and sorry i have to remove your plugin so it doesn't crash again
     
  9. Offline

    hacker115

    Hi, I have a question about this plugin.
    If I install this plugin and the craftbukkit server startup it goes well I log in and type/createjail then I get the message: Sorry, you are not allowed to do that!
    How can this because I am admin and have the premissionsex installed?
     
  10. Offline

    supzack

    PLEASE HELP!!! I click on the signs but when people get jailed nothing is on the signs whats wrong?
     
  11. Offline

    xxDalekcaanxx

    What are the Jail permissions?

    I want to let the moderators and Admins use it but not default players.
     
  12. Offline

    dipsyman

    Sometimes it says /jail [name] (time)... and so on, even though i write exactly what i'm supposed to. Then i have to reinstall the plugin! Help please?

    You have to log in and out again. Then you can see what is supposed to be there

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

    matejdro

  14. Offline

    lubblig

    If I want to block all commands when they are in jail can I do /* instead of every command I want to block?
     
  15. Offline

    matejdro

    No, just do /.
     
  16. Offline

    lubblig

    Sorry didn't quite understand but should I just delete all the current default ones and replace it with /. ?

    One more thing, if I set the time for 1 day (1440 min) do the player have to be online on my server for 1 day or will the time become less even if he's not online on my server?

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

    matejdro

    He must be online by default, but you can enable offline counting in config.

    Jut add "/" entry to prevented commands.
     
  18. Offline

    Wheatley

    HI, i've got a problem with this plugin. I'm op and administator (with "Permissions")
    here's the permission file
    Code:
    groups:
        Visiteur:
            default: true
            prefix: '&6[Visiteur]'
            permissions:
            - modifyworld.chat
            - essentials.chat
            options:
                rank: '3'
    
        Membre:
            prefix: '&f[Membre]'
            permissions:
            - lwc.protect
            - lwc.blockinventory
            - modifyworld.*
            - mywarp.warp.basic.warp
            - mywarp.warp.basic.compass
            - mywarp.warp.basic.list
            - mywarp.warp.basic.search
            - jail.usercmd.jailstick
            - jail.usercmd.jailstatus
            - jail.usercmd.jailpay
            options:
                rank: '2'
    
        Moderateur:
            prefix: '&4[Moderateur]'
            permissions:
            - kick
            - ban
            - essentials.*
            - modifyworld.*
            - lwc.mod
            - lwc.blockinventory
            - jail.command.jail
            - jail.command.unjail
            - jail.command.jailtransfer
            - jail.command.jailtransferall
            - jail.command.jailcheck
            - jail.command.jailtelein
            - jail.command.jailteleout
            - jail.command.jaillist
            - jail.command.jaillistcells
            - jail.command.jailmute
            - jail.openchest
            - mywarp.*
            options:
                rank: '1'
    
        Admin:
            prefix: '&4[Admin]'
            permissions:
            - '*'
            - lwc.admin
            - jail.command.jailcreate
            - jail.command.jailcreatecells
            - jail.command.jaildelete
            - jail.command.jaildeletecells
            - jail.command.jail
            - jail.command.unjail
            - jail.command.jailtransfer
            - jail.command.jailtransferall
            - jail.command.jailcheck
            - jail.command.jailtelein
            - jail.command.jailteleout
            - jail.command.jaillist
            - jail.command.jaillistcells
            - jail.command.unjailforce
            - jail.command.jailclear
            - jail.command.jailclearforce
            - jail.command.jailmute
            - jail.command.jailstop
            - jail.modifyjail
            - jail.openchest
            - lwc.blockinventory
            - ThunderTools.storm
            - ThunderTools.strike
            - mywarp.warp.basic.warp
            - mywarp.warp.basic.createpublic
            - mywarp.warp.basic.createprivate
            - mywarp.warp.basic.delete
            - mywarp.warp.basic.welcome
            - mywarp.warp.basic.compass
            - mywarp.warp.basic.list
            - mywarp.warp.basic.search
            options:
                rank: '0'
    users:
        zgrudij:
            group:
            - Admin
        miroku1997:
            group:
            - Admin
    (i have created cells and one jail like the video)
    When i type /Jail zgrudij 5 jail1:cell1 Noob ( :) )

    it says:
    there's the log:
    Sorry 4 my bad english i'm french
     
  19. Offline

    Mr_H4mm3r

    I will gladly translate this to danish :-D?? Can someone give me the language file??
     
  20. Offline

    bentra

    Is the away to make it so people can destroy blocks and sell them to get enuf money to bail them out
     
  21. Offline

    Mr_H4mm3r

    I don't think so.. But you could probaly let them go to command and protected "mine" and let them cut stone there :-D
     
  22. Offline

    Kozzy68

    Can this be used on server as essentials ? Is it integrated with them someway ?
     
  23. Offline

    Mr_H4mm3r

    It can be used but It's not entegrated :-D
     
  24. Offline

    GarretSidzaka

    2011-12-27 17:19:55 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'jail' in plugin Jail v2.0.5
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:378)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
    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:93)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Caused by: java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Lorg.bukkit.OfflinePlayer;
    at org.bukkit.craftbukkit.CraftServer.getOfflinePlayers(CraftServer.java:941)
    at com.matejdro.bukkit.jail.PrisonerManager.PrepareJail(PrisonerManager.java:59)
    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:241)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    ... 12 more
     
  25. Offline

    Rambo908

    how do you get the jail props
     
  26. Offline

    andrewkm

    @matejdro
    Still getting these on server stop
    Code:
    2011-12-29 13:50:58 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Communications link failure during rollback(). Transaction resolution unknown.
    2011-12-29 13:50:58 [SEVERE]  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2011-12-29 13:50:58 [SEVERE]  at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    2011-12-29 13:50:58 [SEVERE]  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    2011-12-29 13:50:58 [SEVERE]  at java.lang.reflect.Constructor.newInstance(Unknown Source)
    2011-12-29 13:50:58 [SEVERE]  at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
    2011-12-29 13:50:58 [SEVERE]  at com.mysql.jdbc.Util.getInstance(Util.java:382)
    2011-12-29 13:50:58 [SEVERE]  at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1013)
    2011-12-29 13:50:58 [SEVERE]  at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987)
    2011-12-29 13:50:58 [SEVERE]  at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982)
    2011-12-29 13:50:58 [SEVERE]  at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927)
    2011-12-29 13:50:58 [SEVERE]  at com.mysql.jdbc.ConnectionImpl.rollback(ConnectionImpl.java:4751)
    2011-12-29 13:50:58 [SEVERE]  at com.mysql.jdbc.ConnectionImpl.realClose(ConnectionImpl.java:4345)
    2011-12-29 13:50:58 [SEVERE]  at com.mysql.jdbc.ConnectionImpl.close(ConnectionImpl.java:1564)
    2011-12-29 13:50:58 [SEVERE]  at com.matejdro.bukkit.jail.InputOutput.freeConnection(InputOutput.java:78)
    2011-12-29 13:50:58 [SEVERE]  at com.matejdro.bukkit.jail.Jail.onDisable(Jail.java:85)
    2011-12-29 13:50:58 [SEVERE]  at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)
    2011-12-29 13:50:58 [SEVERE]  at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:991)
    2011-12-29 13:50:58 [SEVERE]  at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:296)
    2011-12-29 13:50:58 [SEVERE]  at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:289)
    2011-12-29 13:50:58 [SEVERE]  at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:181)
    2011-12-29 13:50:58 [SEVERE]  at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:376)
    2011-12-29 13:50:58 [SEVERE]  at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:455)
    2011-12-29 13:50:58 [SEVERE]  at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
     
  27. Offline

    schatty

    little Error on CB 1595 and Jail 2.0.5

     
  28. Offline

    sean_skroht

    Getting errors with latest CB and Jail v2.05 whenever we try to jail someone:

    2011-12-31 13:04:00 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'jail' in plugin Jail v2.0.5
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:378)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:758)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:723)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:716)
    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:93)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Caused by: java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Lorg.bukkit.OfflinePlayer;
    at org.bukkit.craftbukkit.CraftServer.getOfflinePlayers(CraftServer.java:941)
    at com.matejdro.bukkit.jail.PrisonerManager.PrepareJail(PrisonerManager.java:59)
    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:241)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    ... 12 more

    An update would be greatly appreciated. We rely on this plugin heavily.
     
  29. Offline

    Avous

    @matejdro

    could you make it so if a player is jailed when they talk it checks the logger to see if they are using words from a list of prohibited words while arrested it adds a configured amount of minutes?
     
    Mr_H4mm3r likes this.
  30. Offline

    Mr_H4mm3r

    ^^ I like that idea :)
     
  31. Offline

    Alien100

    I have error on command ./jail name

    all other cmd work.
    LOG:
    Code:
    19:45:56 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'jail' in plugin Jail v2.0.5
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:378)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:758)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:723)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:716)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:180)
        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:93)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Caused by: java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Lorg.bukkit.OfflinePlayer;
        at org.bukkit.craftbukkit.CraftServer.getOfflinePlayers(CraftServer.java:941)
        at com.matejdro.bukkit.jail.PrisonerManager.PrepareJail(PrisonerManager.java:59)
        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:241)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        ... 14 more
     

Share This Page