Inactive [ADMN/RPG] Jail - Jail bad players

Discussion in 'Inactive/Unsupported Plugins' started by matejdro, Jan 24, 2011.

     
  1. Offline

    matejdro

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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)

    This post has been edited 16 times. It was last edited by matejdro Nov 18, 2011.
  2.  
  3. Offline

    Scizzr

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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
  4. Offline

    matejdro

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Anyone with players not teleporting back issue, try attached released
  5. Offline

    SeeD419

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  6. Offline

    matejdro

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Have you tried release posted above?
  7. Offline

    SeeD419

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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]
  8. Offline

    Scizzr

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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. )



  9. Offline

    matejdro

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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?
  10. Offline

    SeeD419

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  11. Offline

    matejdro

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Alright, that will motivate me to start working on non-case sensitive version :)
  12. Offline

    Scizzr

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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!
  13. Offline

    matejdro

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You didn't had to, but alright :)
  14. Offline

    MatCat

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is this b186 compatible?
  15. Offline

    shatteredbeam

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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!
  16. Offline

    Macus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  17. Offline

    matejdro

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @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 §.
  18. Offline

    RyanH100

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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 "?"
    
  19. Offline

    matejdro

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You did not put SQLite library into bukkit folder.
  20. Offline

    RyanH100

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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 "?"
  21. Offline

    matejdro

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It looks like, you have set wrong mysql username and password.
  22. Offline

    RyanH100

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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 :)
  23. Offline

    matejdro

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    set that inside Jail.properties.
  24. Offline

    RyanH100

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    What do I put there?

    data-source=mysql?

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

    matejdro

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Inside same file that you set useMysql = True, there is also MySQLPassword and MySQLUsername setting.
  26. Offline

    RyanH100

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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.
  27. Offline

    pkiller162

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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
  28. Offline

    RyanH100

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Pkiller remove the permission command that's to do with LWC.
  29. Offline

    pkiller162

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    What do you mean?
    But then playes cant access lwc commands?
  30. Offline

    matejdro

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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?
  31. Offline

    pkiller162

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I want LWC and jail, i have had it working before, as i said, jail might need updating
  32. Offline

    matejdro

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Jail does not even remotely have anything to do with LWC. I doubt it's jail problem.

Share This Page