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 ;-)
@Blackixx
Yes, I have user group inheriting default group perms.
For the last problem, yes I ranked up with sign.
Error upon startup, Repeats.
CONSOLE :http://pastie.org/3801336
CONFIG: http://pastie.org/3801342
The problem seems to be with SpoutPlugin, please make these work together!
@youwillneverno
im having the same problem, what was your work around?
@smokie23
"I tried the items needed. When a player tries to use the sign it gives the correct msg but then the player is left wondering what items are needed. Was wondering if there was a way to add the items needed to the msg?"
Ok I will add a message with the items needed
"Also, I am not able to disable the user group from ranking up constantly?? They are able to rank up more then once and stack up on free tools option.
permissions bukkit 1.6
default: -CommandRank.useSign: true user: -CommandRank.useSign: false"
Then you must have
"Does the plugin support the item number id's? I think it caused console error when I tried but not sure. Here is the error."
Only names atm
"I am also getting odd entries into permissionbukkit config. I have a player named "smokie23" and when I ranked up I got this:"
Did you rank up with a sign?
When I tried to use the items needed, the items were not deducted correctly. I tested with 1 log and 10 dirt needed. When I ranked up it took 9 dirt and 1 log. So it didn't take my last dirt for some reason.
Also, I am not able to disable the user group from ranking up constantly?? They are able to rank up more then once and stack up on free tools option. permissions bukkit 1.6 default: -CommandRank.useSign: true user: -CommandRank.useSign: false
Does the plugin support the item number id's? I think it caused console error when I tried but not sure. Here is the error. Console error In the config I tried this. ItemsNeeded: List: &id001 - LOG:1 - DIRT:20 - 04:3 I also tried "cobble" and "cobblestone" and got those errors.
I am also getting odd entries into permissionbukkit config. I have a player named "smokie23" and when I ranked up I got this: smokie23: groups: - default console: groups: - user and inside server.log this: 2012-04-14 15:14:45 [INFO] Player console is now in user. 2012-04-14 15:14:45 [INFO] Configuration reloaded.
stopping the server resulted in the same problem. I found a work around though. thanks.
@youwillneverno
Then stop your server, change the config and then start your server. Or change to config in another folder, stop the server, copy the config and start the server
I did what you said black but when i restarted the server the config file went back to the default and undid all my edits. Any ideas?
@kozzy68 Yes if you give only group 2 permissions for group 3. Example:
@Blackixx
like I will have to ranks like lvl 2 lvl 3 sighs but you can tak lvl3 rank only if you have lvl2.. ?
Thanks
@soshowcanihelp
Could you paste your code? And in the config, there isnt a part "SignRank". Only the permissions node for the different groups on a sign are CommandRank.SignRank.<group>
@Master_Zangetsu
Atm theres only one command, but its a good idea too add more commands. I will add this in v1.8
is there a limit to the number of commands that the plugin will do?
UseCommandBelow: true Command: permissions player setgroup %name% user
could i add another command like this for example
UseCommandBelow: true Command: permissions player setgroup %name% user Command: tp %name% Prison
Thanks Black but I don't understand how to change the config of it. Kinda confusing lol. I miss 'SignRank'
@antoinne30
You could write signs, but I will also add auto-messages soon.
@youwillneverno
Just set "UseCommandBelow" to true, and write your permissions command below.
@Blackixx
yea i meant that too but i also wanted if like i set the player to 60 seconds to be member but then they dont know when to upgrade and where but if they get an massage like you can now rank up go to the spawn to press an sign. and then over and over untill it pressed the sign the repeat count is configureable the text is also configureable.
Hello, I am having an issue where the saves to the configuration file are not saving upon server reload.Also, I see the default is permissionsbukkit. but that it works with all permissions plugins, how would I change it say to, groupmanager.
On a side note, fantastic job. I have been looking for one like this for a bit and none I could find would even work.
@VulpezZ
Richtig: Normalerweise führt es den PermissionsBukkit befehl aus (anfangs war das plugin nur für PermissionsBukkit gedacht). Man kann aber auch andere PermissionsPlugins nutzen indem man UseCommandBelow aktiviert, und dann den Befehl von seinem Permissions Plugin reinschreibt.
Hatte das gleiche Problem.
Du hast:
" UseCommandBelow: false Command: permissions player setgroup %name% user "
Da du aber Groupmanager verwendest musst du das hier eintragen:
" UseCommandBelow: true Command: manuadd %name% Spieler "
Okay ich sehe du kannst Deutsch. Also ich benutzte den Groupmanager von Essentials und habe der Gruppe:[Gast] die Permission -CommandRank.getRank gegeben.
Diese sollen in die Gruppe: [Spieler] aufsteigen, leider klappt das nicht. Sie bekommen zwar die Meldung: You are now in the group Spieler! Aber befinden sich immer noch in der Gast-Gruppe. Lustig ist sie bekommen trotzdem die Tools die eingestellt wurden. Also wäre Super wenn du schauen könntest was ich falsch mache.
CommandRank:
NoPermissions: You do not have permissions!
NoArguments: This command has no arguments!
Economy:
Failed: /AcceptRules failed
NotEnoughMoney: You do not have enough money
Enabled: false
SignText: '[RankUp]'
ToLessOnline: You were to less online for RankUp
Default:
OnlineTime: 0
Group: Spieler
RankUp: You are now in the group Spieler!
SomethingWithoutSpace: xD91nfLOL
Economy:
Price: 500
UseCommandBelow: false
Command: permissions player setgroup %name% user
Actions:
LeatherArmor: true
IronArmor: false
GoldArmor: false
ChainArmor: false
DiamondArmor: false
Food: true
Heal: true
WoodenTools: true
StoneTools: false
IronTools: false
GoldTools: false
DiamondTools: false
OtherRankUps:
Builder:
OnlineTime: 50
Economy:
Price: 1000
Msg: You are now in the group builder!
Command: permissions player setgroup %name% builder
Actions:
LeatherArmor: false
IronArmor: true
GoldArmor: false
ChainArmor: false
DiamondArmor: false
Food: true
Heal: true
WoodenTools: false
StoneTools: false
IronTools: true
GoldTools: false
DiamondTools: false