SetRankPEX
SetRankPEX - Change a user's group in PermissionsEx more easily
Version: 1.7.1
CB: 1.7.2-R0.3
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 messages for admins and owners that is configurable and optional
Commands
Usage | Aliases | Permission | Description |
---|---|---|---|
/setrank <player> <rank> | rank, setgroup, group | srpex.setrank.(group in lower case) | Change a player's rank to the specified one. If the group name contains a space, use an underscore (_). |
/srpexversion | srpexv | srpex.version | Check for a new version of SetRankPEX |
/srpexreload | reloadsrpex, srpexr | srpex.reload | Reload the configuration of SetRankPEX |
Permissions
~Go here if you have problems with permissions (pre-1.7)~
Name | Description |
---|---|
srpex.setrank.(group in lower case) | Allows you to use the setrank command for the specified rank. If the group name contains a space, use an underscore (_). |
srpex.from.(group in lower case) | Allows you to change a user's group from the specified one. If the group name contains a space, use an underscore (_). |
srpex.version | Allows you to use the srpexreload command. Notifies users of a new version when they join the server. |
srpex.reload | Allows you to reload the configuration of SetRankPEX |
Configuration
Name | Type | Default Value | Description |
---|---|---|---|
allow-ops | boolean | true | Whether or not to allow ops to do things without the required permission |
broadcast-rank-change | boolean | true | Whether or not to broadcast a message when a user's rank is changed |
broadcast-message | string | '+player is now a(n) +group' | Message broadcast when a user's rank is changed |
announce-ranks | string list | [Admin, Owner] | Ranks that get a special join message |
ranks-message | string | '+rank +player joined the game.' | Special join message for specified ranks |
version-check | boolean | true | Whether or not to check for new versions of SetRankPEX |
check-interval | long | 3600 | Amount of seconds between each version check |
If there are any features you would like me to add or any suggestions, please tell me.
Source code included in JAR file
None of the things people have been complaining about has been an issue with me...I don't complain about a good thing. But the thing that i do have a problem with is that, whether i have the correct permissions, or i am op, i can not change the rank from in game, i have to do it with the console. And since im using mcmyadmin,it forces me to have my browser up at all times, which is not a big deal, but sometimes its an annoyance. So all i ask is for the permissions be corrected, or tell me how to do it the correct way. Just for verification i will post my permissions file.
Maybe spout features, UI?
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!
RaesWolf, it seems that for me when i had the problem i edited the config file for SetrankPex, delete it and reload the server and see if that works.
I am currently having the same issues where some players can change ranks but I cant as an admin and being Oped.
I have already added - '-srpex.notfrom.* as stated etc and yet still i can not change anyones rank. But a normal player with the same permissions can...
EDIT; It Works if u give each player the permission nodes individually but it does not work with ranks or groups.
cant rank guest to builder??????????
@Viava
You need to add - '-srpex.notfrom.*' right above your - '*' permission node, and you should be able to change anyone to any rank using PEX. It says it right above in the overview.
...? PermissionsEXSQL
rank NetRider Security
21:38:40 [INFO] [SRPEX] NetRider ist nun in der Gruppe: SQLGroup(Security
Help? Fix?
@Viava
/pex user YOURNAME add srpex.setrank.*
But if you're op you should have that anyway - try learning how permissions systems work.
I have sevral ops on my server including me. However they are all able to use the setrank command to any rank and im not. I am also the Owner of the server and everytime i try using the command says i dont have permsion even tho i am owner and op. They are all default ranks and i have checked the permisions to seev if they do but they dont.
On Server with SQL PEX its prints sqlgroup(Gast)
@fortnum1
Sorry about the error with loading the config, the auto-generated one is missing the apostrophes at the end of the admin and owner messages. Just add it.
That shouldn't have to do with you not having permissions to rank. Did you add the nodes? If you have all permissions with '*', you need to put -srpex.notfrom.* before '*' so that it allows you to rank from any group.
@fortnum1 It had an error checking your config, so I will look at that first. Check your config, make sure everything is correct. You can try deleting the config and letting it make a new one also. Then edit the new config to your liking.
Then make sure to have your permissions correctly set up if you use them also.
@Irock23 Ok, thanks for the reply. Also, I made a ticket, and if you have time, I would like for you to respond to it.
I recently had something happen on my server were someone got OP and was able to make a group of people higher ranks. I have taken more measures to prevent this from happening again, and I am grateful for this addition to the plugin.
@Coolman232 It should let you. I have been able to rank offline players successfully so far.
Does this plugin allow players to promote offline players?
This is the best plugin ever!!!
@Irock23
hey ty for thie very good plugin but im have a littel problem
server log: 2012-04-06 11:13:09 [INFO] [SetRankPEX] Enabling SetRankPEX v1.5 2012-04-06 11:13:09 [INFO] [SRPEX] Found PermissionsEx v1.19.1 and is good to go 2012-04-06 11:13:09 [INFO] [SRPEX] Error loading config! 2012-04-06 11:13:09 [INFO] [SRPEX] SetRankPEX v1.5 is now enabled.
srpex says to me ingame i have no permission to rank pls help i need thie plugin!
mfg Fortnum
@Unknown_Mage
If broadcast-rank-change is set to true, it will send a message to the entire server saying that the user's rank has been changed.
Yes, ops will be able to change their rank to anything, but I figure if they are an op, they probably have most if not all permissions anyway. If not and you don't want them to be able to change their rank to a higher one than what they have, then you will have to set allow-ops-changes to false.
If you have the boradcast-rank-change set to true, how will it work?
Will it only tell the user whose rank was changed and the person that changed his or her rank? Or will it tell the entire server?
Also for the allow-ops-changes. If a person is an op, they should not be able to rank themselves any higher than what they are allowed?
Thanks, back to using this :P