CommandRank
Promote players with Kills, Signs, Passwords, Time, Exp, Items, Money and more!
Tired of promoting every player by hand? No Problem! Just use CommandRank :)
It allows the players to promote themselves (With configurable conditions) or even promotes them automatically (for example after a specific time).
Example usage on a PvP-Server:
Players need kills to get a better rank.
With every promotion they get some rewards and a better title.
Features
- Different ways to promote players if they meet the conditions
- Permissions support
- Economy support (needs Vault)
- Everything is configurable
- You can add infinite different "RankUps"
- Possible conditions:
- Player needs money
- Player needs kills (CommandRank is able to count kills)
- Player needs specific "onlineTime" (CommandRank is able to count the time a player is online)
- Player needs specific items in his inventory
- Player needs "Points" (PlayerPoints)
- Player needs to enter a password
- Player needs XP
- Possible ways to execute a rankup:
- "RankUp"-Sign
- Acceptrules command (executes one specific "RankUp")
- Declinerules command (executes one specific "RankUp" (default is prisoner))
- RankUp command (executes the next possible "RankUp"
- AutoRankUp (If enabled, a schedule checks players data every x seconds and executes a "RankUp" if possible)
- Password (Player is able to enter a password. If it's the right one a "RankUp" will be executed)
- Possible actions:
- Commands executed by console
- Commands executed by player
- Items given to player (Enchantments or things like colored wool are possible)
- CommandRank contains an "RankUpEvent" which allows other developers to work with
Commands
- /AcceptRules | Ranks the players to the given group (default: user)
- /DeclineRules | Ranks the players to the given group aswell (default: prisoner *evil* )
- /Password <pw> | Allows the player to enter a password
- /RankUp | Executes the next possible "RankUp"
- /cr | Shows "onlineTime" or kills to the player
- /cra | Admincommand to check onlineTime/kills of a player or to promote somebody
Permissions
- CommandRank.Admin | Allows to execute admincommands and to create a "RankUp" sign & contains "CommandRank.User" permission
- CommandRank.createSign | Allows to create a "RankUp" sign
- CommandRank.AdminCommand | Allows to use the admincommands
- CommandRank.User | Basic permissions
- CommandRank.useSign | Allows to use a "RankUp" sign
- CommandRank.AcceptRules | Allows to use the AcceptRules command
- CommandRank.DeclineRules | Allows to use the DeclineRules command
- CommandRank.Password | Allows to enter a password
- CommandRank.UserCommand | Allows to use the /cr command
- CommandRank.RankUpCommand | Allows to use the /rankup command
- CommandRank.RankUp.<name of rankup> | Allows to use the named "RankUp"
- CommandRank.isGroup.<name of rankup to group> | Prevents from getting AutoRankUp to <name of rankup to group> (You should give the permission to every group to prevent from getting the same "RankUp" multiple times.)
- CommandRank.exclude.* | contains:
- CommandRank.exclude.auto | Excludes from "AutoRankUp"s
- CommandRank.exclude.sign | Excludes from sign-"RankUp"s
- CommandRank.exclude.command | Excludes from command-"RankUp"s
- Advanced guide with permissions
ToDo
- Add FAQ to description
Got any ideas? Post them here: Forum
Found a bug? Create a ticket: Tickets
CommandRank is not working? Your config probably contains some mistakes. Check out your server.log or create a new ticket!
API | Setup guide | Tips & Tricks | Modifications
NOTE: This plugin has not been updated since a long time but should still be working fine! Due to circumstances (For example final school year) I am not able to update my plugins anymore. However most of them should still be working fine and besides I have found Maintainers for a few of my projects, who keep these updated. Thanks for your understanding ;-)
-
View User Profile
-
Send Message
Posted Mar 2, 2013What is bad here?
-
View User Profile
-
Send Message
Posted Mar 1, 2013@weather11guy
Could you show me the server.log (The part with the internal error)? Just paste it at pastie.org.
-
View User Profile
-
Send Message
Posted Mar 1, 2013Greetings,
I am depending on this plugin to work but it does not. The password function will seem to accept it but does nothing. I tried the /acceptrules command and always get an internal error. I use bPermissions.
When the /acceptrules command does work it tells me I must read the rules even tho I have that set to false. After I read them I use the command. and it tells me I am a user! and does nothing just like I never edited the user rankup.
passwordrankuplist:
enabled: True
list:
- password:test
- RankUp:user
rankups:
user:
message: '&4You have been ranked! Go to /warp Trustedville to start or have a look around spawn!'
economy:
price: 500
enabled: false
onlinetime:
time: 3600
enabled: false
needxplevel:
amount: 10
enabled: false
needitems:
list:
- LOG:10
- DIRT:60
enabled: false
needkills:
amount: 0
enabled: false
commands:
byplayer:
list:
- me is now Trusted
enabled: false
byconsole:
list:
- world world
- user %name%
- user setgroup Trusted
- heal %name%
- feed %name%
enabled: True
settings:
dontadddefaults: true
declinerules:
enabled: false
rankup:
acceptrules:
enabled: True
rankup:user
rulepages: 3
playersneedtoreadrules: false
signtext: '[RankUp]'
vault:
enabled: true
Any ideas. It seems it may be a bug/compatibility with bPermissions
The ranking commands I use are /world world (to select the world a player is in) /user <player> /user setgroup <group>
I use that since the /promote <player> <group> <world> can get VERY easily abused
-
View User Profile
-
Send Message
Posted Mar 1, 2013@Sk8Sanctified
So just the gamemode change is not working yet? Could you show me your config?
-
View User Profile
-
Send Message
Posted Feb 28, 2013@Sk8Sanctified
I use pex for my permissions so this may not be the same for yours.. but you have to make the rankup run a console command like I have marked below ... do you have this set correctly for your permissions plugin?
this is out of my rankups list under builderi:
commands:
byplayer:
list:
- me is now BuilderI
enabled: true
byconsole:
list:
- pex user %name% group set BuilderI < This is where you change the group
- heal %name%
enabled: true
I think yours would look like this with group manager
commands:
byplayer:
list:
- me is now BuilderI
enabled: true
byconsole:
list:
- manuadd %name% BuilderI < This is where you change the group
- heal %name%
enabled: true
-
View User Profile
-
Send Message
Posted Feb 28, 2013Ok, I'm positive I have the permissions correct in GM and the sign is working. The players get the rankup message and items, however their rank does not change in GM.
-
View User Profile
-
Send Message
Posted Feb 28, 2013@Blackixx
I had the wrong name in the config :/
EDIT: Ok I got the sign to work but it is not changing the players rank.
soo hope that makes sense, the sign seems to be working. The player gets the message and items as if they rankup, however their rank does not change in my permissions plugin. I'm using GM if that helps.
-
View User Profile
-
Send Message
Posted Feb 28, 2013@Sk8Sanctified
Have you checked if your "RankUp"-names at the config are in lower case?
-
View User Profile
-
Send Message
Posted Feb 28, 2013I would like to make a sign rank up.
My permissions default group is grunt. I made a sign to have them rank up to the next rank which is grunt_caster
The sign looks like this: Firstline: [RankUp] second: Grunt_Caster(I tried lower case as well)
Is that the correct way to do a sign? I don't think so because it's not working for me.
I receive the message The RankUp is not existing...
I made sure to add the .isgroup. permissions and .rankup. as well to each group involved in the rank up.
If anyone can assist, that would be great.
-
View User Profile
-
Send Message
Posted Feb 28, 2013@Nikz11
Well in the config there are three "things".
The permissions you need are:
-
View User Profile
-
Send Message
Posted Feb 28, 2013Someone explain how the /acceptrules command works?
-
View User Profile
-
Send Message
Posted Feb 28, 2013@thomasmccarron
Everytime when the plugin tries to execute a "RankUp" there are player and name of the rankup. Before the plugin starts executing the code it checks whether the player has permissions to use <name of the rankup> or not. This means you need the permissions node CommandRank.RankUp.VIP-Stone. But then there is another problem: The "RankUp"-names need to be in lower case. So you should change the VIP-Stone rank into vip-stone (just in the CommandRank config, you can still use upper case in messages).
-
View User Profile
-
Send Message
Posted Feb 27, 2013@thomasmccarron
you use it in the permissions:
BuilderI:
prefix: '&bB1'
permissions:
- CommandRank.RankUpCommand < required to use the command /rankup
- CommandRank.RankUp.BuilderII < required to ba able to move to BuilderII
- commandrank.isgroup.builderi < required to run the rankup
this is what my CommandRank config looks like:
commandrankuplist:
enabled: true
list:
- CommandRank.isGroup.BuilderI:builderii
- CommandRank.isGroup.BuilderII:builderiii
- CommandRank.isGroup.Owner:ownerop
- CommandRank.isGroup.OwnerOP:owneropps
- CommandRank.isGroup.OwnerOPPS:owner
- CommandRank.isGroup.Admin:adminop
- CommandRank.isGroup.AdminOP:adminopps
- CommandRank.isGroup.AdminOPPS:admin
-
View User Profile
-
Send Message
Posted Feb 27, 2013How do I use 'CommandRank.RankUp.<name of rankup> | Allows to use the named "RankUp"' to coincide with points to promote? I have setup the rest of the configuration, and this seems to be the last thing to get it working. I think I understand what it does, but am unsure of how to use the variable. E.g. CommandRank.RankUp.VIP-Stone would allow the player to be promoted to the VIP-Stone rank? Or perhaps does it work like : CommandRank.RankUp.Points allows the player to be check for point ranks? Sorry about the longish post but it's kinda been confusing me xD Thanks :) Regards, Thomas
-
View User Profile
-
Send Message
Posted Feb 27, 2013@Nikz11
Well the old docu might help you: http://dev.bukkit.org/server-mods/commandrank-permissionsbukkit/pages/signs/
I'm going to write a new setup guide asap.
-
View User Profile
-
Send Message
Posted Feb 27, 2013@Blackixx Err any documentation on how to do this?
-
View User Profile
-
Send Message
Posted Feb 27, 2013@Nikz11
Already added.
-
View User Profile
-
Send Message
Posted Feb 27, 2013Can you make a rankup sign to right click so players get promoted?
-
View User Profile
-
Send Message
Posted Feb 26, 2013Thank You for the update .. changing the order of the /cra rankup command has helped me alot ;-)
-
View User Profile
-
Send Message
Posted Feb 26, 2013@mcsorley
Saw and fixed it.