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 Apr 20, 2013@Blackixx
Yep. The error is gone. But now the signs say *Nothing happens* when I click on them.
Edit: Got rid of that (was op) and now it says "You are not allowed to do this" even though I have permissions
Edit Edit: Fixed perms, now says "The RankUp is not existing..."
-
View User Profile
-
Send Message
Posted Apr 20, 2013@DeanUKMC
Does it work now with "BOOK"?
-
View User Profile
-
Send Message
Posted Apr 20, 2013@Blackixx
What is the correct name of the mushrooms? I've tried 39/40 and BROWN_MUSHROOM/RED_MUSHROOM, with no luck.
Thanks
EDIT: Turns out Book was meant to be BOOK
Thanks
-
View User Profile
-
Send Message
Posted Apr 20, 2013@DeanUKMC
Nothing worked because of the error on plugin enable. The setup was cancelled before everything was ready.
-
View User Profile
-
Send Message
Posted Apr 20, 2013@Blackixx
Ahh, that makes sense :P I'll just change that to be the item number 39 and 40.
Thank you! :)
Edit: Would that have been why the vault thing was working too? (Vault is installed)
-
View User Profile
-
Send Message
Posted Apr 20, 2013@DeanUKMC
Found the cause of the error: The names of the items in your config are wrong.
Change or remove
-
View User Profile
-
Send Message
Posted Apr 20, 2013@Blackixx
Set the vault setting to false. Tried again and still not working.
Here's the server log error I'm getting: http://pastebin.com/KTiJw80q And my config file: http://pastebin.com/q7i4sqWr
Edit: If it helps, when I tried to reload the config I got an internal error. :(
Thanks :)
-
View User Profile
-
Send Message
Posted Apr 20, 2013@DeanUKMC
Maybe because you have enabled "Vault" in the config but did not install the plugin. Check out your server.log!
-
View User Profile
-
Send Message
Posted Apr 20, 2013Hi I'm having some problems with your plugin, I used it once before and it worked ok, but now it's not :[
Basically, I installed the plugin and and setup the config. Then when I go in-game none of the commands or signs work. I get no error message, nothing at all.
I think this may have been when I first installed the plugin I tried to reload it as I had made changes to the config file, and all commands stopped working after that.
I tried reinstalling the plugin (via update folder) and still and getting the same problem.
Some help would be greatly appreciated!
-
View User Profile
-
Send Message
Posted Apr 18, 2013@Bigdogdk
We should continue with the chat at the PM.
-
View User Profile
-
Send Message
Posted Apr 17, 2013@Blackixx
I gave the survivor group the CommandRank.RankUp.survivor+ and CommandRank.Password and it didn't make a difference. The perm plugin is PermissionsEx. The message the the command issuer receives is "You are not allowed to do this!" which is not the error you get from pex it is the NoPermissions message from your plugin. Here is the current config file.
-
View User Profile
-
Send Message
Posted Apr 16, 2013@Bigdogdk
Then you need CommandRank.Password to use the command and CommandRank.RankUp.survivor+ to be able to execute the survivor+ RankUp
-
View User Profile
-
Send Message
Posted Apr 15, 2013@Blackixx
I added the perm but it still doesn't work. It still says "You are not allowed to do this!"
-
View User Profile
-
Send Message
Posted Apr 15, 2013@Gopaintman
Yep it takes the items too. Could you the "RankUp" "test" and test if you are able to execute it with the /cra rankup command?
@Bigdogdk
You need the permission CommandRank.Password
-
View User Profile
-
Send Message
Posted Apr 15, 2013I'm trying to setup the config file, I'm trying set so that the rank "survivor" can use a password to go to the rank "survivor+" but when the password is used by a "survivor" it says "You are not allowed to do this!" but the group has the CommandRank.User perm node. Here is the config file.
-
View User Profile
-
Send Message
Posted Apr 15, 2013@Blackixx
I added them, yet it still does the same thing. However /cra rankup <rank> <username>. Also is the needitems condition supposed to take away items as well? That is what I was looking for.
-
View User Profile
-
Send Message
Posted Apr 15, 2013@Gopaintman
The "RankUp"s prestige1-prestige3 and flea and proven of your "commandrankuplist" are missing in the config.
-
View User Profile
-
Send Message
Posted Apr 15, 2013@Blackixx
http://pastie.org/private/c9yfrk9suuym91ls96lrkq
-
View User Profile
-
Send Message
Posted Apr 15, 2013@Gopaintman
Could you send me your config (pastie.org)?
-
View User Profile
-
Send Message
Posted Apr 15, 2013@Blackixx
They are all in lowercase. Should I paste up my config?