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 Sep 6, 2012hey is there a way to give enchanted items out at all? once people buy a rank it give an enchanted sword for example? thanks
-
View User Profile
-
Send Message
Posted Sep 5, 2012@Erik058
did you try Commandrank.Kill.Victim ans Commandrank.Kill.Killer?
@antagonym
This is a known bug with a new vault version. I will fix it when Im back (writing this with iPod)
-
View User Profile
-
Send Message
Posted Sep 5, 2012Hi,
I'm trying to set this plugin up, but something I can't get the payment to run. When a player does not have enough money it nicely tells him so and does nothing else. Bute when a player does have enough money it simply changes his user group without any cost.
I use:
- BOSEconomy 7.3.1
- Vault 1.2.18-b229
- CommandRank 2.2.1
I can send the configs if needed.
I've been trying to solve this for a while now and I can't find anything. This is driving me insane!
Thanks for any help.
Antagonym
P.S.: I know Blackixx is not here right now, but i hoped someone else could give me a clue.
-
View User Profile
-
Send Message
Posted Aug 31, 2012Blackixx is currently on vacation and wont be able to answer any questions until he is back. If you have any questions you'll need to take that later, thanks.
-
View User Profile
-
Send Message
Posted Aug 29, 2012I have the default config (Nothing Edited) And default players have the CommandRank.Kill.* permission. Each time the player kills someone, he does /crkills and its always at 0!!!!!
-
View User Profile
-
Send Message
Posted Aug 22, 2012@Weasel_Squeezer
Can you give me your server ip and config? I will write the config and create the signs.
-
View User Profile
-
Send Message
Posted Aug 21, 2012I Can´t access the configuration explanation.
-
View User Profile
-
Send Message
Posted Aug 21, 2012Everything I try doesn't work. I can't get the signs to work for individual groups anymore :/ refer to my last comment.
-
View User Profile
-
Send Message
Posted Aug 21, 2012@Blackixx
Ok well I was able to make the group rank up sign once, then I didnt have permission to use it because I forgot to give myself the permissions for that group sign, and then I went back and it was the exact same sign but a default sign... So I tried to make a new one and every group rankup sign I tried to make just became defaults. it just said "you have created a default sign" or something along the lines... this is frustrating.
-
View User Profile
-
Send Message
Posted Aug 21, 2012@Weasel_Squeezer
Ive updated the page now.
Sign-example:
-
View User Profile
-
Send Message
Posted Aug 21, 2012@Blackixx
ok ya I thought so :/ well I was planning on taking that approach next, but I couldn't figure out how make different signs for the different ranks. Sign info page does not tell us how to.
-
View User Profile
-
Send Message
Posted Aug 21, 2012@Weasel_Squeezer
you want the default rankup to execute different rankups based on their current rank? Thats not possible. Just use different signs and give only players which are in the group below permissions to execute the next rankup.
-
View User Profile
-
Send Message
Posted Aug 21, 2012@Blackixx
How could I change the default so that when they use the /rankup command, it will rank them up based on their current rank and subtract the correct amount of items? It seems like I would need to throw in a couple conditional statements to check which group they were in and promote them to the next group based on that. they way I have the commands for default and all the others is that it removes them from the group they're in and adds them to the next group using: 'pex user %player% remove <or> add <group>'
-
View User Profile
-
Send Message
Posted Aug 20, 2012@Weasel_Squeezer
The command executes the default RankUp. Use signs/onlineTime/the killListener/change the default RankUp.
-
View User Profile
-
Send Message
Posted Aug 20, 2012Every time I do /rankup, it does the default rank up which ranks it up to the current rank I am already at. because tha'ts how I have my config set up for people who just start the game. Really, I don't see why there is even a default rank. the parameters are even different which makes things much more confusing. Also, I have set up my config so that they can rank up when they have a certain amount of emeralds. I have economy, time, and kills all disabled so the only way to rank up should be the amount of emeralds you have. but when I am at my lowest rank (as of now), the rank that default promotes you to, when I do /rankup, it just keeps doing the default even though there are plenty of emeralds in my inventory. I got the item name right in the config which should be 'EMERALD'.
-
View User Profile
-
Send Message
Posted Aug 18, 2012@sk8rjwd
@Random5014
I will create a table with commands/events+permission+description tomorrow.
-
View User Profile
-
Send Message
Posted Aug 18, 2012@Random5014
Just changed it to make it easier to understand. Blackixx is working on another update right now to fix a little bug.
-
View User Profile
-
Send Message
Posted Aug 18, 2012@sk8rjwd
thank you i didn't understand the permission node.
-
View User Profile
-
Send Message
Posted Aug 18, 2012@Random5014
CommandRank.getRank
-
View User Profile
-
Send Message
Posted Aug 18, 2012what is the permission for /acceptrules