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

    TheMap

    Is there anyway you could add a jail on death setting? So when people die they have to sit in jail for X amount of time?
     
  3. Offline

    matejdro

    put mysql library to bukkit folder instead of plugins folder.

    @Major what do you mean about until unjailed? Just type -1 as time or leave it blank.

    @NikHd (sorry can't retype your name) so if you jailed me and then you break the jail, i will get time increase?
     
  4. Offline

    andrewkm

    Im confused as to what to do with the SQLITE thing....
    I dont have a bukkit folder....
    heres what my minecraft server folder look like...

    [​IMG]

    where exactly would it go?
    Do i make a bukkit folder? and put the lib folder in the bukkit folder?
     
  5. Offline

    Dev909

    Hey,

    I cannot get jail working at all. I got the .jar file in my plugins and the jail folder is create when i run the server. There is also a lib folder. Also have Permissions, but in game it does not let me create a jail.

    What am i doing wrong? Anyone help?
     
  6. Offline

    andrewkm

    Same here im not sure where the lib folder should go from the sqllite
    i have no bukkit folder as seen in screenshot above...

    anyone?
    [MERGETIME="1300165463"][/MERGETIME]
    Here is the error im getting:

    Code:
    2011-03-15 00:54:30 [SEVERE] java.lang.ClassNotFoundException: org.sqlite.JDBC
    2011-03-15 00:54:30 [SEVERE]    at java.net.URLClassLoader$1.run(Unknown Source)
    2011-03-15 00:54:30 [SEVERE]    at java.security.AccessController.doPrivileged(Native Method)
    2011-03-15 00:54:30 [SEVERE]    at java.net.URLClassLoader.findClass(Unknown Source)
    2011-03-15 00:54:30 [SEVERE]    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:30)
    2011-03-15 00:54:30 [SEVERE]    at java.lang.ClassLoader.loadClass(Unknown Source)
    2011-03-15 00:54:30 [SEVERE]    at java.lang.ClassLoader.loadClass(Unknown Source)
    2011-03-15 00:54:30 [SEVERE]    at java.lang.Class.forName0(Native Method)
    2011-03-15 00:54:30 [SEVERE]    at java.lang.Class.forName(Unknown Source)
    2011-03-15 00:54:30 [SEVERE]    at com.matejdro.bukkit.jail.InputOutput.createConnection(InputOutput.java:55)
    2011-03-15 00:54:30 [SEVERE]    at com.matejdro.bukkit.jail.InputOutput.getConnection(InputOutput.java:42)
    2011-03-15 00:54:30 [SEVERE]    at com.matejdro.bukkit.jail.InputOutput.PrepareDB(InputOutput.java:385)
    2011-03-15 00:54:30 [SEVERE]    at com.matejdro.bukkit.jail.Jail.onEnable(Jail.java:72)
    2011-03-15 00:54:30 [SEVERE]    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    2011-03-15 00:54:30 [SEVERE]    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
    2011-03-15 00:54:30 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
    2011-03-15 00:54:30 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
    2011-03-15 00:54:30 [SEVERE]    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
    2011-03-15 00:54:30 [SEVERE]    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    2011-03-15 00:54:30 [SEVERE]    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    2011-03-15 00:54:30 [SEVERE]    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    2011-03-15 00:54:30 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    2011-03-15 00:54:30 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    2011-03-15 00:54:30 [SEVERE] null loading Jail v0.5.4 (Is it up to date?)
    java.lang.NullPointerException
        at com.matejdro.bukkit.jail.InputOutput.PrepareDB(InputOutput.java:386)
        at com.matejdro.bukkit.jail.Jail.onEnable(Jail.java:72)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:92)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:70)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    I put jail.jar in plugins folder and when i ran server it made jail folder with config file inside.
    The only thing im not sure about is where to put the lib folder from the SQLLite download. I just have it in the jail folder and its not working. Where should it go im so confused?

    I put it in the jail folder because LWC plugin uses SQLLite and its lib folder is in the LWC folder.
    Im just kind of copying that. Is that right or wrong?

    In installation its saying put it in bukkit folder... I have no idea where bukkit folder is... i dont even have one.

    Someone help
    Am i doing this right or wrong?

    EDIT: Well in game i can use commands, /jailcreate and so on, however i cant select a block with the woodensword and so on.

    Some things work some dont. Someone help please.
     
  7. Offline

    mik99925

    Code:
    23:30:07 [SEVERE] From:Location{world=CraftWorld{name=world}x=-537.1973190427576y=71.5z=234.23909034426342pitch=30.149996yaw=-77.85}


    I get one of these every time I try to teleport out of the jail. They don't seem to do anything at all; i still get teleported back in and my sentence is increased as usual.
     
  8. Offline

    andrewkm

    It would be awesome if signs would come back with their original writing on them.
     
  9. Offline

    Vittek

    Hmm what can I do if jailed players don't get kicke dout of jail once their time is up? :( always have to manually unjail them. CB 531 and latest jail.
     
  10. Offline

    matejdro

    @andrewkm put lib folder into your "Minecraft Server" folder. Wait, do you have LWC? Then you already have lib folder. Just copy Jail.jar.

    @Dev909 what happens if you type /jail ? Did you set up permissions properly?

    @mik9925 That is just debug message i forgot to remove. It won't affect anything, only spam your console.

    @andrewkm Sorry, signs are client issue. I can't do much here.

    @Vittek did you typed command properly?
     
  11. Offline

    Vittek


    Positive. Used /jail Name 1 for example. Using it on myself, /jailstatus just tells me i'm jailed for one more minute but it never ends.
     
  12. Offline

    Dev909

    nope not a thing. No commands come up. And i gave myself all jail commands in permissions to make sure
     
  13. Offline

    woodzy

    ok haveing a real issue here, my jail works and every thing (donloadaded it at 2AM lastnight along with craftbukkit update), but the jail wont save if i reload the server or reststart it. can you please give me a detailed info on how to fix this.

    EDIT: FIXED IT turns out u have to /jailbackup for it to save
     
  14. Offline

    Tulips

    ?????whats a mod? isnt op admin? what is a user? o.o do i have to make my own groups normally when i get permissions? i have never used permissions before
    edit: i know what they are but i mean in the "permissions" what do each of them do :/
     
  15. Offline

    matejdro

    @Vittek are you triggering any protections like destroying blocks or moving out? These may give you penalties and make you wait longer.

    @Dev909 do you have jail entries when loading a plugin? It should say something like "[Jail] loaded X jail zones".

    @woodzy weird. Jailbackup does not have anything to do with database saving. Well, glad that you got fixed.

    @Tulips i suggest you read Permissions plugin thread. You have anything explained here.
     
  16. Offline

    woodzy

    go to the permissons plugin's page more info there. and keep it simple m8 its not hard at all
     
  17. Offline

    Vittek

    First thanks for your replies. But no I didn't. I actually tested it with myself, tossed myself in jail for a minute, or longer. The time ticks down to one minute then just gets stuck there. No errors nothing. Just doesn't automatically kick me out of jail.
     
  18. Offline

    matejdro

    Do jail status still reports minute?
     
  19. Offline

    DevonX

    I get:
    Code:
    java.lang.NullPointerException
            at com.matejdro.bukkit.jail.InputOutput.PrepareDB(InputOutput.java:386)
            at com.matejdro.bukkit.jail.Jail.onEnable(Jail.java:72)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Why is this happening ? D:
     
  20. Offline

    Ben1002

    I type /jailcreate and it does abolutly nothing, No error, Nothing :O
     
  21. Offline

    Vittek

    Yes it keeps saying the remaining time is 1 minute.
     
  22. Offline

    Incendia

    If this doesn't block commands, can't they just /spawn out?
     
  23. Offline

    NEO

    Cant define a jail. set the selection tool to a diamond sword 276 and nothing pops up when left and right clicking. When i do /jail create cn it says i need to build a jail first.
     
  24. Offline

    Ben1002

    Can you create a version of this that does NOT need permissions, I am having a few issues with permissions, Its stopping other plugins from working :p

    If I just remove permissions all the other plugins work but this says
    An internal error occured while attempting to process this command

    Regards ben
     
  25. Offline

    Tulips

    whenever i have the config.yml file for permissions, it says the jail plugin is registering events before its enabled and that it needs the permissions plugin to work.. and says the website to get it at :/ but when i take the config.yml file out it works fine but doesnt load cus theres no permissions plugin there :/

    EDIT: got it to work xD turns out i have to change config.yml to world.yml lol (world name.yml) basicly.. lol all my plugins for permissions work fine now xD
     
  26. Offline

    lennie svensson

    i have a porblem, its going gr8 untill i use /jail player etc...
    whene i do that the server wont work... in my cfg server window i get alot of text thats spaming,, Warning etc.. just keeps going, so i have to stop serve and take away jail plugin :/ any ide?
     
  27. Offline

    matejdro

    @DevonX bug in DB creation probably. SQLite or MySQL?

    @Vittek Weird. Any errors?

    @Incendia nope. Command protection works in latest version. And even it it would not work, there is teleport protection which will block any way of teleportation out of jail.

    @lennie svensson can you give exact error message?
     
  28. Offline

    lennie svensson

    dont remember all of it, it was like

    [Warning] 5%%11 gmog5%...............

    very long text jus spaming all the time
     
  29. Offline

    ddj

    Perhaps this is something different, but I had the error spamming too a while agoo.
    I think this has something to do with the jail-move-out-of-jail-protection.
    Sometimes if you jail someone, this goes wrong; the player ends up few blocks above the exact jail-spawnpoint (due to failed chunkload for example) and at that point the jail-move protection kicks in, and tries to return you to jail.
    This caused a loop a few times, spamming my server log so much, it made the console itself just un-usable.

    I never reported this, because I then turned off the move-protection; since then never had that problem again.
     
  30. Offline

    Vittek


    Nope nothing. That's the weird thing on it.
     
  31. Offline

    woodzy

    I LOVE THIS PLUGIN!!! i dont "BAN' anymore i jail ur happy ass FOREVER!!
    **evil look**
     

Share This Page