CmdRank
There are a couple of plugins out there that do ranking up but the problem I have had with many is getting it to do what I want. Rather than using API hooks into permissions plugins directly which limits the server admin to doing just what the plugin developer wanted the plugin to do when ranking a player up, this plugin relys on console commands in order to rank the player up. When a player does "/rankup" a criteria is checked for each matching rankup rule and the associated commands are executed. With configuration, this would be set to be the commands required to "rankup" the player and perform additional tasks like give them bonuses, give them timed permissions or anything that can be done via a command (something other plugins don't give you). The main goal behind the plugin is to provide you with a ranking system for your role-play that allows you to configure and customise it perfectly for your role-play scenario as well as your server setup. Personally I made this so that I would have rankup system that worked well with PEX ladders which other plusing don't allow but due to the flexibility in the way this plugin is designed, you can do this as well as use it for multiple ladders.
Features
- Execute any console command(s) to rankup the player
- Execute batches of commands with as many commands as you need for your permissions plugin and additional tasks
- Supports money, experience, hunger and health as requirments. (Please suggest more in the comments if you have any ideas - see ToDo list for planned implementations)
- Can just check requirements or take requirements configurable per requirements (e.g. can be configured to check they have full health but take $5000)
- Supports rank streams and spanning rank trees with correct implementation (e.g. players can rank from one to another or players can rank from serveral starting ranks to one main rank)
- Allow rankups to be used 1 or many times by the same player
- Optional cooldown between rankups on a global or rank by rank level to control the pace that players can rankup and stop abuse.
- Command for players to check what thier next rankup will be and get information such as requirements and a description
- Highly customisable player experience
- Rankup from buttons using TriggerCmd
- Compatible with all Vault compatible Permissions and Economy
- Usage can be customised for much more than just ranking up
Depenancies
- Vault - Provides hooks to permissions and optionally economy plugins.
- Vault compatible Permissions - required with vault in order for the plugin to work. This is for internal permissions (i.e. command permissions) as well as being used to find out what rank(s) the player has.
- Vault compatible Economy - optional if money is to be used as a rank-up requirement. All money settings will be ignored if an economy plugin cannot be hooked into.
How it works
The way the plugin works when the player executes /rankup is by trying to find a rank that matches one in the config file, if multiple match they will be executed in the order that they are matched. The plugin checks the requirements for each rankup and takes the requirements where needed then will execute the commands as configured in the config file. Currently the plugin support monetary, and experience requirements but I am happy to take suggestions on what else you would like to see to make this fit into your role-playing server.
Commands
- /rankup - Checks which rankups the player meets the requirements for then executes.
- /rankcheck - Shows all rankups that will be attempted when /rankup is executed and their requirements
- /cmdrank reload - Reload the config from the config file.
Permissions
- cmdrank.rankup - can execute rankup command in order to be ranked up
- cmdrank.admin - can execute all /cmdrank commands
- cmdrank.reload - can execute /cmdrank reload
- cmdrank.bypass.cooldown - bypasses any cooldown restrictions
- cmdrank.bypass.disabled - bypasses any disabled ranks
- cmdrank.bypass.reranks - bypasses any rerank restrictions
Configuration
You can view a full commented version of the config file here which should allow you to get started with configuring however, if you would like a full configuration tutorial click here.
ToDo List
- Customisable rankup alias to make it fit with other usages
- Implement McMMO skills as requirements
- Add time online as a rankup requirement
- Add admin commands to invoke rankups on other players
- Add admin commands to manage rankups
- Stats based requirements - blocks placed, players killed, etc.
- Inventory based requirements - Must have specific items in inventory to rankup
- Translate into other langauges (if you can help with this, please contact me)
- Developer API to access data, initiate rankups, and plug in your own requirements
Development
The current development source code can be found on GitHub or on GIT:flungo (the latter being more likely to be up to date). You can download development snapshots from my Jenkins.
Donating
Making a donation is totally voluntary, however if you wish to donate I am happy to accept. I don't expect everyone using my plugin to donate however if your using my plugin (or any developer's plugins for that matter) on a server where you too receive donations then how about considering passing along some of that love to the people who make the plugins that make your server possible? I wouldn't expect people who don't make money from the use of the plugin to donate but all donations are appreciated and would help speed up development and get feature requests completed. If you would like to donate to me then you can use the button below:
Use PrisonRankup, if you are a prison server, flawless plugin.
Hey fluengo, I see you reply to most people on here so maybe you can help me. I want to have a server where people start out on default and then they type /rankup to rankup and it puts them in group B and takes $1000 from their account. And then they type /rankup again and it puts them in group C and takes away $1500....and so on until they get to rank Free. But when I type /rankup, it says "Your current rank does not allow you to rankup. Here is my current config: http:pastebin.com/0yZn3nee
hey I have no idea whats going on with this plugin
when i do rank up it tells me Your current rank does not allow you to rank up.
What does this mean I have spent 2 days trying different ways to set it up but still nothing
@IAmBeck
"org.bukkit.plugin.UnknownDependencyException: Vault"
Have you got any errors about Vault starting? CmdRank can't start because vault is not installed or Vault has not started correctly.
My server wont load the plugin! It was working great until I installed the new spigot. I keep getting this error. 18:47:37 [SEVERE] Could not load 'plugins\CmdRank.jar' in folder 'plugins' org.bukkit.plugin.UnknownDependencyException: Vault at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager .java:195) at org.bukkit.craftbukkit.v1_6_R3.CraftServer.loadPlugins(CraftServer.ja va:245) at net.minecraft.server.v1_6_R3.DedicatedServer.init(DedicatedServer.jav a:118) at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java :399) at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:5 83) Please fix this. My server is relying on it. @flungo
For some reason there is no announcement when someone ranks up and when someone does /rankcheck the rank is there but lists no requirements can anyone help?
@flungo
My problem was cabinboy/deckhand/sailor/free are the normal player ranks people can buy (which work great) and 'captain' is a fixed moderator rank where when they rankup they just get extra permissions added without being moved group. Thisis actually my full config. I might just make 3 almost-identical groups and move them up that way, would just have been cool to use /rankup to add the extra permissions.
@xXSteaveXx
Post your configuration file on pastebin? I use groupmanager too and have everything working, so I wouldn't mind helping if I can.
@flungo
I am using GroupManager, and the way I have it set up is so my 3 main worlds share ranks, and the prison has it's own set of ranks, so the command I am using is
/manuadd {player} BlockC Prison
if you are not familiar with groupmanager, Manuadd is telling group manager to add a player to a group, the player specifies the player, BlockC is the group they are being moved to, and Prison is the name of the world. Running this command when on the server does rank the player up, (If I manually typed /manuadd flungo BlockC Prison, it would work) So the command is correct, please help! D:
Edit: You where right, I had a slash where it wasn't need! Sorry, thanks for your time!
@xXSteaveXx
If the player is showing as ranked up and they are not, then its a problem with the command you are using to do the ranking up. My plugin has no direct links to the permissions that you use (other than being able to check what group(s) the player is in) so if it is showing rankup but not doing anything you should check the command you are using.
@Nistune1
Have you tried setting reranks to false (see Group Manager Compatibility config), then after captain, using 'deckhand' and 'sailor' as your matches for the groups? That should do what you want if I have not mis-understood
Hey there! I love your plugin on a standalone server, How ever I recently started a new server with a prison WORLD, and it is working great, regions and MRL are done, along with shop and ranks, and the config is the exact same from the old server, but for some reason whenever a play does /rankup, the message plays saying they ranked up, but they don't actually rankup :/ is there any way I can fix this? I am using Group Manager, and this worked perfectly on my old server, idk what the probloem is now! D:
I have a request, im not sure if it will be possible, but I will try explain my idea best I can:
Say I have a rank like 'captain' (Moderator) and I want their group to stay constant, but still have a goal to work towards, so I would use /rankup to add a subgroup to that group. But I have 3 different tiers of subgroups, and right now I can only have one /rankup for each group.
When a captain does /rankup the first time they get changed $20000, the second time they do /rankup they get charged $60000 and the third time they get charged $120000. It would be possible if I was using ladders/constant price, but each rankup is different, so rerank doesnt work.
I made an example config: http://pastebin.com/aDhnHSa2
With the extra option being 'teir: #' so if you have already did the teir 1 rankup at 'captain' your next would be the tier 2 rankup?
Again, im not that familiar with plugin creation and I dont know if it would be hard to implement, but I think it would be a great feature if possible. I hope it made sense.
@Nistune1
Hopefully soon, just need to debug it and its slow as I need to make sure every possible message displays correctly. Glad you are liking the plugin though :)
Just wanted to say im loving this plugin! Looking forward to the customisable messages as well.
@Hannah_Mahaley
Okay so v1.1.2 adds messages.yml for customisation and internationalisation. That should be done in the next few days. I could probably implement inventory requirements for v1.2.0. But this may take me a week or so with my other projects and work.
Can I get an ETA on when Items will be allowed to be used for ranking up, I really need it for my server and I can not find a working plugin to do this with :( Any reply would be amazing thank you!
@xtechgamer735
I have made the first update which provides the functionality you requested and more. I will work on getting v1.1.2 out in the next few days with a full messages.yml file. Will be up as soon as approved by bukkit.
Update uploaded. Should be approved shortly.
@NATE2374
Check your console log. Did the plugin start correctly?
I did /rankup and it said unknown command. Why?