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

    Scizzr

    Yes, that would be great. It's about 40% so far (again). I had to restart it because it got stuck at 62%.. Oddity in YouTube.

    I'll PM you the video's link once it's finished.

    Edit: Ugh, re-uploading again. Accidentally used 480p definition, which won't let you see the text on my screen. Now saving it as 1080p, then I will upload it. Hopefully it's not an incredibly huge file.. lmao
     
  3. Offline

    matejdro

    Anyone with players not teleporting back issue, try attached released
     

    Attached Files:

  4. Offline

    SeeD419

    I have MyWarp which I primarily use, I think essentials and spawncontrol also have native warping capabilities as well though, so it's kinda messy.
     
  5. Offline

    matejdro

    Have you tried release posted above?
     
  6. Offline

    SeeD419

    Will do that now, thanks a lot.

    I'll let you know what happens.

    Nope, doesn't work. He just walked right out, lol.
    [​IMG]
     
  7. Offline

    Scizzr

    Here's a video to setup Jail, v0.3
    ( Watch it in 1080p to see the commands and text )
    ( Skip to 2:55 to skip past my ramblings about my server's setup. )



     
  8. Offline

    matejdro

    HUGE thanks for the video!

    Just the quick note: Permissions plugin is not optional. Or at least not yet. You must have it.

    I'm planning to make it optional, but probably some features like upcoming RP system will still need it.

    EDIT: OK, so I'm not only one with WorldEdit broken. Thank god.

    EDIT2: watched whole video now. I love it. Just, you missed most complicated part: setting up the permissions. You have shown yours permission, but didn't explained how to set them. But that's more job for a Permissions video, not Jail video.

    Anyway, great job!

    @SeeD419 Probably dumb question, but do you have "PlayerMoveProtection" set to true ? Also are there any errors in console? Also, can you give me coordinates of both cuboid points?
     
  9. Offline

    SeeD419

    Got it working.

    Biggest issue I noticed. Names are case sensitive.

    I deleted my jail folder, completely re-did the jail, and realized the case sensitive issue.

    Say player Duncan needs to be jailed.

    /jail duncan WILL jail the player - but he can escape.

    /jail Duncan will also jail the player - but he cannot escape.

    That's the issue I had.
     
  10. Offline

    matejdro

    Alright, that will motivate me to start working on non-case sensitive version :)
     
  11. Offline

    Scizzr

    No problem. Bored; thought I'd be helpful.

    [sarcasm]I hate you.[/sarcasm]

    Making another video that HAS permissions in more detail. :D
    Will be up as soon as I can get it to YouTube. Need to edit it a bit; it's like 22 minutes and 1.5 GB.. I ramble too much!
     
  12. Offline

    matejdro

    You didn't had to, but alright :)
     
  13. Offline

    MatCat

    Is this b186 compatible?
     
  14. Offline

    shatteredbeam

    Love the plugin, works great but I think it needs a little more polish :)

    When jailing players and using MySQL on 186, they dont get warped to the free coordinates, they get re-warped to the inside jail spot jail upon release. Maybe the 'left jail area' trigger goes off right after the release one does, causing a port to the wrong place?

    Also, I learned the hard way that using the wrong commands causes the plugin to behave as if I entered a player named 'status' or something for 0 min. Also error received in console if you use 10m or a non-integer for the time parameter.

    Again, love the plugin, would love to see those few issues taken care of too. Thanks for sharing it with us!
     
  15. Offline

    Macus

    This is great.

    didnt work at first, updated craftbukkit now it works fine. (so long as case is correct)
    Jailing Players is far more entertaining than baning them.

    could we have a configuable text that displays when they are jailed
    like rules for the jail. /jailrules > "you have been jailed, attempting to escape will only add time ..."

    also some of the colors dont work, I get a white "?cDo not destroy the Jail!"

    overall its an excellent plugin.
     
  16. Offline

    matejdro

    @MatCat It should be. Test it.

    @shatteredbeam i will check re-warp problem. And yeah, i didn't do many checks for the wrong commands. Jailing somebody for zero should unjail it very quickly after jailing i guess.

    @Macus what is wrong with putting signs with rules?

    White text seems to be linux default formatting problem. Open settings file and replace dž* (or something like that) with §.
     
  17. Offline

    RyanH100

    I get this error

    Code:
    C:\Documents and Settings\Ryan\Desktop\Bukkit Server>echo off
    2011-02-01 16:00:15 [INFO] Starting minecraft server version Beta 1.2_01
    2011-02-01 16:00:15 [INFO] Loading properties
    2011-02-01 16:00:15 [INFO] Starting Minecraft server on *:25565
    2011-02-01 16:00:15 [INFO] Preparing level "world"
    2011-02-01 16:00:15 [INFO] Preparing start region
    2011-02-01 16:00:17 [INFO] Preparing spawn area: 36%
    2011-02-01 16:00:18 [INFO] Preparing spawn area: 56%
    2011-02-01 16:00:19 [INFO] Preparing spawn area: 77%
    2011-02-01 16:00:19 [INFO] [Permissions] version [1.9] (Handler) loaded
    java.lang.ClassNotFoundException: org.sqlite.JDBC
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:30)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at com.matejdro.bukkit.jail.InputOutput.createConnection(InputOutput.jav
    a:43)
            at com.matejdro.bukkit.jail.InputOutput.getConnection(InputOutput.java:3
    0)
            at com.matejdro.bukkit.jail.InputOutput.PrepareDB(InputOutput.java:311)
            at com.matejdro.bukkit.jail.Jail.onEnable(Jail.java:58)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:135)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:365)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:175)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:61)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:42)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:154)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:141)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:102)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:179)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    01-Feb-2011 16:00:19 org.bukkit.craftbukkit.CraftServer loadPlugins
    SEVERE: null (Is it up to date?)
    java.lang.NullPointerException
            at com.matejdro.bukkit.jail.InputOutput.PrepareDB(InputOutput.java:312)
            at com.matejdro.bukkit.jail.Jail.onEnable(Jail.java:58)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:135)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:365)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:175)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:61)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:42)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:154)
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:141)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:102)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:179)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
    2011-02-01 16:00:19 [INFO] Done! For help, type "help" or "?"
    
     
  18. Offline

    matejdro

    You did not put SQLite library into bukkit folder.
     
  19. Offline

    RyanH100

    I'm using MYSQL

    I changed the useMysql = True and then I get this error

    Code:
    C:\Documents and Settings\Ryan\Desktop\Bukkit Server>echo off
    2011-02-01 16:05:52 [INFO] Starting minecraft server version Beta 1.2_01
    2011-02-01 16:05:52 [INFO] Loading properties
    2011-02-01 16:05:52 [INFO] Starting Minecraft server on *:25565
    2011-02-01 16:05:52 [INFO] Preparing level "world"
    2011-02-01 16:05:52 [INFO] Preparing start region
    2011-02-01 16:05:53 [INFO] Preparing spawn area: 36%
    2011-02-01 16:05:54 [INFO] Preparing spawn area: 57%
    2011-02-01 16:05:55 [INFO] Preparing spawn area: 89%
    2011-02-01 16:05:55 [INFO] [Permissions] version [1.9] (Handler) loaded
    java.sql.SQLException: Access denied for user 'root'@'localhost' (using pa
    : YES)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3491)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3423)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:910)
            at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3923)
            at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1273)
            at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2
            at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:718)
            at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native M
    
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown S
    
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unkno
    rce)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
            at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:3
            at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDrive
    :282)
            at java.sql.DriverManager.getConnection(Unknown Source)
            at java.sql.DriverManager.getConnection(Unknown Source)
            at com.matejdro.bukkit.jail.InputOutput.createConnection(InputOutp
    a:39)
            at com.matejdro.bukkit.jail.InputOutput.getConnection(InputOutput.
    0)
            at com.matejdro.bukkit.jail.InputOutput.PrepareDB(InputOutput.java
            at com.matejdro.bukkit.jail.Jail.onEnable(Jail.java:58)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:13
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPlugin
    .java:365)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePlugin
    r.java:175)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:154
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:141
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:102
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:1
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512
    01-Feb-2011 16:05:55 org.bukkit.craftbukkit.CraftServer loadPlugins
    SEVERE: null (Is it up to date?)
    java.lang.NullPointerException
            at com.matejdro.bukkit.jail.InputOutput.PrepareDB(InputOutput.java
            at com.matejdro.bukkit.jail.Jail.onEnable(Jail.java:58)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:13
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPlugin
    .java:365)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePlugin
    r.java:175)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:154
            at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:141
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:102
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:1
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:512
    2011-02-01 16:05:55 [INFO] Done! For help, type "help" or "?"
     
  20. Offline

    matejdro

    It looks like, you have set wrong mysql username and password.
     
  21. Offline

    RyanH100

    I didn't even set it up anywhere.

    #Minecraft server properties
    #Sun Jan 30 23:25:25 GMT 2011
    level-name=world
    hellworld=false
    spawn-monsters=true
    online-mode=true
    spawn-animals=true
    max-players=20
    server-ip=
    pvp=true
    server-port=25565
    data-source=mysql

    Is my server.properties.

    Where do I put the mysql username and password so it knows it? As there was no-where to put it.

    Do you have teamviewer? Maybe you could help me out :)
     
  22. Offline

    matejdro

    set that inside Jail.properties.
     
  23. Offline

    RyanH100

    What do I put there?

    data-source=mysql?

    Please give the command that I put there. Thanks :)
     
  24. Offline

    matejdro

    Inside same file that you set useMysql = True, there is also MySQLPassword and MySQLUsername setting.
     
  25. Offline

    RyanH100

    I'm getting this


    C:\Documents and Settings\Ryan\Desktop\Bukkit Server>echo off
    2011-02-01 16:41:27 [INFO] Starting minecraft server version Beta 1.2_01
    2011-02-01 16:41:27 [INFO] Loading properties
    2011-02-01 16:41:27 [INFO] Starting Minecraft server on *:25565
    2011-02-01 16:41:27 [INFO] Preparing level "world"
    2011-02-01 16:41:27 [INFO] Preparing start region
    2011-02-01 16:41:28 [INFO] Preparing spawn area: 36%
    2011-02-01 16:41:29 [INFO] Preparing spawn area: 57%
    2011-02-01 16:41:30 [INFO] Preparing spawn area: 93%
    2011-02-01 16:41:30 [INFO] [Permissions] version [1.9] (Handler) loaded
    [BukkitUp]: Checking for updates to CraftBukkit...
    [BukkitUp]: CraftBukkit is up to date!

    And it wont load the rest.
     
  26. Offline

    pkiller162

    ok i got jail to work but one time i get one random error
    Oh btw it has nothing to do with LWC because i unistalled it

    Could not pass PLAYER_COMMAND to LWC

    It might need updating
     
  27. Offline

    RyanH100

    Pkiller remove the permission command that's to do with LWC.
     
  28. Offline

    pkiller162

    What do you mean?
    But then playes cant access lwc commands?
     
  29. Offline

    matejdro

    It appears that you still have installed LWC. I suggest you backup map, delete all plugins and reinstall all one by one.

    @RyanH100 it appears that it takes forever to access your database. Are other mysql plugins working correctly?
     
  30. Offline

    pkiller162

    I want LWC and jail, i have had it working before, as i said, jail might need updating
     
  31. Offline

    matejdro

    Jail does not even remotely have anything to do with LWC. I doubt it's jail problem.
     

Share This Page