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

    Podshot

    does this plugin require Perrmissions?
     
  3. Offline

    imjake9

    I'm sorry, I just have no idea what could be the issue...
    If I cannot reproduce the issue, I can't figure out what could possibly be wrong. Unless others are able to reproduce the issue, I am not sure if I can do any more.
     
  4. Offline

    Buckethead

    :<. but understood
     
  5. I'm having a problem with my mods not being able to use the command even tho it's in their permissions.

    Here's their permissions:
    http://pastebin.com/cjQNwGR0

    It tells them they need the SimpleJail.jail permission when they try to /jail.
     
  6. Offline

    imjake9

    Buckethead, Xickle — I think I figured out the problem. Bukkit does some odd internal lowercasing of permissions, so just use all-lowercase versions with SimpleJail 1.7.4. Sorry for the inconvenience.
     
  7. Offline

    Skilinium

    I absolutely love this plugin. But I've got a critical issue here; whenever I jail someone they are able to get out using the /f home (factions) command.

    This is my permissions for the group Jailed:
     
  8. Offline

    imjake9

    Sounds to me like that command is enabled by default. If you're using PermissionsEX, you can fix that by doing something like this:
    Code:
    permissions:
    - -factions.home
    However, that might leave some permissions available. To be sure that group has no permissions, try something like this:
    Code:
    permssions:
    - '-*'
    If you can't get it to work, then it's an issue with Factions, no SimpleJail. Try contacting that plugin's author instead.
     
    Skilinium likes this.
  9. Offline

    Skilinium

    Thank you, that fixed the issue!
     
  10. Offline

    imjake9

    Hey, all! I am adding a plugin API to SimpleJail, which gives me the ability to add the most requested feature for SimpleJail, jail cells! I need your help for information on how it should work. Please take a look at this thread on BukkitDev to contribute.
     
  11. Offline

    FroggyFreak

    Yea, please make /home and /spawn commands disabled for jailed users.
     
  12. Offline

    WinnerWithin

    You can set what Jailed players can/cant use in your permissions.yml file or whatever plugin you use for Perm's eg pEX, or GroupManager.

    Hello Jake, I have also had the same problem with what the other users have also made issues about. However, i have followed your advice, and changed everything to lowercase, yet i am still un-able to use any of the commands.
    No errors, No messages. only my command showing in the console, which it wasn't before i changed to lower-case by the way. I use GroupManager and if you wish to have a good, juicy look at my Permissions file go ahead: http://pastebin.com/vTiNC2f1

    Thankyou, any help will be much apprectiated.

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

    imjake9

    That's the issue, GroupManager. As of now, only PermissionsBukkit and PermissionsEX work with this plugin. I may add it in a later release, but for now, it won't work. Sorry!
     
  14. Offline

    fawlcun

    Great plugin, just one small issue I'm having. Could you add a config option to auto-mute players that are jailed? This would be the most efficient plugin if you add this feature!
     
  15. Offline

    shanko

    any update on the permission-less option? :p
     
  16. Offline

    imjake9

    This plugin still works mostly on a permission-based system. Perhaps once the cells addon is implemented, I can add something like this, but for now you can use a mute plugin that mutes the jailed group.

    Again, perhaps once I finish SimpleJailCells I may add a sort of permission-less addon. Still, for now, it'll stay like this.
     
    fawlcun likes this.
  17. Offline

    fawlcun

    Awesome, I would love a cell feature, so that I can transfer my jailed prisoner to a torture, execution chamber.
     
  18. Offline

    WinnerWithin

    Ok, as unfortunate as that is, Il look into PEX or PermissionsBukkit, thanks for feedback.
     
  19. Offline

    muggerfugger

    This forum wont let me search topics, so im sorry if this has already been covered.

    I like htis plugin, its a good alternative to banning, BUT my players can use /spawn to get out of jail.
    I suppose the only way to disable this is to create a jailed guest group? that doesnt have access to those commands? Or is there an easier way of this plugin disabling them from going to spawn and such?
     
  20. Offline

    imjake9

    The idea behind this plugin is that you can have more power with a specific jailed group rather than having the plugin implement protections itself. Just modify the jailed group so that the players cannot use any commands that you don't want.
     
  21. Offline

    Jordan R

    Can you please please please make it so I can set like a 2nd, 3rd, and 4th jailpoint. You can do it like /setjail2 for setting the second jailpoint.

    /setjail3 for the 3rd
    /setjail4 for the 4th
    and so on.

    -And how this will work is that you just type /jail (playername) and that player RANDOMLY goes into any jail point.

    -OR a better idea is that you type /jail1 (playername) and he goes into that specific jail cell. If there's already a player set in that jail cell the plugin will deny your request and put him into a different cell other than the one you requested automatically.

    -Also a setting in the config to automatically shut PvP off on jailed players until their unjailed so they can't kill each other in the 1 cell provided and escape.
     
  22. Offline

    saramadyl

    does it works with Essentials ?
     
  23. Offline

    builder6999

    This didn't make things ANY easier I tried setting a jail & all it did was /setjail [jailname] PLEASE HELP!
     
  24. Offline

    imjake9

    This plugin is compatible with PermissionsBukkit and PermissionsEX only.

    That doesn't sound like my plugin at all, since this plugin does not use jailnames. Are you sure SimpleJail was the one you used?
     
  25. Offline

    Buckethead

    Does this actually work at all yet?
     
  26. Offline

    imjake9

    What are you referring to? If it's the multi-jail support, then no, sorry. The standard plugin works fine, though.
     
  27. Offline

    Exortcist

    (I am new with these stuff so im sorry if this a simple thing)When i oppened the server it says [simplejail] ERROR- could not find permissions plugin, then the unload and stuff ,what should I do ?
     
  28. Offline

    imjake9

    This plugin requires a permissions plugin, and it supports either PermissionsEX or PermissionsBukkit. You must install one or the other to use SimpleJail.
     
  29. Offline

    Buckethead

    ok ty i will try
     
  30. Offline

    Gnomeo76

    Does this work with bPermissions?
     
  31. Offline

    Aaron_Merric

    Really looking forward to using your plugin, having trouble with griefers and need to deal with them and give them a second chance later. I send these naughty players to a different world that is a bit tougher and nastier than the regular place they live. I have to jail most of them when they are offline so I really needed your plugin to work. As they dont play the same hours that I do. So far it seems if I baby the plugin and reload the server after using the commands it works. However it does throw this nasty error the next time the user tries to join.

    Code:
    02:33:50 [INFO] Disconnecting Aaron_Merric [/127.0.0.1:60991]: Internal server e
    rror
    02:33:50 [WARNING] Failed to handle packet: java.lang.IllegalStateException: Fai
    led to add player. net.minecraft.server.EntityPlayer@60c(Aaron_Merric at 231.0,6
    4.0,240.0) already is in chunk 14, 15
    java.lang.IllegalStateException: Failed to add player. net.minecraft.server.Enti
    tyPlayer@60c(Aaron_Merric at 231.0,64.0,240.0) already is in chunk 14, 15
            at net.minecraft.server.PlayerInstance.a(PlayerInstance.java:36)
            at net.minecraft.server.PlayerManager.addPlayer(PlayerManager.java:81)
            at net.minecraft.server.ServerConfigurationManager.c(ServerConfiguration
    Manager.java:141)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:121)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
            at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:6
    1)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    02:33:56 [INFO] Aaron_Merric [/127.0.0.1:61009] logged in with entity id 1580 at
    ([shadowworld] 231.0, 64.0, 240.0)
    02:33:56 [INFO] Fetching addPacket for removed entity: CraftPlayer{name=Aaron_Me
    rric}
     

Share This Page