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 Jun 9, 2013Is it possible to get one player to offer another player a rank, and the other player has to perform a command suck as /accept rank and he is given the rank.
-
View User Profile
-
Send Message
Posted Jun 8, 2013Does this work with Permissions plugins i.e. Group Manager?
-
View User Profile
-
Send Message
Posted Jun 8, 2013@Spaceknijn
So:
-
View User Profile
-
Send Message
Posted Jun 8, 2013@Blackixx
I edited the config and changed all the ranknames to lowercase but it didnt work. I get the same Ranks nog Existing error and now it also overwrites my config and creates the default ranks again (user,builder,prisoner). I get the feeling that I'm missing something.
-
View User Profile
-
Send Message
Posted Jun 8, 2013may have found a plugin to do what I need for the donator rank
http://dev.bukkit.org/bukkit-mods/azrank/
I can use commandrank to trigger its command
-
View User Profile
-
Send Message
Posted Jun 7, 2013I just realized this will not work for multiple timed rankups how I am tiring to do it .. the only way it will work is if you could set it up to have a separate time for every rankup. ... the way I was going to use it was have it reset the time every time you perform the rankup .. but If I have a donator group that lasts 15 days in game time .. every time a player uses the shorter rankup it will extend the donator rankup out each time...
-
View User Profile
-
Send Message
Posted Jun 7, 2013so I am setting up a couple rankups and have run into a snag .. I have a donator group and a group that is a shorter time .. both these rankups ad and remove your to a group .. not change groups .. so the problem is that when the longer one is enabled the chat gets spamed with You are not allowed to do this! .. Is there any way to turn this message off .. or remove the auto other auto rankups from the user?
-
View User Profile
-
Send Message
Posted Jun 7, 2013@Spaceknijn
Setup guide: "#This is the name of the "RankUp". WARNING: IT NEEDS TO BE IN LOWERCASE!"
-
View User Profile
-
Send Message
Posted Jun 7, 2013I'm trying to setup Commandrank with the RankUp signs but cant seem to get it working. I want players to rank up with Sponges. This is what if got so far, I think it should be working any help on this would be awesome. When I place a sign ingame with the text [RankUp] it says: The RankUp is not existing.
settings:
dontadddefaults: true
declinerules:
enabled: false
rankup: prisoner
acceptrules:
enabled: false
rankup: citizen
rulepages: 3
playersneedtoreadrules: false
signtext: '[RankUp]'
vault:
enabled: false
tellplayerstoreadrules:
scheduletime: 30
enabled: false
antipermission: CommandRank.DoNotToReadRules
rankupinformation:
enabled: true
autorankups:
main:
enabled: false
scheduletime: 600
points:
enabled: false
list:
- 500:user
- 2500:builder
kills:
enabled: false
list:
- 10:prisoner
onlinetime:
enabled: false
list:
- 3600:user
- 36000:builder
commandrankuplist:
enabled: false
list:
- CommandRank.isGroup.user:builder
- CommandRank.isGroup.guest:user
passwordrankuplist:
enabled: false
list:
- password:user
- 9f8zfsio:builder
rankups:
Citizen:
message: '&4You are now Citizen!'
economy:
price: 500
enabled: false
onlinetime:
time: 3600
enabled: false
needxplevel:
amount: 10
enabled: false
needitems:
list:
- SPONGE:50
enabled: true
needkills:
amount: 0
enabled: false
commands:
byplayer:
list:
- warp user
- me is now user
enabled: false
byconsole:
list:
- manuadd %name% Citizen
- heal %name%
- feed %name%
enabled: true
giveitems:
list:
- LOG:10
- TORCH:15
equiparmor: false
enabled: false
-
View User Profile
-
Send Message
Posted Jun 6, 2013@Gopaintman
I think it has to be the item id not name
so like this:
giveitems:
list:
- 27:1
equiparmor: false
enabled: true
-
View User Profile
-
Send Message
Posted Jun 6, 2013I'm trying to get the plugin to give the player an item when they rankup.
However when I then do /cra reload. The plugin totally breaks and I have to delete the giveitems and re install the plugin for it to work again. Any ideas on why this happens?
-
View User Profile
-
Send Message
Posted Jun 6, 2013@Cutecat42
not sure what you are looking for exactly but this plugin can rank down .. all you do is make a rankup with the permissions command to put the player in the rank below the one they are in
If you want it to automatically rank them down when they die .. I am not sure this plugin can do it by itself .. however you could have your players spawn in a room on death and use a plugin like commandsigns to make a sign that runs the rankdown command as well as a command to leave the room .. you would need to disable all the teleport commands in this room so that the only way out is to click the sign.
-
View User Profile
-
Send Message
Posted Jun 6, 2013Please, please, PLEASE make this plugin be able to rank down as well as up (like this outdated plugin --> http://dev.bukkit.org/bukkit-mods/ranker/). I want to be able to have people rank up at "15" kills, but if they die and lose kills, they rank down at "10" kills. Please, please, PLEASE!!!!
-
View User Profile
-
Send Message
Posted Jun 1, 2013tried that, it seems I am missing the permission I have actually put in?
http://dev.bukkit.org/bukkit-mods/commandrank-permissionsbukkit/tickets/4-having-trouble-setting-it-to-auto-rank-only/
-
View User Profile
-
Send Message
Posted Jun 1, 2013@ralphhogaboom
Yep it works like that.
@Golden_Puffle Answered.
-
View User Profile
-
Send Message
Posted May 31, 2013Hi
been trying all day to get it to work doing autorank only, I have posted a ticket, please take a look and shed some light on where I am going wrong.
http://dev.bukkit.org/bukkit-mods/commandrank-permissionsbukkit/tickets/4-having-trouble-setting-it-to-auto-rank-only/
-
View User Profile
-
Send Message
Posted May 31, 2013@Blackixx
You are TEH AWESOMESAUCE. I'll make a video demo shortly.
The XP auto rankup use case I was thinking of was basically something that'd periodically run /rankup on behalf of the player. I'm using CommandRank to allow players to pick a class - mage, warrior, thief, archer - then they rank up in that class, gaining more abilities (mage_ii, mage_iii, etc). This is done via XP.
With the auto XP system that's there, it appears that it's predefined permissions groups that it looks for. I am looking for a way that players don't ever have to worry about checking /rankup, it just does it by checking every 10 minutes or so if they're ready to rankup. Then the message comes on - "You are now a third level mage - you can cast fireball, leap, and freeze!" or whatnot.
Does that make sense? Is that possible?
-
View User Profile
-
Send Message
Posted May 27, 2013I think I have asked about this before .. I at one time needed to delay a command from command rank and I just found a way to do it .. just in case anybody else needs to ..
http://dev.bukkit.org/server-mods/delay-command/
It did work in the test I just did
-
View User Profile
-
Send Message
Posted May 26, 2013@shadvalentine
It should be possible. And I think I'll add realtime. Yeah.
-
View User Profile
-
Send Message
Posted May 26, 2013Have not tried this yet .. but I am needing the ability to rank a player to a group for 30 days and then rank back down .. what I am wondering is .. can I use the auto rank up for this or does it count how long on the server in total ..
If this is not possible do you think you would be able to add a feature like this?
This would be for a donator group .. the new permissions plugin does not seem to support timed ranks.
Edit:
Still need to test this but if you can run these commands from console then this may work
set a commandrank that:
Runs the console command /cra settime <name> 0
Adds user to donator group
then make a auto rank up donator group that is timed that:
Removes the user from the donator group
do you think this will work?
and is it possible for you to add real time .. so that I can use 30 days instead of 30 days online