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

    imjake9

    The current version works with 1.8.
     
  3. Offline

    5pyPig

    Well I tried with bukkit 1152 and while typing in /setjail it didn't do anything. Same for all other commands. When I made a jailed group it broke my bukkitpermissions plugin as well, but that's my fault not yours. Will retry, as I love simple plugins that do their job and that's it.

    Somehow I fixed it. >_> Will try to reproduce bug and tell you what it was. It caused bukkitpermission not to load at all on /reload or server restart. Instead of creating a jailed group I tried jailbird and it worked flawlessly. Everything else was the exact same settings. Weird but thank goodness it worked.

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

    malcolmforde

    if you jail yourself will you be allowed to un jail your self?
     
  5. Offline

    imjake9

    No, as long as the jail group doesn't have the unjail permission. However, you can always use the unjail command from the console if you accidentally get stuck.
     
  6. Offline

    robiig38

    Hello ,
    When I jail a player , see this text "an internal error occurred while attempting to perform this command"
    What's the probleme ? (Sorry for my bad english , I am french... )
     
  7. Offline

    piousminion

    One last request. Multi-world support. Even if that means that all players get jailed to the same world and released to the same world. As it is now, if the jailed player is on a diff map, they simply get transported to a diff location with no repercussions. Copy/Pasteing the jail (and region) to every map at the exact same coords is a very ugly hack. :/

    thanks again for adding the timed jail feature. :)
     
  8. Offline

    8Keep

    Update for 1.8?

    Um... When i jail people, they can still break blocks and teleport out using homes and spawn. Can you prevent them from breaking things and teleporting out?

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

    imjake9

    Is there an error in the console? If so, please post it.

    Yeah, it's definitely coming soon. Stay tuned! :p

    You need to make sure the jailed group has nobuild and no permissions. This plugin doesn't handle that. It just changes the permissions group to what's specified in config.yml.
     
  10. Offline

    8Keep

    So I make a new group in my permissions file (permisionsEX) called jailed and change it to that in the config file? How do I set a group to not allow building?
     
  11. Offline

    imjake9

    First of all, make sure you're downloading the PermissionsEX-compatible version of SimpleJail. Second, you can use the PermissionsEX modifyworld feature to prevent building.
     
  12. Offline

    KittyKatt

    SimpleJail v1.5EX doesnt work,
    I'm using
    Bukkit 1185
    PermissionsEX 1.14
    and successfully created a group called jailed with all permissions denied using modifyworld "- -modifyworld.*". Jailed players can still run around, spawn, place blocks, chat etc.
     
  13. Offline

    imjake9

    Are there any errors? Are you sure that you have permission to use /jail? After using /jail on a player, check the contents of jailed.yml. Post it here.
     
  14. Offline

    KittyKatt

    Yes :) I use an admin/op to jail another and it says jailed, and timed jailed works too but they can still break things and im not sure they join the group "jailed" at all. No errors in console.
    Here is what the jailed.yml says, I removed the real player names and put "playername".
    playername:
    groups: []
    playername:
    groups:
     
  15. Offline

    Kiiirk

    I have just uploaded this plugin and so far im happy but there's one thing i gotta ask. I can jail and unjail players no problem but my CoOwner can't Unjail players. She says it says "the player is not in jail" Is there something i have missed?
     
  16. Offline

    zenyl

    When i jail a player, the player does not become the "jailed" rank :(
     
  17. Offline

    CRussian

    I don't know if you decided to create this or not, but I was thinking maybe you should make some handcuffs or something so that you can keep them from using there hands. And when you handcuff someone there is some string that is attached to the handcuffs and the person that handcuffed the person. With the string in place the person can drag the person to the jail and leave them handcuffed so that they cant destroy any blocks and break out. It would be useful for my server, and it would be alot more fun to send a cop after someone that broke the law and is trying to run away but gets caught and put in jail. If you do decide to make it, you should add so if someone breaks the guy out of jail, they have to use an item or a key to unlock the cuffs or destroy them. Hopefully you make this. :)
     
  18. Offline

    imjake9

    Sounds to me like this is a separate plugin idea, but it is interesting. I'll think about it, but it's not a priority right now.
     
  19. Offline

    CRussian

    When could it be a priority? :)
     
  20. Offline

    Mosh Mage

    Hi, any chance you throw a "pay fine" command? like, when you /jail nickname you can set a fine (so it would be /jail nickname value) or a configured $value multiplied by the tempjail alternative.
     
  21. Offline

    R3dd3v1l12

    ehmm people, ive got a little problem.

    if i jail people they do /spawn or /home and they are gone ...
    how can i fix this??
     
  22. Offline

    jabbadula

    It would have been Awsome!
     
  23. Offline

    Buckethead

    1284 build
    Code:
    22:50:25 [SEVERE] Error occurred while enabling SimpleJail v1.4.6 (Is it up to date?): console
    java.lang.NoSuchFieldError: console
            at com.imjake9.simplejail.SimpleJail.onEnable(SimpleJail.java:51)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:941)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:174)
            at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:157)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
     
  24. Offline

    andyhoi

    Code:
    06.10 06:19:43 [Server] INFO     ... 12 more
    06.10 06:19:43 [Server] INFO     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    06.10 06:19:43 [Server] INFO     at com.matejdro.bukkit.jail.Jail.onCommand(Jail.java:220)
    06.10 06:19:43 [Server] INFO     at com.matejdro.bukkit.jail.commands.BaseCommand.execute(BaseCommand.java:20)
    06.10 06:19:43 [Server] INFO     at com.matejdro.bukkit.jail.commands.UnJailCommand.run(UnJailCommand.java:32)
    06.10 06:19:43 [Server] INFO     at com.matejdro.bukkit.jail.JailPrisoner.release(JailPrisoner.java:462)
    06.10 06:19:43 [Server] INFO     at com.matejdro.bukkit.jail.PrisonerManager.UnJail(PrisonerManager.java:277)
    06.10 06:19:43 [Server] INFO Caused by: java.lang.IllegalAccessError: tried to access method org.bukkit.command.ConsoleCommandSender.<init>(Lorg/bukkit/Server;)V from class com.matejdro.bukkit.jail.PrisonerManager
    06.10 06:19:43 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    06.10 06:19:43 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    06.10 06:19:43 [Server] INFO     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    06.10 06:19:43 [Server] INFO     at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    06.10 06:19:43 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    06.10 06:19:43 [Server] INFO     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    06.10 06:19:43 [Server] INFO     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    06.10 06:19:43 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
    06.10 06:19:43 [Server] INFO     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
    06.10 06:19:43 [Server] INFO     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757)
    06.10 06:19:43 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:358)
    06.10 06:19:43 [Server] INFO     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    06.10 06:19:43 [Server] INFO     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    06.10 06:19:43 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'unjail' in plugin Jail v1.2.2
    06.10 06:19:43 [Server] SEVERE null
    06.10 06:19:38 [Server] INFO [SpawnControl] Attempting to send player Dadalos to home.
    06.10 06:19:33 [Server] INFO     ... 12 more
    06.10 06:19:33 [Server] INFO     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
    06.10 06:19:33 [Server] INFO     at com.matejdro.bukkit.jail.Jail.onCommand(Jail.java:220)
    06.10 06:19:33 [Server] INFO     at com.matejdro.bukkit.jail.commands.BaseCommand.execute(BaseCommand.java:20)
    06.10 06:19:33 [Server] INFO     at com.matejdro.bukkit.jail.commands.UnJailCommand.run(UnJailCommand.java:32)
    06.10 06:19:33 [Server] INFO     at com.matejdro.bukkit.jail.JailPrisoner.release(JailPrisoner.java:462)
    06.10 06:19:33 [Server] INFO     at com.matejdro.bukkit.jail.PrisonerManager.UnJail(PrisonerManager.java:277)
    06.10 06:19:33 [Server] INFO Caused by: java.lang.IllegalAccessError: tried to access method org.bukkit.command.ConsoleCommandSender.<init>(Lorg/bukkit/Server;)V from class com.matejdro.bukkit.jail.PrisonerManager
    06.10 06:19:33 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    06.10 06:19:33 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    06.10 06:19:33 [Server] INFO     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
    06.10 06:19:33 [Server] INFO     at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    06.10 06:19:33 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    06.10 06:19:33 [Server] INFO     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    06.10 06:19:33 [Server] INFO     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    06.10 06:19:33 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
    06.10 06:19:33 [Server] INFO     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
    06.10 06:19:33 [Server] INFO     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757)
    06.10 06:19:33 [Server] INFO     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:358)
    06.10 06:19:33 [Server] INFO     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    06.10 06:19:33 [Server] INFO     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
    06.10 06:19:33 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'unjail' in plugin Jail v1.2.2
    06.10 06:19:33 [Server] SEVERE null
    I keep on getting errors with the jail then it stops working.
     
  25. Offline

    Buckethead

    version of bukit and jail?
     
  26. Offline

    BatteryAcid

    Please update to 1.8.1 <3
     
  27. Offline

    Buckethead

    u have a special jailed group right? if so check their permssions
     
  28. Offline

    andyhoi

    Bukkit version 1240, jail version 1.5
     
  29. Offline

    Buckethead

    i think this just needs to be updated
     
  30. Offline

    ryanjjjj

    AHHHHH UPDATE THIS PLUGGIN!
    I heavily rely on this plugin for my server, it would be madness without!
    please PLEASE UPDATE!
     
  31. Offline

    Buckethead

    TY!
     

Share This Page