RankMarket
RankMarket
RankMarket is designed to let your users choose their donation benefits or earn money in your economy and rank up.
Each "rank" has a permission node associated with it's availability for purchase, so you can make even design tiered rank up systems, where each rank unlocks the next for purchase!
How to use
Typing '/rank' in-game will open up a list of available ranks for purchase. Type '/rank name' to purchase the rank (if you have enough funds available).
Configuration
The RankMarket config file (plugins/RankMarket/config.yml) is the only place you need to edit to setup your ranks.
ranks: miner: groups: - mine cost: 200 builder: groups: - build cost: 500
For more information on configuration check out the Config page.
Permissions
RankMarket uses the "SuperPerms" system to actually check for permissions, but lets you use any Vault supported Permission plugin to make the purchase.
To give a group permission to one rankup simply give them: rankmarket.rankname. (Ex. rankmarket.builder) The 'rankmarket.*' node gives access to all rankmarket permissions.
Economy
RankMarket supports any Vault supported Economy plugin, what you use is entirely up to you!
It takes the money from the players 'balance in hand' or 'wallet' rather than banks.
@Fivestar24
The second one should be moved to the top of your priority list! It's not really a big problem unless you don't like people promoting themselves to lover ranks and back up again and it can be fixed by taking off your inheritance and making your perms unnecessarily long but a quick fix method would be awesome!
Very good plug-in. I'm seriously amazed, most of them I use either have a bunch of errors or flat out dont work. Only 1 small problem, when you buy a rank it says this: http://puu.sh/1v6Cs (It fully works though) Its not a big problem but one you should look into.
Secondly, once you have purchased a rank you can still buy the previous ranks, you should make it so that is not possible (Or add a config boolean for it).
Overall GREAT work. Thanks for the plugin!
When ever I buy a rank all it does is remove the money. I have bPermissions. Help!
@GalacticNlnga it appears you are running an older version of craftbukkit. Try updating? 'UnsupportedClassVersionError: ' generally means the craft bukkit version is older than the plugin's version.
I have only 9 ranks and it only shows 5? And not even in the correct order. How can i fix this?
6:30:03 [SEVERE] Could not load 'plugins/RankMarket.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: com/bpermissions/rank/RankMarket : Unsupported major.minor version 51.0 at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:155) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:222) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:198) at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(ServerConfigurationManagerAbstract.java:50) at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:105) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.UnsupportedClassVersionError: com/bpermissions/rank/RankMarket : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:44) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:247) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:144) ... 9 more HELP?
Any way to add in the config a custom console command command on rank up?
Each time someone ranks up the plugin will clear their group file then promote to said rank. Now i use group manager and issue sub groups to VIP users and the rank up process wipes out the subgroups each rank up.
@Tomislav135
Do that with permissions. It's not difficult.
@Faldonboy
Not that I'm aware of.
Is there any way to optionally make this not replace the current rank with the new one but simply add a new one on? The problem is that when a donator uses this to rankup it also replaces their donator rank with the new one.
Hello i like this plugin but can you make that etc.
i have 3 rank: rank1 - cost $1000 in game money rank2 - cost $2000 in game money + rank1 rank3 - cost $2000 in game money + rank2
so you must be rank1 To purshase rank2 and you must be rank2 to purshase rank3
Does this only work with java 1.7 ? :(
Please compile for Java 6 / 1.6:
I dunno what you guys are talking about... It's working perfectly fine. Just make sure you have Vault, a Vault supported Permissions plugin, and a Vault supported economy plugin.
for some reason, there is NO configuration file when i unzip, or when the console starts up. i tried to CREATE a config file, but it just isn't working. How do i get this to work?
Please update this.
Please update :)
Still doesnt change there rank. I am using Permissions Ex. They purchase but no rank change.....
Maybe add a new setting in the config for us to assign a console command to use when a player /rankup like
cost: 1000 command: manpromote %name% [rankname]
That way instead of deleting the players user groups they will just get an easy promotion and all subgroups within the user.yml file will stay intact.
Also would like to request a setting to broadcast that said player was promoted in chat. maybe another setting in the config to:
cost: 1000 command: manpromote %name% [rankname] broadcast: %player% was promote to [rankname]
Any way to change the internal command to NOT delete the user from permissions and just promote them? Im using group manager and when a player ranks up the plugin deletes the user making them default then adds them to the group paid for.
I need the plugin to just do /manpromote playername rank NOT /manudel playername then /manuadd playername rank.
This plugin is clearing any subgroups i have set for vip players when they pay for the next rank....
Noticed a type I believe, when trying to buy a command that you do not have access to yet it says '[RM] You don't have enough money to purchase that rank!' when it should say you need to be XX rank before you can purchase XX rank
Also why do ranks not appear in the order they are in the config? When typing /rank they appear all odd and out of order.