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

    frube94

    If the player is Jailed, and the unjail point has NOT been set, Does the player tp back to where they were before they were jailed?
     
  3. Offline

    afrohorse852

    Hey, um I have done the /setjail and /setunjail and as a test I jailed my friend but it said "There is no jail available, build one before you can jail!" Any help?
     
  4. Offline

    imjake9

    Strange. Could you tell me what version of CraftBukkit you're running?

    That particular message does not sound like it's coming from SimpleJail. Perhaps you have another plugin that registers the /jail command?
     
  5. Offline

    Aaron_Merric

    craftbukkit 1.1-R4
     
  6. Offline

    imjake9

    Should work in the latest version.

    Updated for 1.2.3!

    As a side note, this update brings a ton of new API hooks, so I can really get to adding expansion plugins, and so can other plugin devs!
     
  7. Offline

    blazee15

    You sir fail because it doesnt work with 1.2.3 or 1.2.2
     
  8. Offline

    imjake9

    *sigh*
    If you can give me more information than that, then maybe I can fix it. Saying I fail isn't going to accomplish anything.
     
  9. Offline

    blazee15

    It's fixed.
     
  10. Offline

    Chrisski3

    I dont think this works with Essentials on the server. Is there a way to fix this?
     
  11. Offline

    imjake9

    What exactly doesn't work? Can I get any more info?
     
  12. Offline

    Chrisski3

    When you issue a command, nothing happens.
     
  13. Offline

    imjake9

    Does anything issue in the console upon enable or command usage?
     
  14. Offline

    Chrisski3

    No. No errors, or messages come up. I used the plugin before, and it worked, but it doesn't now.
     
  15. Offline

    imjake9

    SimpleJail now supports Vault! This means it's now compatible with virtually any permissions setup. What does this mean for existing users? Nothing, if you're still using PEX or PermissionsBukkit. PEX and PB are still natively supported, so you don't need Vault installed to use SimpleJail.

    Still working on this one. Sorry it's taking a little while.
     
  16. Offline

    Chrisski3

    No problem. Take your time. I like the Plugin though, good idea.
     
  17. Offline

    jjon43

    Could you add a reason feature? So you could do /jail [player] [reason]
    And when /jailtime or maybe /jailreason is used, it would say why the player is jailed. Or /jailtime could be scrapped all together and just have /jailinfo with everything on it.
     
  18. Offline

    imjake9

    Not a bad idea; added to my GitHub issue tracker here.
     
    jjon43 likes this.
  19. Offline

    DarkxRANGERx

    For some reason mine isnt working? help?

    So there is not a updated plugin on this so therefore it is not compatible with 1.2.3?

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

    imjake9

    Read the thread title. It is perfectly compatible with 1.2.3.
     
  21. Offline

    silyputy

    this is a great plugin thank you
     
  22. Offline

    Ebins

    Any possibility you can make this compatible with bPermissions?
     
  23. Offline

    imjake9

    This plugin works with virtually all permissions systems, just use Vault.
     
  24. Offline

    jacburn1

    I was thinking, if this hasn't already been suggested (or even supported), that there could be the ability to have multiple jails, one per world? I have two worlds set up and would like it if the player is in one world, they go to a jail there, and if they are in the other, they go to the jail there? Thanks
     
  25. Offline

    imjake9

    This will eventually be added in the form of SimpleJailCells, a SimpleJail extension plugin. However, it is still in early development, and I cannot give an accurate ETA on when it will be done.
     
  26. Offline

    Buckethead

    2060 and ur newest build. on server restart.

    Code:
    17:07:40 [INFO] [SimpleJail] Enabling SimpleJail v1.7.7
    17:07:40 [SEVERE] org.bukkit.configuration.InvalidConfigurationException: could not determine a constructor for the tag tag:yaml.org,2002:com.imjake9.simplejail.SimpleJail$JailStatus
    in "<string>", line 72, column 11:
          status: !!com.imjake9.simplejail.SimpleJ ...
                  ^
     
    17:07:40 [SEVERE]      at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:55)
    17:07:40 [SEVERE]      at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:143)
    17:07:40 [SEVERE]      at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:109)
    17:07:40 [SEVERE]      at com.imjake9.simplejail.SimpleJail.loadConfig(SimpleJail.java:328)
    17:07:40 [SEVERE]      at com.imjake9.simplejail.SimpleJail.onEnable(SimpleJail.java:71)
    17:07:40 [SEVERE]      at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215)
    17:07:40 [SEVERE]      at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336)
    17:07:40 [SEVERE]      at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:363)
    17:07:40 [SEVERE]      at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250)
    17:07:40 [SEVERE]      at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232)
    17:07:40 [SEVERE]      at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:374)
    17:07:40 [SEVERE]      at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:361)
    17:07:40 [SEVERE]      at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187)
    17:07:40 [SEVERE]      at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    17:07:40 [SEVERE]      at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    17:07:40 [SEVERE] Caused by: could not determine a constructor for the tag tag:yaml.org,2002:com.imjake9.simplejail.SimpleJail$JailStatus
    in "<string>", line 72, column 11:
          status: !!com.imjake9.simplejail.SimpleJ ...
                  ^
     
    17:07:40 [SEVERE]      at org.yaml.snakeyaml.constructor.SafeConstructor$ConstructUndefined.construct(SafeConstructor.java:475)
    17:07:40 [SEVERE]      at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:183)
    17:07:40 [SEVERE]      at org.yaml.snakeyaml.constructor.BaseConstructor.constructMapping2ndStep(BaseConstructor.java:326)
    17:07:40 [SEVERE]      at org.yaml.snakeyaml.constructor.SafeConstructor.constructMapping2ndStep(SafeConstructor.java:143)
    17:07:40 [SEVERE]      at org.yaml.snakeyaml.constructor.BaseConstructor.constructMapping(BaseConstructor.java:307)
    17:07:40 [SEVERE]      at org.yaml.snakeyaml.constructor.SafeConstructor$ConstructYamlMap.construct(SafeConstructor.java:459)
    17:07:40 [SEVERE]      at org.bukkit.configuration.file.YamlConstructor$ConstructCustomObject.construct(YamlConstructor.java:26)
    17:07:40 [SEVERE]      at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:183)
    17:07:40 [SEVERE]      at org.yaml.snakeyaml.constructor.BaseConstructor.constructMapping2ndStep(BaseConstructor.java:326)
    17:07:40 [SEVERE]      at org.yaml.snakeyaml.constructor.SafeConstructor.constructMapping2ndStep(SafeConstructor.java:143)
    17:07:40 [SEVERE]      at org.yaml.snakeyaml.constructor.BaseConstructor.constructMapping(BaseConstructor.java:307)
    17:07:40 [SEVERE]      at org.yaml.snakeyaml.constructor.SafeConstructor$ConstructYamlMap.construct(SafeConstructor.java:459)
    17:07:40 [SEVERE]      at org.bukkit.configuration.file.YamlConstructor$ConstructCustomObject.construct(YamlConstructor.java:26)
    17:07:40 [SEVERE]      at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseConstructor.java:183)
    17:07:40 [SEVERE]      at org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(BaseConstructor.java:142)
    17:07:40 [SEVERE]      at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:128)
    17:07:40 [SEVERE]      at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
    17:07:40 [SEVERE]      at org.yaml.snakeyaml.Yaml.load(Yaml.java:399)
    17:07:40 [SEVERE]      at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlConfiguration.java:53)
    17:07:40 [SEVERE]      ... 14 more
    17:07:41 [INFO] [SimpleJail] SimpleJail v1.7.7 enabled.
    
     
  27. Offline

    imjake9

    This was fixed in 1.7.8. Just download it, but you'll have to reset your jailed.yml.
     
  28. Offline

    Buckethead

    OK TY
     
  29. First : sry for my english ^^
    To the SimpleJailCells plugin is it in the objectiv to have several named cells in a same world ?? It could be usefull for a server with a lot of players. eg : more than 50
     
  30. Offline

    okami13

    Is your plugin working on 1.2.5 ? Cause when I jail a player, it works but the permissions doesn't work, the group change but he can destruct etc. (I'm using PEX and Modifyworld for permissions). I don't understand, cause he can't use commands like /spawn anymore but he always can destruct. Maybe I did an error in PEX but I don't think, look my permissions.yml : http://pastebin.com/L285SUni

    (sry for my english)
     

Share This Page