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 ;-)
any chance that you could have demotion based on greifing?
e.g. when someone
etc
hello i have my own server and i saw the todo list and i suddenly saw u where going to do rankups after an specific time. are u busy whit it becuase i realy need it so can u update it or something or when is it updating? btw can u make 2 options than 1 whit server time and 1 whit real live time. that would be handy for ppl who have an full time server and ppl who just have an server for 2 days in a week or 5 ours a day or something
@Blackixx
Added you on skype
@arnie2311
Hm seems right... You could add me in skype ( Black_ixx) then we can chat better together. If you want I could also go to your server and try it out.
@Blackixx
Hmm weird i might be doing something wrong iam using version 1.5.2
Here my config could you tell me if somethings wrong
http://pastebin.com/CFByHT1Y
@arnie2311
It takes money from the player, but in v1.5.1/1.5-beta there was a little bug, that it doesnt takes the money if the player wants to buy a RankUp from "OtherRankUps" cause I forgot a "."
Why does it not Take money from a player when they buy a RankUp ?
Edit:
Just checked your source and it seems you dont do anything with the money you just check that the player has enough
Could you add it so it removes the amount ?
@smokie23
Samrg had the same problem.. I will fix this now
I cannot get 1.5.2 to work.
I cannot get the default players to rank up. It says they do not have permission.
default:
CommandRank.useSign: true
User:
CommandRank.useSign: false
CommandRank.SignRank.BuilderII: true
That should be the only nodes needed? I also have tried throwing in "CommandRank.SignRank.User: true" in the default group and still won't work.
Also, tried "CommandRank.SignRank.default: true" and "CommandRank.SignRank.Default: true" still doesn't want to work :( what did I do wrong?
Here is our config:
http://pastebin.com/GfkShtKW
EDIT:
Ok...I found out why. To use the default sign players must have:
- CommandRank.getRank
- CommandRank.useSign
Can you make it so that CommandRank.useSign is not dependent on CommandRank.getRank. So you only need CommandRank.useSign to use the sign. I would like to use the sign only and not the /acceptrules command.
@dogace01
There are many permissions plugins. This are two of them: http:dev.bukkit.org/server-mods/permbukkit/ and http:dev.bukkit.org/server-mods/permissionsex/
were can i get that
@dogace01
Do you use a permissions plugin? If not, then you will need one if you want to make "ranks" or "groups" to put people in. If you do not want to use a permissions plugin you can just make yourself OP.
hi how do i make my self owner using this plugin and how do i rank people up higher then user
@sa9rin
one "." was missing.... in v1.5.2 it should work better :D
@Blackixx Thanks for reply.
CommandRank:
NoPermissions: no permissions!
NoArguments: This command has no arguments!
Economy:
Failed: /AcceptRules failed
NotEnoughMoney: no money
Enabled: true
SignText: '[RankUp]'
Default:
====================
......many lines.......
====================
OtherRankUps:
player:
Economy:
Price: 200
Msg: You are now in the group player!
Command: pex user %name% group set player
Actions:
====================
......many lines..all false.....
And i set a sign:
[RankUp]
player
not pay money T_T
By the way. To make the default sign work you have to use the following permissions: CommandRank.useSign CommandRank.SignRank.Default
Bug? It says that useSign should allow default sign. But it just doesnt without the other node.
But great plugin! Helps Guests alot! :D
<reply 633950>>
1. If you click on a default sign, the player will automatic send the command /acceptrules <Somethingwithouthspace> And then the plugin checks if the player has Permissions Node CommandRank.getRank or CommandRank.useSign + sent the code SomeThingWithoutSpace.
You are already in this groupm was the default message if the player has not permissions. I changed this too You do not have Permissions in 1.5.1. but if you had the plugin before, you still have You are already in this group.
Same thing : You are already in this groupm was the default message if the player has not permissions. I changed this too You do not have Permissions in 1.5.1. but if you had the plugin before, you still have You are already in this group.
In the new config what is the option "SomethingWithoutSpace: D91nfLOL"??
----------
Throwing wrong message??
[Group:Permission]
default:
- CommandRank.useSign
User:
- CommandRank.useSign false
- CommandRank.SignRank.BuilderII true
Moderator:
- CommandRank.SignRank.BuilderII false
I created a test group "BuilderII". Any rank above Moderator (including Moderator) that try to use the BuilderII will give a message "You are already in this group". When they are not...they are moderators, admins, owners ect. It should say that they do not have the permission (because CommandRank.SignRank.BuilderII false is in moderator group).
-----------------
And if a player without the CommandRank.SignRank.<group> tries to click on a sign without permissions it says "You are already in this group". When they are not in the group.
@sa9rin
1. Is this in your default rankUp? 2. Have you tried the command/ a sign 3. could you show your config?
And yeah I can add multiline (I will)
Hello, I use PEX+vault+iConomy+CommandRank.I set a price,but only require no pay.Ex:I have 100 dollor to buy a 200 dollor rank,i cant get the rank,but if i have 300 dollor to buy it,wo get the rank and wo have 300 dollor still QuQ. And I have a suggestion.The consolo is cool.but only can write 1 line,can it Support multi-line? Thanks fot make the cool plugin,i love it ~