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 Nov 12, 2012@Blackixx
Actually, there is no error. I did everything right, and it'll do everything EXCEPT rank me up
Rank order: Refugee (Default) Plebian (Register on our website and get promoted) Citizen (Pay $5,000 in-game) Equestrian ($10k in-game) Patrician (25k) Quaestor (50k) Aedile (75k) Praetor (100k)
-
View User Profile
-
Send Message
Posted Nov 11, 2012@Blackixx
Sorry about the late reply, I didn't get any notification.
1) I know, I de-opped myself. 2)Yes, I forgot to put it here. I'll have to do it tomorrow, it's late, sorry. 3)Yes, I did. 4)"You don't have permission for this" Because the person doesn't rank up after they hit the sign.
I'll also try to include a plugin list tomorrow. Sorry, and thanks.
-
View User Profile
-
Send Message
Posted Nov 11, 2012@lJunKunl
-
View User Profile
-
Send Message
Posted Nov 11, 2012I want my members to be able to rank up via a command or a sign. Since the command wasn't working, I went for signs. I don't know why it's not working. It'll give the people the item(s) but it won't rank them up. In the config, I made it so that the command is twice, with both %player% and %name% so that it does it twice incase something goes wrong. Without ranking up, they can't move on to the next sign/rank. I know without a doubt that I gave the proper permissions. I quadruple checked. This config though is annoying me. My signs are also going well. It gives me the confirmation message of the group that I created. Here's some other info:
CommandRank Config: http://pastebin.com/X1NimLLs
My sign setup:
&4[RankUp] Citizen &8Color of Name
-----Info on the Sign:
The words RANKUP are red because of &4 Citizen is...well Citizen &8Color of Name is gray-ish to show the color of the rank Last line remains blank.
-
View User Profile
-
Send Message
Posted Nov 3, 2012@Blackixx
Thanks for the fast reply...we changed the config file and then use the /crreload command in game. Then we reset the server again.
The changes appear to have remained, so in theory it should be working. Thanks!
-
View User Profile
-
Send Message
Posted Nov 3, 2012@nateedubs
Copy the config to your server and type /crreload ingame before it was reseted.
-
View User Profile
-
Send Message
Posted Nov 3, 2012@Blackixx
No, still having problems getting players to rank up.
Here is the Command Rank code as we have it set now. New users should start in group "Noob" and then after 3 hours be promoted to group "Member".
http://pastebin.com/J9RQZWNZ
Tried turning line 22 to "true". It automatically reverts back to false. We also tried renaming the "default" groups to what our starter group actually is, "Noob". However, it just automatically reverts back.
Any help would be greatly appreciated, we really would like to launch our tekkit server!!!
-
View User Profile
-
Send Message
Posted Nov 3, 2012@Darkbro100
Whats the economy system you are using? And could you show me your config?
-
View User Profile
-
Send Message
Posted Nov 2, 2012@Blackixx
Sweet, it worked! Now, I have vault installed but the economy system is still broken.
-
View User Profile
-
Send Message
Posted Nov 2, 2012@Darkbro100
open the CommandRank.jar. Theres a plugin.yml. You can remove commands there.
-
View User Profile
-
Send Message
Posted Nov 2, 2012@Blackixx
I've actually found out that the anti pvp log plugins (CombatTag) are the cause of /rankup not working correctly. I think it might be because of the kill listener, I'm not sure though. Is there a way to fix this? Also, even using the new update there is no plugins.yml file.
-
View User Profile
-
Send Message
Posted Nov 2, 2012@Darkbro100
did you test the new update?
-
View User Profile
-
Send Message
Posted Nov 2, 2012@Blackixx
I've seen this on other servers though, but okay. And also, I have vault but whenever someone uses a rankup sign the money isn't taken away.
-
View User Profile
-
Send Message
Posted Nov 2, 2012@nateedubs
Did you fix it?
@Darkbro100
Not at the moment. At the next update you will be able to remove commands with the plugin.yml.
-
View User Profile
-
Send Message
Posted Nov 1, 2012Is there a way to disable the /rankup with CommandRank? I have PaidRanks and CommandRanks /rankup command interferes with PaidRanks.
-
View User Profile
-
Send Message
Posted Nov 1, 2012Having problems with Command Rank. No one levels up, I'm sure its a simple error in my code. If anyone more knowledgeable then me can take a look and tell me whats wrong, I'd greatly appreciate it! They should be level up once after being online in the server for a few hours.
http://pastebin.com/cLqkyxVZ
edit: Changed line 22 to 'true' Hopefully that fixes it.
-
View User Profile
-
Send Message
Posted Oct 28, 2012Thanks
-
View User Profile
-
Send Message
Posted Oct 28, 2012@BukkitLover
try "BOW:1:ARROW_DAMAGE:3". This may help you: http://jd.bukkit.org/doxygen/dd/d17/classorg_1_1bukkit_1_1enchantments_1_1Enchantment.html
-
View User Profile
-
Send Message
Posted Oct 28, 2012Im trying to give my rogue enchanted bow with power:3..
http://pastebin.com/H7gQTabN
-
View User Profile
-
Send Message
Posted Oct 28, 2012@BukkitLover
I had the same problem as I tried to test some new features.
Edit: Ok great :D