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 May 1, 2013@ThisUsernameIsMine
Only add the survivalist "RankUp" to the config. Then you only need to give survivalists the CommandRank.isGroup node.
-
View User Profile
-
Send Message
Posted May 1, 2013One more Question: I have 7 groups in total and want to auto-(up)rank my guest group to survivalist, but i'm not sure how the node CommandRank.isGroup.
<<name of rankup to group>>should be applied.I only need to auto-(up)rank one group, and only one time, so i don't think the remaining other groups should get this node, but i'm not too sure about this =P
-
View User Profile
-
Send Message
Posted May 1, 2013@skullz168
Fixed
@skullz168
Fixed
-
View User Profile
-
Send Message
Posted May 1, 2013I do not have the config.yml file after installing the plugin
-
View User Profile
-
Send Message
Posted May 1, 2013I dont have the config.yml file when i installed the plugin it created a folder which had only messages.yml
-
View User Profile
-
Send Message
Posted Apr 30, 2013Thanks for the great plugin. Someday when I am rich and famous I shall pass some onto you guys for the great job!
-
View User Profile
-
Send Message
Posted Apr 28, 2013@SeaToSky
It does what I said. It will give the listed nodes. CommandRank.useSign is just more simple.
I checked my whole code again and you only need CommandRank.useSign to trigger the promotion and CommandRank.RankUp.<name of Rankup> to perform it.
-
View User Profile
-
Send Message
Posted Apr 26, 2013@Blackixx
So then CommandRank.User doesn't do what you said it does? I thought it was supposed to give a few nodes.
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
So I have to add each one individually rather than use CommandRank.User?
Edit: Added CommandRank.useSign, still no change. Users can't use signs.
-
View User Profile
-
Send Message
Posted Apr 26, 2013@SeaToSky
You need CommandRank.useSign
and I have already planned to create new guides and tutorials.
-
View User Profile
-
Send Message
Posted Apr 26, 2013I can't seem to get the signs to work. Guests just get "You are not allowed to do this."
I have a guest rank which I would like to be able to use the signs.
I gave them the following nodes.
- CommandRank.User - CommandRank.RankUp.Member - CommandRank.isGroup.Member
Perm handler = PermissionsEx They have all neccesary nodes to interect with signs.
Video tutorials would help big time!
-
View User Profile
-
Send Message
Posted Apr 25, 2013@ThisUsernameIsMine
I'm going to add more tutorials to the plugin page.
-
View User Profile
-
Send Message
Posted Apr 25, 2013@Blackixx
oops.. (facepalm). Are nodes Case-sensitive/aware?
edit: I added CommandRank.RankUp.survivalist to my Guest group but it still says "You are not allowed to do this!"
Guess i'll have to wait until someone creates a video-tutorial for this.
-
View User Profile
-
Send Message
Posted Apr 25, 2013@SeaToSky
I'll add an alias.
@ThisUsernameIsMine
You need to give your players the permission CommandRank.RankUp.<name of rankup>.
-
View User Profile
-
Send Message
Posted Apr 24, 2013Is it possible to change /cr to something else like /commandrank ? Because I also have another plugin that uses /cr , just wondering if there are any aliases? If not could you add some?
-
View User Profile
-
Send Message
Posted Apr 24, 2013@Blackixx
hmm, i'm trying to auto-rank a group by onlinetime, but it doesn't seem to change the rank and every now and then it displays the message 'You are not allowed to do this!'.
My config looks like this:
I've also added survivalist under the rankups section but as there is another onlinetime option i'm thinking that it's used for a different rankup-stragegy. I'm kinda confused right now =/
-
View User Profile
-
Send Message
Posted Apr 24, 2013@ThisUsernameIsMine
Yep.
-
View User Profile
-
Send Message
Posted Apr 24, 2013This mod looks very useful, thanks! :)
edit: What does
do?
-
View User Profile
-
Send Message
Posted Apr 21, 2013@DarkIcicle2
Disable this: settings.tellplayerstoreadrules.enabled
-
View User Profile
-
Send Message
Posted Apr 20, 2013I set this to all false: declinerules: enabled: false rankup: prisoner acceptrules: enabled: false rankup: user rulepages: 3 playersneedtoreadrules: false Yet it still is showing /AcceptRules to rankup to be promoted to a user! For non-ops. Help please?
-
View User Profile
-
Send Message
Posted Apr 20, 2013@DeanUKMC
Write all your "RankUp"s in lower case.