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 Jun 17, 2013@Frostywing
you need to make sure you are using spaces and not tab .. if you use tab it will break the config
-
View User Profile
-
Send Message
Posted Jun 16, 2013@Taybosquee
commandrank cannot read your group so it uses permissions to tell the plugin what group you are in .. so for builderi you would add the permission commandrank.isgroup.builderi
your commandrankuplist should look like this:
this example would move builderi to builderii
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
each "." is 1 space so ".." would be 2 spaces
-
View User Profile
-
Send Message
Posted Jun 16, 2013I don't quite understand the "CommandRank.isGroup.example" node... The description says "You should give the permission to every group to prevent from getting the same "RankUp" multiple times. " Does this mean that I should give this to every group/rank I do not want people to be able to be promoted to or one for each group/rank that exists or maybe just the ranks on the list to auto rank up...?
-
View User Profile
-
Send Message
Posted Jun 16, 2013@Frostywing That looks like a problem with your config. Copy all the text from your config.yml into a online YAML Parser (I don't have any links, sorry) and that should point out any formatting issues. A lot of plugins will rewrite their configs if on load they can not read the current one due to corruption or formatting issues.
I also recommend you use NotepadPlusPlus (It's two plus symbols but this webpage is using it as a formatting code so I spelled out "plus" instead of using "+") for editing .yml if not already. I don't know if I'm allowed to post outside links here so you'll have to Google it.
Hope I helped, good luck. :)
-
View User Profile
-
Send Message
Posted Jun 16, 2013I think i figured out why. Every time i start my server the config file resets itself into the original one for some reason instead of keeping the one that i edited. Any idea on how to fix this?
-
View User Profile
-
Send Message
Posted Jun 16, 2013@shadvalentine
Here is how i have it now...http://pastebin.com/i96sUHgr
I also want to ask if its possible to add a prefix to this and oh i also get this now whenever i start my server http://pastebin.com/b7GEcCEj
-
View User Profile
-
Send Message
Posted Jun 16, 2013@Frostywing
upload your file to pastebin .. so we can look at it
and did you finish adding the other rankups?
you have to have a rankup fro each of the lists in the top of the config
-
View User Profile
-
Send Message
Posted Jun 15, 2013@shadvalentine it still shows up as non existing D:?
-
View User Profile
-
Send Message
Posted Jun 15, 2013@Frostywing
ok I think I fixed it for you .. compare this one to your old one to see what was changed .. I saw 2 different types of mistakes ..
1. you had CAPS in your rankups .. these have to be lower case
2. there where spaces in places that there shouldn't be
here is the corrected file: http://pastebin.com/1cnBPWLh
-
View User Profile
-
Send Message
Posted Jun 15, 2013@Frostywing
use http://pastebin.com to paste your config so the format is readable .. and make sure you are using lowercase on your rankups .. upper case will break them
-
View User Profile
-
Send Message
Posted Jun 15, 2013Everyone time i try to rank up it says
"The RankUp is not existing..."
-
View User Profile
-
Send Message
Posted Jun 15, 2013PLEASE HELP!
I would love to use this plugin but i don't know how to add higher ranks :( I read the instructions but i still don't know how to do it!
THIS IS HOW I HAVE IT SET UP settings: permissionsdebug: enabled: false declinerules: enabled: true rankup: prisoner acceptrules: enabled: true rankup: member rulepages: 3 playersneedtoreadrules: true signtext: '[RankUp]' vault: enabled: true tellplayerstoreadrules: scheduletime: 30 enabled: true antipermission: CommandRank.DoNotToReadRules rankupinformation: enabled: true dontadddefaults: true autorankups: main: enabled: true scheduletime: 600 explevel: enabled: false list: - 5:user - 30:builder - 35:Architect - 40:Warrior - 45:Captain - 50:General - 55:Fearless - 60:Shadowhunter - 65:Death - 70:FrostyPaladin points: enabled: false list: - 500:user - 2500:builder - 3000:Architect - 5000:Warrior - 6000:Captain - 9000:General - 10000:Fearless - 11000:Shadowhunter - 14000:Death - 18000:FrostyPaladin kills: enabled: true list: - 10:prisoner - 30: builder - 40: Architect - 50: Warrior - 70: Captain - 100: General - 200: Fearless - 350: Shadowhunter - 500: Death - 600: FrostyPaladin onlinetime: enabled: true list: - 3600:member - 36000:builder - 360000: Architect - 3600000: Warrior - 4000000: Captain - 4200000: General - 4400000: Fearless - 4600000: Shadowhunter - 4800000: Death - 5000000: FrostyPaladin commandrankuplist: enabled: false list: - CommandRank.isGroup.user:builder - CommandRank.isGroup.guest:user - CommandRank.isGroup.builder: Architect - CommandRank.isGroup.Architect: Warrior passwordrankuplist: enabled: false list: - password:user - 9f8zfsio:builder rankups: Member: message: '&4You are now user!' economy: price: 500 enabled: false onlinetime: time: 3600 enabled: true needxplevel: amount: 10 enabled: false needitems: list: enabled: false needkills: amount: 0 enabled: false commands: byplayer: list: - warp user - me is now user enabled: true byconsole: list: - permissions player setgroup %name% user - heal %name% - feed %name% enabled: true giveitems: list: - LOG:10 - TORCH:15 equiparmor: false enabled: true builder: message: '&4You are now builder!' economy: price: 25000 enabled: true onlinetime: time: 36000 enabled: true needxplevel: amount: 0 enabled: true needkills: amount: 30 enabled: true needitems: list: enabled: false commands: byplayer: list: - warp builder - me is now builder enabled: true byconsole: list: - permissions player setgroup %name% builder - heal %name% - feed %name% enabled: true giveitems: list: - WOOL:64 - GLASS:64 - OBSIDIAN:10 equiparmor: false enabled: false Architect: message: '&4You are now Architect!' economy: price: 3000 enabled: true onlinetime: time: 36000 enabled: true needxplevel: amount: 0 enabled: false needitems: list: enabled: false needkills: amount: 40 enabled: true commands: byplayer: list: - warp user - me is now user enabled: Architect byconsole: list: - permissions player setgroup %name% user - heal %name% - feed %name% enabled: true giveitems: list: - LOG:10 - TORCH:15 equiparmor: false enabled: true prisoner: message: '&4You are now prisoner!' economy: price: 0 enabled: false onlinetime: time: 0 enabled: false needxplevel: amount: 0 enabled: false needkills: amount: 0 enabled: false needitems: list: - DIRT:1 enabled: false commands: byplayer: list: - warp prison - me is now prisoner... enabled: true byconsole: list: - permissions player setgroup %name% prisoner enabled: true giveitems: list: - DIRT:1 equiparmor: false enabled: false
-
View User Profile
-
Send Message
Posted Jun 12, 2013@Blackixx
did not think of doing it that way .. password could work
Just thought of another way .. make a room with a commandrank sign with locked doors .. you can bring a person in the room so they can "accept" click the sign
-
View User Profile
-
Send Message
Posted Jun 12, 2013@shadvalentine
I'm going to add the timed RankUp.
About donstas problem: You can also use passwords: One player knows the secret password and can tell it to the other players.
-
View User Profile
-
Send Message
Posted Jun 12, 2013@Blackixx
Have you given any thought to my feature request? not trying to rush .. just would like to know what you think.
-
View User Profile
-
Send Message
Posted Jun 12, 2013@Blackixx
I thought about this way too .. only problem is that the person offering the rankup would have access to all the other rankups wouldn't they?
-
View User Profile
-
Send Message
Posted Jun 12, 2013@donsta3000
Just create RankUp a. Then type /cra rankup a <name>. Modify a that it gives the players the CommandRank.Rankup.b permissions and send a player a message that he is able to rankup to b now.
Btw I was really stressed in the last days but I'll update CommandRank this weekend.
-
View User Profile
-
Send Message
Posted Jun 12, 2013@donsta3000
I am looking into this .. but it does not look like you can .. unless there is a way to add the users name to the rankup command
-
View User Profile
-
Send Message
Posted Jun 11, 2013I mean, player 1 offers him the rank, not give. And the other person has to accept it.
-
View User Profile
-
Send Message
Posted Jun 9, 2013@Sukomoto
It does
@donsta3000
Yeah. You could create one "RankUp" R1 which gives player B the right permissions to use the "RankUp" R2 which promotes him.