[ADMN] SetRankPEX v1.7 - Change ranks (groups) easier [PermissionsEx] [1.5.2-R0.1]

Discussion in 'Archived: Plugin Releases' started by Irock23, Sep 29, 2011.

  1. Offline

    Irock23

    SetRankPEX - Change a user's group in PermissionsEx easier
    Version: 1.7
    CB: 1.5.2-R0.1

    Description:

    Tired of having to type /pex user <User> group set <Group>? With this plugin you can simply type /setrank <User> <Group>.

    Features:
    • Makes a shorter command to change a user's group (a.k.a. rank)
    • Can be configured to broadcast when a user's rank is changed
    • Message is configurable with color support (see here for color codes)
    • Separate join message for admins and owners that is configurable and optional
    Permissions:
    ~Go here if you have problems with permissions~
    • srpex.setrank.(group in lower case) - /setrank <User> <Group> (aliases: /rank, /setgroup, /group) - Allows you to set a user's group, but only to a specific one. If the group contains a space, use an underscore (_), same with the command. To set to all, use srpex.setrank.*.
    • srpex.from.(group in lower case) - Allows you to change a user's group from the specified one. If the group contains a space, use an underscore (_).
    • srpex.version - Allows you to check for a new version. Notifies users of a new version when they join.
    • srpex.reload - /srpexreload (aliases: /reloadsrpex, /srpexr) - Allows you to reload the configuration of SetRankPEX.
    Configuration:
    • allow-ops-changes - Boolean - If set to true, Ops do not need to have permissions to do the commands.
    • broadcast-rank-change - Boolean - If set to true, will broadcast a message when a user's group is changed.
    • broadcast-message - String - The message used when a user's rank is changed. Use +player and +group to insert the player name and group they are getting set to. If you are going to use colors, make sure to put it in apostrophes (single quotes). If you don't specify a color, it will default to being blue. Ex: broadcast-message: '&3+player is now a(n) +group'.
    • announce-ranks - String List - The ranks to be checked for when a player joins the game. If the player is one of the specified ranks, a special join message will be set. Ex: announce-ranks: [Admin, Owner].
    • ranks-message - String - The message to used for when a player joins the game and has in one of the announce-ranks ranks. Use +rank and +player to insert the player's rank and name. If you are going to use colors, make sure to put it in apostrophes (single quotes). If you don't specify a color, it will default to being yellow. Ex: ranks-message: '&f+rank +player has joined the game.'.
    • version-check - Boolean - If set to true, will check every hour for a new version of SetRankPEX.
    • check-interval - Long - The amount of seconds to wait between each check for a new version of SetRankPEX
    Dependencies/Conflicts:
    • PermissionsEx - Required for SetRankPEX
    • PEXRank - Conflicts with /setrank command
    If there are any features you would like me to add or any suggestions, please tell me.

    Source code included in JAR file

    Recent Change Log:

    Version 1.7 (05/20/2013) [Download ZIP | Download JAR]
    • Updated to 1.5.2-R0.1
    • Changed the permissions slightly
    Version 1.6.3 (03/07/2013)
    • Fixed problem with getServer()
    Full Change Log (open)

    Version 1.7 (05/20/2013)
    • Updated to 1.5.2-R0.1
    • Changed the permissions slightly
    Version 1.6.3 (03/07/2013)
    • Fixed problem with getServer()
    Version 1.6.2 (02/26/2013)
    • Updated to CB 1.4.7-R1.0
    Version 1.6.1 (11/17/2012)
    • Made version check interval configurable
    • Cleaned up code
    Version 1.6 (08/02/2012)
    • Made hourly version check optional
    • Changed admin/owner option for join messages to a list of ranks
    • Now uses Java 7
    Version 1.5.2 (05/05/2012)
    • Removed "[SRPEX]" from most messages
    • Fixed default config file creation
    Version 1.5.1 (04/10/2012)
    • Version check implemented
    Version 1.5 (04/03/2012)
    • Admin and owner messages now configurable
    • New permission for not allowing to change a user's group if they are in a certain group
    Version 1.4.1 (03/21/2012)
    • Admin/owner message now optional
    • Code cleaned up a bit
    Version 1.4 (03/21/2012)
    • Updated for new event listeners
    • Now says when an admin or owner joins the game
    Version 1.3.4 (10/22/2011)
    • Fixed a problem that made it so you could not change a user's group to a group they were inheriting from
    Version 1.3.3 (10/21/2011)
    • Updated for YamlConfiguration
    • A player no longer has to be online for you to change their rank
    Version 1.3.2 (10/07/2011)
    • Changed command to use underscores in the place of spaces when doing /setrank
    • Source code is now included in the .jar file
    Version 1.3.1 (10/04/2011)
    • Allowed the use of spaces in a group when doing /setrank
    • Changed permissions so you use underscores for spaces in a group's name
    Version 1.3 (10/02/2011)
    • Fixed a few minor errors
    Version 1.2.2 (10/01/2011)
    • Added color support for the broadcasted message
    Version 1.2.1 (10/01/2011)
    • Changed the permissions to make more sense
    Version 1.2 (09/30/2011)
    • Made the broadcasted message configurable
    • Specific permissions for each group
    Version 1.1 (09/29/2011)
    • Fixed a problem causing the plugin not to enable
    Version 1.0 (09/29/2011)
    • First Public Release
     
    Miki4000, DoomLord and jenks1999 like this.
  2. Offline

    XDshadowDX

    Can you update it to 1.2.5R1.0?
     
  3. Offline

    hoobz

    Bro, when I try to do /setrank LickMahGooch Mod, it says I do not have permissions, I am an Op and Owner of the server, Help plz
     
  4. Offline

    Irock23

    Sorry, but I want it to have that there so there is no way to replace it with "[Promotion]"

    I will be updating this with a nice new feature to it.
     
  5. Offline

    IsaiahRobichaud

    Video on creating A new rank please? Would be very helful
     
  6. Offline

    Irock23

    This plugin does not allow you to create a new rank, it only allows you to set user's rank to a specified rank.
     
  7. Offline

    yourawesomebro

    Could you make it so it shows the actual players colored name?
    Example = yourawesomebro was promoted to the group admin
    What I am requesting is that it shows the groups colors.
     
  8. Offline

    IsaiahRobichaud

    Can I edit Ranks and/or make chat for example <[Owner] KingRobichaud> Stop griefing Notch!
     
  9. Offline

    DanuxBe

    i have the same problem :(

    With de last recommanded build 1.2.5 and the last permissionEX
     
  10. Offline

    Irock23

    There are plugins which already do this, like mChat. So you might want to try one of those, but if you really would like it to be in this plugin, i suppose I could.

    If you have something like this:
    You need to change it to something like this:
    If you have already done this and it doesn't work, I do not know what the problem is.
     
  11. Offline

    Neath

    I keep getting the message [SRPEX] You do not have permission to do this.
    Yes, I am op, admin, and have permissions set correctly.
     
  12. Offline

    Irock23

    You have - -srpex.notfrom.* before - '*'? It must be before for it to work. If it is before and it still doesn't there is no reason that should be happening. It works fine for me.
     
  13. Offline

    Buckethead

    when i updated to 1.5.1 from the version right before that no one could rank anyone.
    did perms change? here are mine.

    http://pastebin.com/FdfKh9kQ
     
  14. Offline

    Irock23

    They appear to be fine, I don't know what the issue is here. I am very confused as to why functionality of my plugin seems to vary from person to person. It always has worked for me when I test it, yet several people seem to have a problem.
     
  15. Offline

    Buckethead

    so then?
     
  16. Offline

    Miki4000

    Commands?
     
  17. Offline

    revo96

    Could you make a Setrank for Bpermissions pls
     
  18. Offline

    codename_B

  19. Offline

    Buckethead

    I know it say 1.5 but i get same problem in 1.5.1 It still seems to work fine though so idk. On startup

    Code:
    19:33:13 [INFO] [SRPEX] Found PermissionsEx v1.19.1 and is good to go
    19:33:13 [INFO] [SRPEX] Error loading config!
    19:33:13 [INFO] [SRPEX] SetRankPEX v1.5 is now enabled.
    
     
  20. Offline

    yourawesomebro

    Can you please remove the [srpex] <[srpex] before the promotion part? its really annoying and I am considering to stop using this plugin.
     
  21. Offline

    Buckethead

    just because of the colored letters at the begging. and as far as i know no other plugins do this
     
  22. Offline

    retrop

    I have searched through the internet and can not solve my problem. I have it properly installed, it allows me to rank from console, but I need to be able to do it in game. I get the "[SRPEX] You do not have permissions to do this!" message when I try to rank rank someone. Here is my permissions if it helps.
    Code:
    users:
        YOUR_USERNAME_HERE:
            group:
            - Owner
    groups:
        Default:
            default: true
            prefix: '&f [Default] &f'
            permissions:
            - modifyworld.chat
            - modifyworld.chat.private
            - modifyworld.usebeds
            - modifyworld.sprint
            - modifyworld.sneak
            - modifyworld.items.pickup.*
            - modifyworld.items.have.*
            - modifyworld.items.drop.*
            - modifyworld.damage.deal.*
            - modifyworld.damage.take.*
            - modifyworld.mobtarget.*
            - modifyworld.interact.*
            - modifyworld.tame.*
            - modifyworld.vehicle.*
            - essentials.spawn
            - essentials.clearinventory
            - essentials.tpaccept
            - ChestShop.shop.buy
            - ChestShop.shop.sell
        Regular:
            default: false
            prefix: '&f [Regular] &f'
            permissions:
            - essentials.sethome
            - essentials.home
            inheritance:
            - Default
        Trusted:
            default: false
            preifx: '&f [Trusted] &f'
            permissions:
            - essentials.warp
            - essentials.warp.list
            - essentials.setwarp
            inheritance:
            - Regular
        VIP:
            default: false
            prefix: '&f [VIP] &f'
            permissions:
            - essentials.gamemode
            - essentials.give-all
            - essentials.item-all
            inheritance:
            - Trusted
        Premium:
            default: false
            prefix: '&f [Premium] &f'
            permissions:
            - worldedit.*
            inheritance:
            - VIP
        Dedicated:
            default: false
            prefix: '&f [Dedicated] &f'
            permissions:
            - ChestShop.shop.create
            inheritance:
            - Premium
        Admin:
            default: false
            prefix: '&f [Admin] &f'
            permissions:
            - '*'
        Owner:
            default: false
            prefix: '&f [Owner] &f'
            permissions:
            - '*'
     
  23. Offline

    fredghostkyle1

    looks good, makes life easey!!!!!!!!!!!!!!!!! added! can't wait to use it.
     
  24. Offline

    Speedyboy235

    Hey, thanks a ton for this plugin. Would it be possible to add an option in the config whereas we can change the color of the rankup and ao (adminowner) messages? Also, would it be possible to add an option in the config whereas we can change what is says in the prefix instead of having to see [SRPEX] all the time ? It would mean a lot.
    Thanks!
     
  25. Offline

    Irock23

    An error in loading the config would mean that it isn't proper YAML. You can check it here.

    Well if you are in the admin or owner group, you are not going to be able to. If you read the description, you will find out why.

    You can change the colors by using &[0-9,a-f]. I might remove the "[SRPEX]" .
     
  26. Offline

    blipman17

    hello,

    wouldn't it be an idea to make a password with something like this?
    when you log in, your rank gets changed to setrankpexpassword.
    and that group can't do anything.
    only when you type /login <yourpassword> you can login.
    and with /createpassword <yourpassword> after that, you can change your password,

    if you did that, your original rank would be restored.
    this is useful when you have a server in offline mode, because now you can't login like someone else.
    srry for bad english.
     
  27. Offline

    cooldude732

    i get this problem and cant get it to work is there any way anyone can help? is ther some special way to install?
     
  28. Offline

    parkourisbeast1

    Whenever I try to use this plugin, even with the nodes and op, It say's i dont have permission. Please help!
     
  29. Offline

    fredghostkyle1

    there is a plugin that duse that..... there is 1 premission, and the link: http://forums.bukkit.org/threads/se...mes-linked-to-an-ip-as-safe-1-2-5r-1-0.64773/

    only there is no ranks. PS: you can't move in till you set a password and log in (seting of the password is a 1 time thing, and can be changed).
     
  30. Offline

    blipman17

  31. Offline

    fredghostkyle1

    i got it to work, odd....... is it ALL up to date and did you muck with the "translate.yml" file? i found that if you do nothing to thr configs it works the best.

    and is that what you wonted? somthing like that plugin?
     

Share This Page