[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

    blipman17

    no, but i found out that i should ask him about this, but i thought this should be a suggestion for you.
    just make a permission so you can't move the x and z demension and you could make a own configurable passwordlock.
     
  3. Offline

    hammerr120

    AMAZING PLUGIN! Just one little problem..... I cant get it to say the person's rank in the chat :(( im using chatmaneger:mad:[tnt]
     
  4. Offline

    fredghostkyle1

    i think that is something on PEX's side, this plugin only changes you rank.... THAT IS IT, so i think PEX is not set up for that, send my your config (PM it to me) i will try to fix it.

    /me LOVES this plugin!
     
  5. Offline

    BMX_ATVMAN14

    Can you make this used with signs please?
     
  6. Offline

    CakRochi

    It has setrank by button or only use promote command oneself?
     
  7. Offline

    fredghostkyle1

    you need to set your name under owner


    here use this: users:

    Code:
    users:
        [B]YOUR_USERNAME_HERE:[/B]
            group:
            - Owner
     
  8. Offline

    Matthew

    I have a problem setting rank in game also no matter what i do it wont allow me to do it so here is my permissions and maybe you can tell me what im doing wrong..

    Code:
    groups:
      default:
        default: true
        build: true
        prefix: '&8[Default]&f'
        permissions:
        - essentials.tp*
        - essentials.kit
        - rp.promote*
      moderator:
        build: true
        inheritance:
        - member
        prefix: '&3[Mod]&f'
        permissions:
        - essentials.invsee
        - essentials.mute*
        - essentials.kick
        - essentials.clearinventory*
      admin:
        build: true
        prefix: '&1[Admin]&f'
        permissions:
        - '*'
      owner:
        build: true
        inheritance:
        - developer
        prefix: '&4[Owner]&f'
        permissions:
        - '*'
      member:
        build: true
        inheritance:
        - default
        prefix: '&2[Member]&f'
        permissions:
        - essentials.afk
        - -essentials.nick
        - essentials.help
        - essentials.msg*
        - essentials.ignore
        - essentials.info
        - essentials.home
        - essentials.sethome
        - essentials.list
        - essentials.mail*
        - essentials.rules
        - essentials.getpos*
        - essentials.spawn
      developer:
        build: true
        prefix: '&d[Developer]&f'
        permissions:
        - srpex.notfrom.*
        - srpex.setrank.*
        - '*'
    And mind im trying to do this for Developer and Owner.
     
  9. Offline

    Hockey9785

    i am an owner i have the '*' perms and i cant do it in game?
     
  10. Offline

    fredghostkyle1


    OK, first add this, the options: rank: '0'. 0 = highest. 1000 and up = higer, to ALL RANKS.
    Code:
      Admins:
        prefix: '&4Staff &f(&9Admin&f)&a'
        inheritance:
        - default
        - Member
        - VIP
        - TrialMod
        - Moderator
        - Builder
        permissions:
        - lots
        options:
          rank: '0'
    users:
      wilsoh:
        group:
        - Moderator
      fredghostkyle:
        group:
        - default
        - Member
        - VIP
        - TrialMod
        - Moderator
        - Builder
        permissions:
        - permissions.*
        - essentials.sudo.exempt
      Spartan_2:
        group:
        - Moderator
        permissions:
        - permissions.*
        - essentials.sethome.multiple
        - essentials.sethome.multiple.unlimited
      Paddyf25:
        group:
        - Staff
    
    [This is for my server plez do NOT rip me off, thanks]
    and you need to add in the users part, that is what you are missing. and were are you getting the "built: true" from? check the PEX's git Hub for more help. and if you are still getting problems PM me thanks. AND if you have the premission '*' it give you ALL premissions, so, you are better off getting all of the prms. and adding them in.
     
  11. Offline

    arzonio

    nice plugin

    nice plugin

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

    Hockey9785

    still doesn't work :/
     
  13. Offline

    emmajs1234

    It works perfectly for me, but as Owner with - '*', I can't use it despite everything I've tried. Any suggestions?
     
  14. Offline

    minecraftguy101

    fuck sake i can never find a plugin where i can edit the groups
     
  15. Offline

    Hockey9785

    How about a little support for the plugin? It doesn't work ingame and that is one of the main features of the plugin in general
     
  16. Offline

    limbros

    how do I set it up do i put code in the permissions file or something. I want some preset ranks and permissions if I can
     
  17. Offline

    BKS

    sorry to say but it downloads fine but i set a rank and it does nothing like no prefix no nothing!!!!!! come on
     
  18. Offline

    crashman427

    ok so ive downloaded this plugin and its not even reading it. im on a linux machine but it should still work can any one help me because i like the idea of this plugin
     
  19. Offline

    Sharkmaster321

    Can you send me the file that works please? Im having the same problem
     
  20. Offline

    JOPHESTUS

    You're either an idiot or a troll. That post is from September last year, and that file would not work with the current bukkit build....
     
  21. Offline

    WinkBlink

    I have '*' and im OP but can't /setrank <name> <group> says "You do not have permission to do this!" plz help
     
  22. Offline

    Irock23

    Anyone having problems with permissions needs to read the permissions section:

    "If a group has all permissions with '*', or all SRPEX permissions (srpex.*), you need to put -srpex.notfrom.* before it if you want them to be able to change a user's group from any group."
     
  23. Offline

    WinkBlink

    What do you mean by before it, do i just /pex group <group> add srpex.notfrom.*
     
  24. Offline

    Irock23

    By that I mean in your permissions.yml file, if you have a group that looks something like this:
    Code:
    Admin:
      permissions:
      - '*'
    or
    Code:
    Moderator:
      permissions:
      - srpex.*
    change it to this:
    Code:
    Admin:
      permissions:
      - -srpex.notfrom.*
      - '*'
     
  25. Offline

    WinkBlink

    Owner:
    default: false
    info:
    prefix: '&normal'
    suffix: §multiplay
    build: true
    inheritance: ''
    permissions:
    - srpex.notfrom.*
    - '*'
    prefix: '&0=&4Owner&0=&f'
    options:
    rank: '1'


    I have that and im in the Owner group, why can't i use /setrank <name> <rank>
     
  26. Offline

    Irock23

    Probably because you failed to put the hyphen directly before srpex.notfrom.*.
     
  27. Offline

    thunderbird321

    Please add a feature that allows you to select what ladder you promote in. The default ladder could be set in config. For example I want to have people with 2 ranks, 1 for normal, and 1 for if they have donated. So if I use /setrank command it removes their donator rank as well. So what I would do is set the default ladder in config to be normal so when i use /setrank they don't lose their donator rank as well.
     
  28. Offline

    liltrev12

    **REQUEST**
    Per Chance Could You Make It So You Can Add Custom Ranks -- Not Just The Owner And Admin?
     
  29. Offline

    OrangeCrush

    Could you please update this to the current RB?

    Love this plugin :D

    Thanks
     
  30. Offline

    MagicRecon

    What is wrong with this please help i have added new groups restarted my server and it says there is an error in pex http://pastebin.com/jGPqp0wZ where have i gone wrong
     
  31. Offline

    Irock23

    Yes, I was planning on doing this, I'll just change it have a list of ranks that you want to be announced.
    I will, but I am not too worried about it as it is still compatible anyway.
    If there is an error in PEX, I can't help you as my plugin wouldn't have anything to do with it. If it is actually an error with SRPEX, then if you could show the actual error on here, I may be able to help.
     

Share This Page