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 23, 2012@Master_Zangetsu
Ive tested it with CommandRank.* permissions.
-
View User Profile
-
Send Message
Posted Sep 23, 2012@Blackixx
Bug Report I've got the New New version 2.3.5 but it still doesn't seem to be registering the kills, the sign rank up side seems to be working, so when you click them it says "You do not have enough kills for RankUp (0/5)"
However this was after about 30 kills (he went a little crazy), leads me to believe that they are not registering.
-
View User Profile
-
Send Message
Posted Sep 22, 2012@Master_Zangetsu
or set AddDefaults to true
-
View User Profile
-
Send Message
Posted Sep 22, 2012@Erik058
At moment it works like that:
> failI will change the password feature now to a list like the KillListener list:
<<code lua>>PasswordList: - xDLOLPassword:Admin - AnotherPassword:Builder <</code>>
-
View User Profile
-
Send Message
Posted Sep 22, 2012mmmm.... For some reason, I type the password in, it says "You entered the password Gamer" But nothing else happens after. You fixed it where it says "You dont have permission" but when entering that password, the player should get a rank up and have a broadcast going out. Here is my config for that password rank. http://pastebin.com/EMqGYJ3s
-
View User Profile
-
Send Message
Posted Sep 22, 2012@Blackixx
awesome I am assuming I need to let it regenerate a fresh config?
-
View User Profile
-
Send Message
Posted Sep 22, 2012@Master_Zangetsu
update finished :D
-
View User Profile
-
Send Message
Posted Sep 22, 2012@Blackixx
il wait for that one then? then can test them both out
-
View User Profile
-
Send Message
Posted Sep 22, 2012@Master_Zangetsu
ok I will add that too (configurable)
-
View User Profile
-
Send Message
Posted Sep 22, 2012@Blackixx
would it be easier to create a kill / death?
so every kill it adds 1 to a players score and every death removes 1.
so it becomes another thing to check just like the online time?
-
View User Profile
-
Send Message
Posted Sep 22, 2012@Master_Zangetsu
hm it would be possible erm thats a bit complicated: When you are using the KillListener, the RankUp will be executed after x amount of kills. If the player would not have enough money/items the RankUp would be canceled and never executed again. I will add a KillAmount to the sign- and command-RankUp.
-
View User Profile
-
Send Message
Posted Sep 22, 2012Is it currently possible to require a player to have x number of kills in addition to the normal money and items?
I know its possible to rank up just on kills but could i specify:
3kills $1,000 63:03
All being needed for a RankUp?
-
View User Profile
-
Send Message
Posted Sep 22, 2012@hovedhakker
Master_Zangetsu is right. If you want to, I will add a feature to allow you to keep the items
-
View User Profile
-
Send Message
Posted Sep 22, 2012@hovedhakker
Takes them away from you
-
View User Profile
-
Send Message
Posted Sep 22, 2012Does it just require you to have the items and lets you keep them? Or does it take you items?
-
View User Profile
-
Send Message
Posted Sep 20, 2012@Erik058
I will fix that.
-
View User Profile
-
Send Message
Posted Sep 19, 2012@Blackixx
i tried that. it says when doing the command, "You have entered the password "Gamer" You do not have permission". I also tried CommandRank.Password.member
-
View User Profile
-
Send Message
Posted Sep 19, 2012@Erik058
CommandRank.Password
-
View User Profile
-
Send Message
Posted Sep 18, 2012Whats the permission for using /crpw ?
-
View User Profile
-
Send Message
Posted Sep 18, 2012@deancohen1994
Read the server.log. Maybe it disabled itself because it could not find Vault or something like that.
Edit:
Problem was solved. You wrote [Rankup] instead [RankUp] and changed the config now to [Rankup].