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 ;-)
was just thinking .. this would be ok as a separate plugin too meaning leave commandranks the way it is and make a second plugin that would run just the player and console commands based on the permission the player has .. so it would be a simpler version of commandranks (with different commands) that can be ran at alongside commandranks.
@Blackixx
I have aliases .. the problem is I have a world that will need 2 different sets of rankups .. meaning I would need the admins to be able to type /rankup to buy the next rank and then be able to use a second command to switch between op and deop
@shadvalentine
You could just add aliases in the bukkit.yml
Really like this plugin ... it is used a lot on my server .. I was wondering if you can add one more rankup command?
I use this to handle both my players paid rankups and to toggle my admins in and out of op mode .. so I was wondering if you can add a command that does exactly the same thing as /rankup but has its own set so like /rankupop .. and the config would look something like this:
commandrankuplist:
enabled: true
list:
- CommandRank.isGroup.BuilderI:builderii
- CommandRank.isGroup.BuilderII:builderiii
commandrankupoplist:
enabled: true
list:
- CommandRank.isGroup.Owner:ownerop
- CommandRank.isGroup.advancedownerdeop:advancedownerop
- CommandRank.isGroup.advanceddeop:advancedop
- CommandRank.isGroup.Admin:adminop
- CommandRank.isGroup.deop:op
- CommandRank.isGroup.op:deop
- CommandRank.isGroup.opps:deop
@Blackixx
One random player of any rank (except the default one) is promoted back to Newbie =/
@erik1988
My bow was enchanted tho, don't know if it makes a difference or not.
Oh I figured out my problem, sorry it was my fault.
In one of my rank requirements, I had a list of items and I wrote them like "IRON-INGOT" instead of "IRON_INGOT".
Item IDs did not work so I had to find the essentials ID.
I get this: Ouch that didn't look good in the formatting, here's the pastebin: http://pastebin.com/0DqxgM88
I've got vault and I checked the config. I don't see anything wrong with it though? o.o
@ThisUsernameIsMine
What exactly happens? Are guests promoted back to newbies? Or does CommandRank set players with a higher rank to guest?
i'm experiencing some problems here:
At random times it happens that a random player is demoted to the default server rank.
I've already checked my permissions and the config of CommandRank but i couldn't find anything wrong with it.
I use this plugin to auto-promote Newbies to Guest, after 10 minutes.
All ranks except Newbie have CommandRank.exclude.*
The Newbie group has CommandRank.RankUp.guest and the Guest group has CommandRank.IsGroup.guest
any ideas? :(
@melohdaay
Check out your server.log. CommandRank probably disabled itself because an important plugin was missing (example: You have "Vault" enabled in the config but you don't have Vault)
I don't know why but no commands are working.
Whenever I type something like /cr or /rankup, absolutely nothing happens. Nothing appears in console, nothing.
When I type /pl, it shows that commandrank is working and green.
My server is 1.6.4 but your plugin seems to be for 1.6.2, is that the reason why or is there something else?
Thank You
@Blackixx
Thank you :)
I also wonder if its possible to include votes? Like that you would have to vote for our server at http://minecraft-mp.com/ 5 times to get a rank.
@erik1988
I've never heard of that bug but I'll check my code.
I run 1.6.4 spigot and for some reason kills with arrows does not count, is that a know bug or is it just my server that is weird?
@Blackixx
facedesk.. Thank You! :D
@BlackixxWhen im in my principal world, i put a sign and I write [RankUp] builder and when I click on it, it writes nothing happened. But when I go on another world I do same thing and it works perfectly. I use for permissions GroupManager and to make worlds I use Multiverse-core.
@Xnanorx
Wut? Please create a detailed ticket :)
@ThisUsernameIsMine
Use ScheduledCommands
I dont understand why the plugin dont work on my principal world name world, but on my other world it works
Is it possible to set a delay for the execution of commands that are run as console/player?
When someone is ready to be promoted, the player command doesn't execute because the rank of the player hasn't changed yet.
If there's a way to set a delay for executing commands, it would resolve the problem i'm having ;)