Inactive [ADMN/SEC] SimpleJail 2.0.3 - Jail those nasty players [1.2.5-R4.0]

Discussion in 'Inactive/Unsupported Plugins' started by imjake9, Jun 5, 2011.

  1. Offline

    imjake9

    SimpleJail - Jail those nasty players!
    Version: 2.0.3
    Requires: PEX, PermissionsBukkit, or Vault


    This plugin gives bare basic jail functionality. It allows you to set two points: the Jail point and the Unjail point. Then, when you jail a player, he/she will be teleported to the jail point and demoted to the Permissions group specified in config.yml. Unjail will re-promote the player and teleport back out of the jail, to the unjail point.

    Features:
    • Super customizable
    • Use /setjail and /setunjail to easily set the two teleport locations
    • Set the group that jailed players will be demoted to in the config file
    • Players' initial groups are saved, so a normal jailed player will revert to a normal rank when unjailed, and a player with the VIP class will revert to the VIP class
    • Works with PEX, PermissionsBukkit, and Vault
    • Players in jail will respawn in jail
    • You can "tempjail" players who will be automatically unjailed after a set time
    • You can jail/unjail players even when they are offline
    Permissions Nodes:
    • simplejail.jail — Allows the use of /jail
    • simplejail.unjail — Allows the use of /unjail
    • simplejail.setjail — Allows the use of /setjail and /setunjail
    • simplejail.jailtime — Allows the use of /jailtime, which shows a players remaining tempjail time
    • simplejail.* — Allows all SimpleJail commands
    Download SimpleJail 2.0.3
    SimpleJail on GitHub

    Have suggestions or problems? Want to see possible additions in the works? Check out the SimpleJail issue tracker on GitHub!

    Changelog:
    Version 2.0.3:
    • Fixes the problem where users would be unjailed to the jail point.
    Version 2.0.2:
    • A purely API update, this restructures some code to allow plugins to be less active about redefining jail locations.
    Version 2.0.1
    • Now gives a more suitable error message when no permissions plugins are installed but Vault is.
    • Made /jailtime work with offline players.
    • Updated API to allow the jail and unjail methods to return information about the jail.
    • Made commands use the correct autocompleted names in messages.
    Version 2.0
    • API updated for use with SimpleJailCells.
    • Now uses Metrics for statistics logging.
    Version 1.7.11
    • Fixed bug with some new API code when restarting the server.
    Version 1.7.10
    • More offline player fixes.
    Older versions (open)

    Version 1.7.9
    • Fixed NPE when dealing with offline players.
    Version 1.7.8
    • Fixed issue with saving the jail status to the jailed.yml
    Version 1.7.7
    • Added Vault support to make SimpleJail compatible with virtually every server setup
    Version 1.7.6
    • Added tons of new API hooks for future features
    • Updated for Minecraft 1.2.3
    Version 1.7.4
    • Lowercased all permissions nodes
    • Made lacks permissions messages more intuitive
    Version 1.7.3
    • Improved the messaging system
    • Added "lacks permission" messages
    Version 1.7.2:
    • Fixed PermissionsBukkit unjailing with multiple groups
    Version 1.7.1:
    • Fixed some issues with PEX
    • Fixed offline jailing/unjailing
    • Updated for MC 1.1.0
    Version 1.7:
    • Added PEX support
    • Added offline jailing/unjailing of players
    Version 1.6.1:
    • Fixed issues with the new configuration system
    Version 1.6:
    • Updated to CB 1337
    • Added multiworld support
    • Various other incomplete additions in progress
    Version 1.5
    • Removed support for Permissions 2/3
    • Added support for tempjails
    • Bug fixes
    Version 1.4.7
    • Fixed bug with non-Bukkit permissions
    Version 1.4.5-1.4.6
    • (Finally) fixed superperms support
    Version 1.4.3-1.4.4
    • Fixed initialization bug
    Version 1.4.1-1.4.2
    • Fixed bug with superperms
    Version 1.4
    • Added support for Bukkit "superperms"
    • Fixed bug where users were being duped in the Permissions config
    Version 1.3
    • Made jailed players respawn in jail
    Version 1.2
    • Fixed bug where players in implicit groups couldn't be unjailed
    Version 1.1
    • Fixed config file not saving properly
    • Fixed Permissions 3 support
    Version 1.0
    • Initial release
     
    sglov, Habbo4Life, fawlcun and 6 others like this.
  2. Offline

    Hackuss

    well if the player was transferred to the prison would be disadvantaged eq, and if he came out of it by getting them back
     
  3. Offline

    joshb

    happens every time i use /jail
    Code:
    [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'jail' in plugin SimpleJail v1.4.6
        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.NoClassDefFoundError: com/platymuus/bukkit/permissions/PermissionsPlugin
        at com.imjake9.simplejail.SimpleJail.jailPlayer(SimpleJail.java:121)
        at com.imjake9.simplejail.SimpleJail.onCommand(SimpleJail.java:69)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    Caused by: java.lang.ClassNotFoundException: com.platymuus.bukkit.permissions.PermissionsPlugin
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        ... 15 more
    -----------------------------------------------------------------------------------------------------
    config.yml
    unjail:
    z: -96
    y: 25
    x: -145
    jailgroup: Jailed
    jail:
    z: -85
    y: 30
    x: -177
    usebukkitpermissions: false
     
  4. Offline

    schatty


    CB Version 1060

    config

    unjail:
    z: -503
    y: 65
    x: -633
    jailgroup: Jailed
    jail:
    z: -503
    y: 65
    x: -665
    usebukkitpermissions: false

    pls fix it ;)
     
  5. Offline

    imjake9

    joshb likes this.
  6. Offline

    TheCoon69_19

    it wont work with permission with me... help?
     
  7. Offline

    imjake9

    That's not enough information. Please post what the problem is, errors (if any), and your config file.
     
  8. Offline

    joshb

    @imjake9 thanks works perfectly!!
     
  9. Offline

    TheCoon69_19

    um well im running essentials groupmanager but permission nodes work for it but when i try to set a jail it say internal error please help :'(
     
  10. Offline

    imjake9

    This plugin does not support GroupManager.
     
  11. Offline

    TheCoon69_19

    dude groupmanger should work fine...
     
  12. Offline

    SieniFani

    The /setjail or /setunjail or /jail doesn't work :( But i think it have a bit conflict with Essentials... So when I type /setjail it gives a looooooooooooong error message in Console... So do you know, can i fix it somehow?
     
  13. Offline

    imjake9

    And what exactly makes you think that...?

    Could you post the error message?
     
  14. Offline

    SieniFani

    Umm.. I am a noob and i don't know where i can get the error message :(
     
  15. Offline

    TheCoon69_19

    groupmanager works for all things permissions does i think i dont really know im not a programmer but are u able to design a plugin for me?
     
  16. Offline

    Gicon

    @imjake9
    Here's an idea.. could you make a toggle via the config for the server to make it auto jail all new players? **EDIT** OR even have them jailed for x amount of time? make them sit in there at least long enough to read rules? **EDIT** Remember the days of creative and how you would have to be let free to build? I have a few maps I'd LOVE to have this ability on.

    otherwise.. things are still going great with the plugin! Thanks again.
     
  17. Offline

    schatty


    thank you ;)
     
    joshb likes this.
  18. Offline

    Dejvid89

    I have a problem ... when i send player to jail he can easy esc by use /home
    i make a group
    Code:
      Osadzony:
            default: true
            info:
                prefix: '&7<Osadzony> '
                suffix: ''
                build: true
            inheritance:
            permissions:
    with no perm but he can still esc

    sory for bad english
     
  19. Offline

    imjake9

    Make sure jailgroup is set to the name of your group (Osadonzy) for it to work. If it still doesn't work, post your configuration file.
     
  20. Offline

    Dejvid89

    Code:
    unjail:
        z: 2776
        y: 71
        x: 180
    jailgroup: Osadzony
    jail:
        z: 2266
        y: 64
        x: 1175
    usebukkitpermissions: false 
    when i send player to jail he heave group "osadzony" ....
     
  21. Offline

    imjake9

    Then it all seems to be working for this plugin. You probably have an issue with the Permissions set up. Make sure that that group cannot use commands, period. It may be an issue with a plugin that provides those commands.
     
  22. Offline

    Dejvid89

    hmm "osoadzony" dont have eny permissions :(
     
  23. Offline

    piousminion

    I have but one feature request. A time limit.

    I'd like the ability to jail someone (online or not) and have them jailed for a specified amount of time, which counts only while they are online. "Jail" has always been broken for me and is a lot more than what I want. I would be eternally grateful for this simple feature.
     
  24. Offline

    Th3Controller

    Can you please add PermissionEx support? Since PermissionEx is still an active and working plugin and has provided a lot of people guaranteed success.
     
  25. Offline

    Zaydene

    I had a player who had a colour prefix in his name, when I jailed him his prefix kept getting reverted.

    I deleted his prefix, saved the file and /pr -reload all, but everytime he talked his permission node would place that prefix back in.
     
  26. Offline

    Buckethead

    using pex permissions. HELP ASAP!

    20:21:14 [INFO] [SimpleJail] ERROR: Permissions not detected.
    20:21:14 [INFO] [SimpleJail] SimpleJail v1.4.6 disabled.
    20:21:14 [SEVERE] Error occurred while enabling SimpleJail v1.4.6 (Is it up to date?): Plugin attempted to register PLAYER_RESPAWN while not enabled
    org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register PLAYER_RESPAWN while not enabled
    at org.bukkit.plugin.SimplePluginManager.registerEvent(SimplePluginManager.java:374)
    at com.imjake9.simplejail.SimpleJail.onEnable(SimpleJail.java:57)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    20:21:14 [INFO] Spout 1.0.5.227 has been initialized
     
  27. Offline

    imjake9

    SimpleJail v1.5 is out!
    This update removes support for Permissions 2/3. Currently, the only supported Permissions plugin is PermissionsBukkit, but I plan to add PEX support fairly soon. This update also adds support for temporary jail time, so you can now jail players for a set time.

    Added!

    @Th3Controller, @Buckethead — PEX support is coming soon!

    I have created a dev build that should work with PEX. If you'd like to download it, the link is in the OP. If you have any problems, please post back and I'll fix them. Thanks.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  28. Offline

    Buckethead

    *clap* not to insult but i really dislike plugins hat use only one permissions system because currently not all of my other plugins have support for super perms or other pemissions plugins. though i wish tha=ey would all use super perms they dont and some never will thats why i have to run permisions, pex and super perms.
     
  29. Offline

    imjake9

    Did you read my last post? If not, please try the PEX dev version! It should work, so happy Jailing! :p
     
  30. Offline

    Buckethead

    i will soon. but snce 1.8 gotta updae 25 other plugins and also trying to add spout
     
  31. Offline

    5pyPig

    Any chance of a "dev" version for bukkit version 1150 or higher?
     

Share This Page