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 ;-)
Before I test this out, can I set it up so a player can rank up a level buy clicking a sign with a specific item????
I swear, I am done with this plugin.
First off, it is a GREAT plugin if you want to rank up players with signs. Otherwise, find an alternative, particularly if you want to rank up a player based on the time they've spent on the server, as right now it seems to be completely broken. Every time the config file "checks" to see if it can rank you up, it runs all the commands from the current rank you're in, even though I have the - CommandRank.isGroup.[group] permission set up.
As another note, without generating an error log, a backup file, or anything, this plugin deleted its own config file and set it back to default, while I was editing it. No explanation, and no cause. Maybe I just completely suck at using this plugin, but even watching the video in the main post showed I *had* an almost identical config file. Even if I screwed something up, and broke the config file, this plugin is too unstable for use, especially if you're new to hosting servers. I've been hosting servers for two years now, and have never had such major troubles with any other plugin. (Aside from basic incompatibilities etc.)
I suggest you add a new command since the namechange-feature is out today. With this command:
/cra namechange <oldname> <newname> you transfer all saved data in your PlayerStorage from one account to the other - would this be possible? Right now the server-administration have to do this manually which is quite annoying. If this would work with one command the work would be a lot easier...
Beside this: Why is it not possible to lookup the onlinetime of somebody with /cra time if he's offline!?
Unfortunately the permission sign is not working on the 1.8 bukkit/spigot builds :( This is an essential piece of my server. I hope it gets updated soon!
After some more testing, I have found that as an OP I can click the rankup sign and it will execute the commands, but it won't work for other people...
Not working on spigot 1.8 the permission sign not working
@erik1988 If you ever test this plugin on Spigot 1.8, please post your findings here! I for one am curious.
Will this work on the newly released spigot 1.8.1?
Also I would really like the following features:
- send the player a "title" message when they rank up.
- Require certain votes to rank up (hook into votifier).
Great plugin
Is there a way to make this plugin work with player points as in it cost player points to rank up and not money? From reading the description above I got the Idea that this was possible but after putting it into my server I now realize that it only works with auto rankup and not a command/sign based rankup.
I would love if it was possible to require certian votes to be able to rankup. Many other rankup plugins support this.
I suggest two Features:
1. Via /cra time, it should be possible to see a players onlinetime even if he's offline
2. There should be a permission for /cra time only, so only this part of /cra is accessable...
Any chance to get them?
This is such a great plugin! I hope it will work well when 1.8 comes out.
The only problem I have is that I get "an internal error occurred while attempting to perform this command" when I type "/cr time". And then it spams the console with errors.
Here is the output: http://pastebin.com/DP8wYEvN
It might be because I dont use any ranks that require time. But I would be nice if my consol does not get spammed down if someone types it. Maybe you can put in an "IF null" statement that output a message, so that it looks cleaner.
Thanks for at your awesome work.
Does it support temporary rank assignments? I want player to be Vip for 30 days.
Having issues with my rank up, it keep allowing players to rank up before they reach the time/kills requirement
http://pastebin.com/z2VQNEzZ
@arespinoza
you should put the highest rank. Above in the list. and the lowest rank the lowest.
Con someone help me please.
I cant seem to get /rankup to work. When someone joins my server they start as default (Guest). Once they have played for a few hours they should be able to /rankup to next rank Explorer then noble then king etc.. When default ranks up it does give them rank of Explorer so that's good but if you try to rank up from explorer to noble it just puts u back to explorer. Same if your a noble or higher and you do /rankup it will demote you back to explorer. Can some one tell me what im doing wrong please.
CR config file http://pastebin.com/HWh9emW4 GM config file http://pastebin.com/u106CvJf
I can't get CommandRank to work, can someone help.
http://forums.bukkit.org/threads/can-someone-help-with-commandrank.286775/
Hey I have a problem with using this plugin I can't seem to get it to work 100% I can get it to rankup but it says I rankup but it doesn't I trying to get it to rankup with /rankup and using xp but I cant work out if its CommandRank or if its GroupManager that's the resen that it doesn't work so if someone could hep that will be grate
Thanks
settings: permissionsdebug: enabled: false declinerules: enabled: false rankup: prisoner acceptrules: enabled: false rankup: user rulepages: 3 playersneedtoreadrules: false signtext: '[RankUp]' vault: enabled: true tellplayerstoreadrules: scheduletime: 30 enabled: false antipermission: CommandRank.DoNotToReadRules rankupinformation: enabled: true dontadddefaults: true autorankups: main: enabled: false scheduletime: 600 explevel: enabled: false list: - 5:user - 30:builder points: enabled: false list: - 500:user - 2500:builder kills: enabled: false list: - 10:prisoner onlinetime: enabled: false list: - 3600:user - 36000:builder commandrankuplist: enabled: true list: - CommandRank.isGroup.bumpkin:yokel - CommandRank.isGroup.village_idiot:bumpkin passwordrankuplist: enabled: false list: - password:user - 9f8zfsio:builder rankups: village_idiot: message: '&4You are now Village_Idiot!' economy: price: 500 enabled: false onlinetime: time: 3600 enabled: false needxplevel: amount: 0 enabled: true needitems: list: - LOG:10 - DIRT:60 enabled: false needkills: amount: 0 enabled: false commands: byplayer: list: - warp user - me is now user enabled: false byconsole: list: - manuadd %name% village_idiot enabled: true giveitems: list: - LOG:10 - TORCH:15 equiparmor: false enabled: false bumpkin: message: '&4You are now Bumpkin!' economy: price: 1500 enabled: false onlinetime: time: 36000 enabled: false needxplevel: amount: 5 enabled: true needkills: amount: 50 enabled: false needitems: list: - DIAMOND_BLOCK:2 - IRON_INGOT:40 enabled: false commands: byplayer: list: - warp builder - me is now builder enabled: false byconsole: list: - manuadd %player% bumpkin enabled: true giveitems: list: - WOOL:64 - GLASS:64 - OBSIDIAN:10 equiparmor: false enabled: false yokel: message: '&4You are now Yokel!' economy: price: 500 enabled: false onlinetime: time: 3600 enabled: false needxplevel: amount: 10 enabled: true needitems: list: - LOG:10 - DIRT:60 enabled: false needkills: amount: 0 enabled: false commands: byplayer: list: - warp user - me is now user enabled: false byconsole: list: - manuadd %player% yokel enabled: true giveitems: list: - LOG:10 - TORCH:15 equiparmor: false enabled: false
Village_Idiot: default: false permissions: - CommandRank.isGroup.village_idiot - CommandRank.RankUp.bumpkin - CommandRank.RankUpCommand inheritance: - g:groupmanager_default - g:bukkit_default - g:essentials_default - g:towny_default info: prefix: '&2 [Village_Idiot]' build: true suffix: '' Bumpkin: default: false permissions: - CommandRank.isGroup.bumpkin - CommandRank.RankUp.yokel - CommandRank.RankUpCommand inheritance: - g:groupmanager_default - g:bukkit_default - g:essentials_default - g:towny_default info: prefix: '&2 [Bumpkin]' build: true suffix: '' Yokel: default: false permissions: - CommandRank.isGroup.yokel - CommandRank.RankUpCommand inheritance: - bumpkin - g:groupmanager_default - g:bukkit_default - g:essentials_default - g:towny_default info: prefix: '&2 [Yokel]' build: true suffix: ''
Anyone have an idea why our players have to randomly accept the rules again in order to stay at our standard rank. Everyone on our server starts as a guest but can't get out of spawn till they /acceptrules and rank up. Players who have been playing for a while sometimes log in as a guest and have to /acceptrules again to keep playing. Any ideas?
Thanks for any help!
awesome plugin loved it. pretty unique plugin especially because it works with Bukkit forge!
@kollinkoko
Yeah, just turn the read rules off. And or give all the players the Donottoreadrules permission node and for the lowest command rank, just make sure they already fit the requirements for it.