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

    EraChanZ

    Dear sir, i thank u from the bottem of my heart and will now test it ^_^
    Thank you for making this!
     
  3. Offline

    imjake9

    No problem, glad you like it! And by all means, if there's a bug or you want something changed, I'd be happy to help.
     
  4. Offline

    EraChanZ

    The teleporting bit of it works, but the grouping doesn't seem to work..
    In permissions i made a group:
    Jailed:
    default: false
    info:
    prefix: '&2'
    suffix: ''
    build: false
    inheritance:
    permissions:

    And in the config file it says ''Jailed'' as target group.. but when i jail someone, the teleport happens, but he stays in default group.. so when i try to /unjail, i simply get hte message: player is not jailed..
    Any ideas?

    Also, my moderators are not able to use the commands eventhough i added
    • SimpleJail.jail
    • SimpleJail.unjail
    to their permissions..

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

    imjake9

    Hmm...
    What version of permissions are you using? Also, what's in the jailed.yml file inside your SimpleJail folder?
     
  6. Offline

    EraChanZ

    Also, when you use /setjail and /setunjail they work, they save the coords, but upon restarting the server the coords get reset, going to try to manually change them in the config file now to see if it's permanent then

    I'm using the latest version of permissions (http://forums.bukkit.org/threads/admn-dev-permissions-3-1-4-the-plugin-of-tomorrow-818.18430/)

    the 'Jailed' file is empty.

    I tried manually adding the coords for the /jail and /unjail command in the config file.. But after server restart the coords were reset once again (means u get teleported in nothingness and die)

    I'm asking you this agian: Can u add me on msn: joep_janson@hotmail.com or skype: jj.kun
    it's easier to communicate then

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

    imjake9

    Very, very odd. What version of Bukkit are you using? If you aren't using b819, try it. For some odd reason, it seems configuration aren't being loaded/saved properly. I'll look into it.
     
  8. Offline

    Elfsovereign

    Does this require SQL or whatever that is, it's all greek to me and ergo I don't use the standard Jail plugin.
     
  9. Offline

    EraChanZ

    I am using the latest version of bukkit as well bro.. everyone is up to date on my end.. u made a mistake in the script at some points x_X

    2 things need to be fixed:
    - Groups aren't being changed when jailing someone
    - Coords aren't being saved and/or loaded properly with server restart
     
  10. Offline

    imjake9

    Gah, this is so confusing! It works perfectly on my end!
    Could you tell me the exact version of Bukkit you're running? I'm not at my computer ATM, but I will be soon, so I'll look into it then. I'm so sorry, I'll fix it ASAP.
     
  11. Offline

    EraChanZ

    i have no clue where to check what version i am running.. but i downloaded it less than a week ago from this sight, so i'm pretty sure it is the latest release x_X


    AND AGAIN, if you would add me on a freaking instant messanger we could actually figure out what's going wrong instead of spamming this goddamn forum..
    Skype: jj.kun
    MSN: joep_janson@hotmail.com
     
  12. Offline

    Gicon

    great plugin, works flawlessly, I'd assume Erachanz problem is of the "PEBCAK" nature. Friendly guy at that.. *rolls eyes*
     
    petergray8 likes this.
  13. Offline

    imjake9

    Haha, glad it works, but he's right. I found an incompatibility issue with Permissions 3, and I'm currently fixing it. Glad to know you like it and that it works!

    Okay, it's updated now. Sorry for the inconvenience. It was a simple difference between the two versions of Permissions. The two issues you outlined are now fixed.
    As for adding the permissions and your ops not being able to use it, not my fault. That works in both Permissions 2/3, so make sure you reload the Permissions file to update Permissions. Finally:

    This does not use SQL, just a flatfile. It's designed to be a Simple jail plugin. ;)

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

    Elfsovereign

    THANK GOODNESS! Ugh SQL will be the death of me. Speaking of the new permissions last time I tried it it was a bit buggy. Does anyone know if I MUST put the file in SQL?
     
  15. Offline

    Gicon

    that's odd.. i'm running version 3...
     
  16. Offline

    EraChanZ

    It works perfectly now.. Yes the moderator thing was a mistake on my end, apoligy for that.. Other than that, thanks ALOT for your help ^^ it's great!
     
  17. Offline

    Centribo

    How do you setup jailed groups for permissions?

    I have a group in permissions 3 named "Jailed" but, how do i implement it with the plugin?

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

    imjake9

    I'm a little confused about what you're asking. If your group is called "Jailed", it will work fine, you don't need to do anything. If you want to use a different group, you just change the name of the group in the plugin's config.yml. Just give yourself and/or your ops Permissions, and use /jail <player> and /unjail <player> to use the plugin.
     
  19. Offline

    TheBarkingFrog

    Just as a quick question, if someone dies in jail (killing themselves, or another killing them) do they respawn back in the jail, or back at their spawn?
     
  20. Offline

    Massacre_chips

    Thank you ! No bug so far, works like a charm ;)
     
  21. Offline

    imjake9

    ATM, they spawn back at spawn. I'll look into possibly fixing that.
     
  22. Offline

    EraChanZ

    That would actually be a usefull update :p I've experienced some troubles with that as well xD
     
  23. Offline

    arnie231

    sorry about this but i am having a small problem where the config file reset it self

    when saved the text is like so unjail:
    z: 0
    y: 0
    x: 0
    jailgroup: Admin
    jail:
    z: 0
    y: 0
    x: 0


    but when i re open it its going across :S


     
  24. Offline

    michael05242002

    Is it possible for the criminals to break the wall of jail to escape?
    Is it possible for them to escape by using commands like /home?
     
    LeafTravis likes this.
  25. Offline

    DeadlyScone

    sad face I cant use this, i don't use permissions :(
    You should make it compatible with Group Manager :D
     
  26. Offline

    imjake9

    "But when I re open it its going across"; what does that even mean? Please give me more information.

    Since the plugin changes the players' Permissions group, you can give them nobuild and revoke /home privileges. So that would solve your problem.

    I may look into it in the future, but as of now, that's not a priority. Sorry.
     
  27. Offline

    DeadlyScone

    dang... well it would be cool, i was looking for something like this :(
    you know.. you could make a compatible version and just leave out the coding to change the groups. so basically it just teleports them to the coordinates you set for jail and unjail :)
     
  28. Offline

    Jadedwolf

    I have an issue it lets me jail players however when I use unjail it only unjails the players sometimes. I thought it might of been a case sensitive issues which worked once but then not again. So, as of now if I jail someone I have to manually unjail them in the file and the permissions. I'm using permissions 2.7.4
    The error i get is: this player is not currently jailed.
     
  29. Offline

    inaniloquent

    Can they smash their way out of the jail?
     
  30. Offline

    simenth96

    it cam up:
    An internal error occurred while attempting to perform this command
    what have did i wrong?:eek:
     

Share This Page