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 Dec 9, 2012Does this work with Groupmanager, I've used the node you mentioned and it doesnt seem to be working?
-
View User Profile
-
Send Message
Posted Dec 9, 2012@richardmac87
CommandRank.SignRank.<name>
-
View User Profile
-
Send Message
Posted Dec 9, 2012What is the permission node for using a sign?
-
View User Profile
-
Send Message
Posted Dec 5, 2012@neumannb
The config stores information and also saves it sometimes. When it saves the information it resets your edited config. Prevent this with /crreload beforenit resets or stop the sevrer while you are editing the config.
-
View User Profile
-
Send Message
Posted Dec 5, 2012I've been having issues with the config.yml rolling back every time the server is reset. Got any tips? I don't know what I'm doing wrong.
-
View User Profile
-
Send Message
Posted Dec 5, 2012Many players have negative play time.
Why is this?
-
View User Profile
-
Send Message
Posted Dec 5, 2012@sethallery
Use a permissions plugin like PermissionsBukkit/PEX.
-
View User Profile
-
Send Message
Posted Dec 4, 2012what file do u add the permissions too
-
View User Profile
-
Send Message
Posted Dec 4, 2012it is 3 gbs, i cant put that into a link
-
View User Profile
-
Send Message
Posted Dec 4, 2012@broluigi
Can you show me your server.log?
-
View User Profile
-
Send Message
Posted Dec 3, 2012we have all the permissions in right but when superuser does /rankup it says null? http://pastebin.com/r07zdpgR is the config, can you help me fix it?
-
View User Profile
-
Send Message
Posted Dec 3, 2012deleted wrong comments section x.x
-
View User Profile
-
Send Message
Posted Dec 3, 2012@Blackixx
Thank you!
-
View User Profile
-
Send Message
Posted Dec 2, 2012@nateedubs
@JaguarJo
The time is currently saved in milliseconds. With the next update Ill change that in a more friendly format like weeks, days, hours, minutes, seconds.
-
View User Profile
-
Send Message
Posted Dec 2, 2012" So the storage saves the time when a player logs in. When he leaves the server CommandRank gets the current time - loginTime = new onlineTime. Then it saves the onlineTime as old onlineTime + new Time."
Okay I think I understand how it records the information, but I'm still not sure on how to read the format that the "time" is recorded in. Kind of like nateedubs' question about whether the string of numbers is showing seconds or what. I can tell that some people have longer times than others, but I really don't know what it is that I'm looking at.
-
View User Profile
-
Send Message
Posted Dec 2, 2012@Blackixx
Okay the command works. Still have one thing confusing me...
When you check the time of another player it gives you a long stream of numbers. I used the command on a new player it said he had "16391694" Is that seconds? Impossible, he had only been on the server for 5 hours.
This number seems to correlate with the numbers in the storage.yml...which also make very little sense. Are these seconds? Milliseconds? Nanoseconds? Or am I just reading it totally wrong?
I really like your plugin, the idea is wonderful and I appreciate all your hard work on it. I just need to get these simple things worked out. The information is there, I just don't know what it means.
-
View User Profile
-
Send Message
Posted Dec 2, 2012@nateedubs
Oh forgot to edit the description... The command is /cra.
-
View User Profile
-
Send Message
Posted Dec 2, 2012So whats the command to check the time of other players? I can't seem to find it anywhere.
-
View User Profile
-
Send Message
Posted Dec 1, 2012@JaguarJo
So you are using the autorankup after a specific time. Well there is currently a little glitch I could not fix yet. 1. So the storage saves the time when a player logs in. When he leaves the server CommandRank gets the current time - loginTime = new onlineTime. Then it saves the onlineTime as old onlineTime + new Time.
2. Not yet. I will add that today.
3. Thats the current problem. Ill fix it asap.
@lazeriux
I will add it right now
-
View User Profile
-
Send Message
Posted Dec 1, 2012Occasionally one of our players will complain that they've played long enough to have earned the next rank but they haven't gotten it yet. We've been ranking those people manually until we find out why they're not ranking up. The config files seem to be set correctly and everyone has the correct permission nodes. And this isn't a problem for every player, some people rank up like they should. So the problem is, is there a glitch with how I've configured CommandRank or are my players exaggerating to my admins the amount of time that they've played for? I can find the answer to this myself if somone could address one of my two questions listed below. Thank you.
1. Would it be possible to get an explanation of the storage.yml file, similar to how there is an explanation for the config file? Trying to double-check player times in the storage file is confusing me.
2. Is there an in-game command to let admins see the crtime of other players? It'd be nice to not have to take a player's word on how long they've played (since lies are easy) and be able to check it ourselves.
3. How/why is it possible for people to have negative times? Some of our players have reported to us that their playtimes are negative. What is causing this and how do I fix it?