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 ;-)
@sk8rjwd
Hm ok I will fix this.
@Blackixx
Yeah it acts as if the player is running the commands not as if console/admin is. If an admin gets autorankedup over time it runs fine but not normal users.
@sk8rjwd
Do you still have the problem with the unkown commands? I saw your config and it seems to be without mistakes. If you want I will test the config at my server.
"And you need to change exlude to exclude in the node."
Changed. Thanks :D
@xXKomeXx
I found it here: http://dev.bukkit.org/server-mods/commandrank-permissionsbukkit/files/32-v2-1-0/
Also, Blackixx. You never answered my question about the config file? And you need to change exlude to exclude in the node.
I don't see version 2.1.0 D: does it have to be approved by bukkit or something?
@sk8rjwd
Answered your PM and uploaded v2.1.0!
@Blackixx
Awesome! I don't know if you read it, but I can help you with translating and maybe even a bit of coding and I can even help test it on a server.
Here is my config:
http://pastie.org/4462402
Also, you should add the ability to exclude ranks from the plugin entirely. Like a node: CommandRank.Exclude
Any members in a group with this node will automatically be excluded from the rank up and kill rank up and sign rank up.
@sk8rjwd
"You should add a way for the users to see how many kills they have and how many they need."
I will!
"Also, when I try to execute a command list on player rank up, it just says they dont have the commands. It is trying to make them run the commands and I want it to act like an admin is running the commands like : pex user %player% group add Scout MLs2"
Can you show your config? (Use pastie.org)
Awesome! You should add a way for the users to see how many kills they have and how many they need. Also, when I try to execute a command list on player rank up, it just says they dont have the commands. It is trying to make them run the commands and I want it to act like an admin is running the commands like : pex user %player% group add Scout MLs2
Please help
@sk8rjwd
@evogamer22
Found the "bug":
When you have "OnlineTimeEnabled: false", the plugin wont notice the JoinTime of the players. So when they type /Crtime, the plugin will calculate: Now - JoinTime (0) + OnlineTime. Just change "OnlineTimeEnabled: false" to "OnlineTimeEnabled: true" when the server is not running to fix that.
@sk8rjwd
Hm I will test CommandRank v2.0 at my server. There are many players. Then I will check the OnlineTime of them.
@evogamer22
I have this same exact problem. Please make a fix!
Also, I can help translate for you. Send me a message!
@Master_Zangetsu
ok great :D (at my server (1.3.1) it works without bugs too)
@Blackixx
works fine ... no issues as far as i can tell
@xXKomeXx
CommandRank should still work with 1.3.1
im wondering if this is getting updated? .-.
@Blackixx
Yeah... But as it turns out, the :true after each node makes the permission false... I got it to work tho :D
@bravesdpm
When you use the sign as default, do you get the "[CommandRank] You do not have permissions" message?
@Blackixx
The group "default", the one i want to be able to use the signs, has commandrank.sign: true, and they still dont have permissions. Do they have to have any permissions like "manuadd" in group manager?
@bravesdpm
I think the players do not have permissions to interact with the world and signs. The permissions node CommandRank.useSign would be enough.