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

    Deleted user

    Notice how the version in the top says:
    [1.1-R8/1.2.3-R0.2]
    I apologize if I sound rude, I'm just pointing something out.
    No, SimpleJail does not work on 1.2.5. Bug imjake9 or wait if you'd like an update.
    But i'm sure he'll around to doing it. We plugin developers also have lives, you know ;).
     
  3. Offline

    imjake9

    Actually, the current version of SimpleJail should work with 1.2.5. Make sure you've set up the SimpleJail config.yml to jail to the "prisonner" group. If you did, it's a permission problem, not a SimpleJail problem.
     
  4. Offline

    Deleted user

    Does your plugin need Vault or is it optional?
    If it's optional I may have to copy some code :3.
     
  5. Offline

    -_Husky_-

    It says in prisonner that you have given them access to build and break "modifyworld.Blocks.place.*"
     
  6. Offline

    imjake9

    It's optional if you aren't using PEX or PermissionsBukkit. If you're using something other than those plugins, it's required.
     
  7. Offline

    jycs

    Can you add a warn system before jailling players ?
    2warns > 30min
    5warns > 1hour
    10wars > 24hours
    etc...

    with a possibility to add more than 1 warn at one time.
     
  8. Offline

    PreFixLT

    Can you make this feature.
    For example : Cop must capture player with STICK (Batton).And there should be a broadcast :

    [Jail] CopName arrested playername for time(seconds).

    Sorry for bad english :/
     
  9. Offline

    iSlayh

    Thanx! This Really Helped me Out! the Griefers I jailed is Some like more of a Jerk so Thanx once again for Uploading this Plugin! Its really Helping Me out! Here some diamond for yah :D [diamond]
     
  10. Offline

    trout1212

    how to get rid of jails?
     
  11. Offline

    vert642

    Is it working with bpermission?

    Is it possible for the criminals to break the wall of jail to escape?
    You can use WorldGuard to protect your world or you can use regios.

    Is it possible for them to escape by using commands like /home?
    If you can make groups you can disable it.

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

    Deleted user

    Yes, it does.

    imjake9
    This works with bPermissions because this supports SuperPerms ^^.
    Might want to add that to the main post.

    Code:
    jail:
      world: Ice Age
      x: 0
      y: 0
      z: 0
    
    That is in the config.yml. Set all the coordinates to 0, and use /setjail again.

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

    TopGear93

    how would i use the API? Id like to hook this into an upcoming plugin of mine. imjake9
     
  14. Offline

    imjake9

    Glad you're interested! As to how to do it... don't yet. It's not close enough to being finalized to actually be used at the moment. The fact that someone may actually need it, though, makes me a little more inspired to complete it.

    If you want to look at the current state of the API, look around in the SimpleJail.java file of the git repository. That has most of the methods related to the API at the moment. Again, though, everything is very subject to change, so implementing anything now is basically pointless.

    I'll send you something when it's done, though, if you want.
     
    TopGear93 likes this.
  15. Offline

    TopGear93

    Yea ill wait for the api to be completed. I would appreciate it if you sent me a message. Thanks for the quick reply!
     
  16. Offline

    RedixSK

    nice plugins GJ
     
  17. Works like a charm to /jail & /unjail players. The only thing that doesn't work for me is when a jailed player log out and then logs in. Instead of being logged in inside the jail they start at the world-spawn.

    They are still "jailed" as far as the server sees it so the can't chat and all that.
     
  18. Offline

    imjake9

    This is caused by a conflict with MultiVerse when the enforce-access setting is turned on. Make sure that the jailed group has MultiVerse access to the world containing the jail, or this will occur.
    For more information, see this.
     
  19. Gonna see if I can fix it then. Thanks for the heads up ;)

    One other quizz. Is it possible to save the players coords so instead of a unjail-area, they are returned to the place they where when jailed?

    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

    TBH, that is what they should do, but the auto-teleportation is left over from legacy code. The Multiverse bug would still apply, but I can still attempt to change that.
     
  21. Offline

    rosygirl477

    Is it possible for the greifer to just do /home and go home, or /f home and go to faction home? or /spawn... or /kill and they respawn in the original spawn? I just hove so many questions since im just starting making my first server. If you can reply can you do it quick, please and thank you [pig]
     
  22. Offline

    imjake9

    This plugin works by changing a jailed player's permissions group, so if you strip the jailed group of those permissions, the player will not be able to use those commands.
     
  23. Offline

    rosygirl477

    but does it stript he of their permissions automatically or do i have to go do it myself? because im not good with that permissions changing stuff.
     
  24. Offline

    imjake9

    This plugin only changes a user's group, nothing more. You will have to set up that group on your own.
     
  25. Offline

    rosygirl477

    okay, thank you. :)
     
  26. Can you make it work with bPermissions? Would be awesum!
     
  27. Offline

    imjake9

    It works, but it requires Vault. Install Vault and this plugin should work fine with any permissions system.
     
  28. Offline

    Deleted user

    Use Metrics :).
     
  29. Offline

    imjake9

    Done. :D Thanks for the advice, it seems pretty cool.
     
    Deleted user likes this.
  30. Offline

    Deleted user

  31. Offline

    arofaz

    Can u make "blocked-commands" in config? I've got Factions on my server and Criminals can use "/f home"
     

Share This Page