PaidRanks - Rankup
Announcements
- Now supports Vault!
Description
- Using this plugin you can allow your users to obtain new ranks by paying configurable amounts of in-game money. You can have as many groups as you wish and set a price that is different for each of them. It is as easy as adding your groups to the lists in the configuration file and restarting your server. Please make sure you read the commented section of the config file as it contains important information about setting up the file. Enjoy :-)
How to Install
- Download the latest PaidRanks.jar and add it to your plugins file on your server.
- Start the server!
- Go to your config.yml under the /Plugins/PaidRanks
- Decide whether or not you want your ranks to be global
- Now go to the language file and decide if you want to change anything. If not your all set.
- Go in-game and follow the commands!
Compatible Permissions/Economy
Economy:
- Vault
- The New Economy
- SQLEconomy
- iConomy
Permissions:
- Vault
- PermissionsEx
- LuckPerms
Commands
<> Required | [] Not Required
Command | Permission | Description |
---|---|---|
/pr | paidranks.commands.pr.help | This screen. |
/pr help [page] | paidranks.commands.pr.help | Page of help. |
/pr reload | paidranks.commands.pr.reload | Reloads the whole plugin. |
/pr reload language | paidranks.commands.pr.reload.language | Reloads the language file. |
/pr reload ranks | paidranks.commands.pr.reload.ranks | Reloads the ranks file/mysql. |
/pr ladder create <ladderName> [-default | -requiresRank] | paidranks.commands.pr.ladder.create | Creates a ladder. |
/pr ladder remove <ladderName> | paidranks.commands.pr.ladder.remove | Removes a ladder. |
/pr ladder set <default | world><ladderName> [value] | paidranks.commands.pr.ladder.set | Set various variables of ladders. |
/pr ladder toggle requiresRank <ladderName> | paidranks.commands.pr.ladder.toggle.requiresrank | Toggles the requiresRank variable. |
/pr ladder info <ladderName> | paidranks.commands.pr.ladder.info | Gets various information about the ladder. |
/pr ladder list | paidranks.commands.pr.ladder.list | Lists all the available ladders. |
/pr rank add <ladderName> <rankName> [price] [permission] | paidranks.commands.pr.rank.add |
Adds a rank to a ladder.
|
/pr rank remove <ladderName> <rankName> | paidranks.commands.pr.rank.remove | Removes a rank from a ladder. |
/pr rank set <ladderName> <rankName> <price|perm|position> <value> | paidranks.commands.pr.rank.set | Set various variables of ranks. |
/pr rank info <ladderName> <rankName> | paidranks.commands.pr.rank.info | Gets various information about the rank. |
/pr rank list <ladderName> |
paidranks.commands.pr.rank.list | Lists all the ranks within that ladder. |
/ru help | paidranks.commands.ru.help | This screen. |
/ru [ladderName] | paidranks.commands.ru.rankup | Rankup the default/specified ladder. |
/ru ladder list | paidranks.commands.ru.list.ladder | List all the available ladders. |
/ru rank list [ladderName] | paidranks.commands.ru.list.rank | List all the available ranks within the default/specified ladder. |
/ru rank next [ladderName] | paidranks.commands.ru.rank.next | Gives you information about your next rank within the default/specified ladder. |
Tutorials
- None at this time.
Github
Change Log
- You can view the Change Log Here.
Suggestions
- If you have any suggestions please feel free to make them. I am very open to criticism and new ideas! Also, If you like what you see and want to support the development of this plugin and any other plugins i decide to create.
Donations
- If you like what you see and want to support the development of this plugin and any other plugins i decide to create, please donate by clicking on the donation button below.
@TheSimpZone
Try removing Inheritance from your permissions and see if that works
Hello I am having trouble with paidrank and the ladders if you can help me my skype is jaso348 you may get a rank on my server
I have a ladder of ranks, they all work fine normally. When I am Beginner, and do /ru it ranks up correctly to Novice. Then, everytime I do /ru it just 'successfully ranks up to Novice.
@SinisterMuffin9
Thanks I found the issue in my LanguageConfiguration class. http://dev.bukkit.org/bukkit-plugins/paidranks/files/16-paid-ranks-v3-1/ Fixed
I cannot do /rankup. I will stay at rank A, and no matter if i am OP or not, i cant do it.
This is my config:
Just to let you know, copy and paste this in NotepadPlusPlus or Notepad
Hi, I'm Having Trouble Understanding The New Update (3.0) Please Update Your Youtube Video.
Thanks
@SinisterMuffin9
I'll see about adding this feature in.
For a suggestion! Can you please add a command such as /ranks that allows all the ranks/rank prices to be shown in the chat bar? I know PrisonRankup does this but its not that customizable!
EDIT: Also im getting an ERROR when I try to rankup using /rankup
Console:
[18:56:52] [Server thread/ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'rankup' in plugin PaidRanks v3.0
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) [spigot.jar:git-Spigot-1494]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:180) [spigot.jar:git-Spigot-1494]
at org.bukkit.craftbukkit.v1_7_R3.CraftServer.dispatchCommand(CraftServer.java:726) [spigot.jar:git-Spigot-1494]
at net.minecraft.server.v1_7_R3.PlayerConnection.handleCommand(PlayerConnection.java:999) [spigot.jar:git-Spigot-1494]
at net.minecraft.server.v1_7_R3.PlayerConnection.a(PlayerConnection.java:830) [spigot.jar:git-Spigot-1494]
at net.minecraft.server.v1_7_R3.PacketPlayInChat.a(PacketPlayInChat.java:28) [spigot.jar:git-Spigot-1494]
at net.minecraft.server.v1_7_R3.PacketPlayInChat.handle(PacketPlayInChat.java:65) [spigot.jar:git-Spigot-1494]
at net.minecraft.server.v1_7_R3.NetworkManager.a(NetworkManager.java:180) [spigot.jar:git-Spigot-1494]
at net.minecraft.server.v1_7_R3.ServerConnection.c(ServerConnection.java:81) [spigot.jar:git-Spigot-1494]
at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:720) [spigot.jar:git-Spigot-1494]
at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:283) [spigot.jar:git-Spigot-1494]
at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:583) [spigot.jar:git-Spigot-1494]
at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:489) [spigot.jar:git-Spigot-1494]
at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [spigot.jar:git-Spigot-1494]
Caused by: java.lang.IndexOutOfBoundsException: No group 4
at java.util.regex.Matcher.start(Unknown Source) [?:1.7.0_45]
at java.util.regex.Matcher.appendReplacement(Unknown Source) [?:1.7.0_45]
at java.util.regex.Matcher.replaceAll(Unknown Source) [?:1.7.0_45]
at java.lang.String.replaceAll(Unknown Source) [?:1.7.0_45]
at me.messageofdeath.PaidRanks.Commands.RankupCommand.rankup(RankupCommand.java:114) [?:?]
at me.messageofdeath.PaidRanks.Commands.RankupCommand.issue(RankupCommand.java:40) [?:?]
at me.messageofdeath.PaidRanks.Utils.zRequired.Commands.CommandListener.onCommand(CommandListener.java:17) [?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) [spigot.jar:git-Spigot-1494]
... 13 more
[18:57:29] [Server thread/INFO]: [PaidRanks] Disabling PaidRanks v3.0
I'd like to use this plugin if it actually worked!
@eHECUBUS
This might be due to inheritance with your permissions.
The plugin will not promote me past B in my ladder of A B and C. I have all the permissions set up correctly, but whenever i am B and do /rankup it takes my money and keeps me at rank B
@Flexo013
The permission is paidranks.commands.ru.rankup
Also can you please provide the actual internal error reported in the console please.
<perm(noPerm)> means you can add a permission node like for instance 'paidranks.ranks.a' or something like that, but if you don't want a permission node for that rank just type 'noPerm' in its place and it will not use a permission node.
<requiresRank(true/false)> When TRUE it means you have to be a rank within that ladder in order to rank up.
However if you put FALSE you can be rank 'Z' and be ranked up to 'A' without your current rank being in the ladder.
P.S. About the weird stuff at the end, there might be some things wrong when using inheritance in your permissions at the moment.
@messageofdeath
You need to add some more documentation to your plugin. I cannot seem to get anything to work. All tutorials are greatly outdated so those are useless. There is not info on any of the files that the plugin uses. Namely the ranks.yml and config.yml. The plugin crashes every now and then when users do /rankup.
There is no explanation on how many commands work. For example what does <perm(noPerm)> mean when doing /pr rank add? Or <requiresRank(true/false)> when doing /pr ladder create?
I also am unable to find any explanation regarding the order of ranks. Which rank do I add first, the highest rank or the lowest?
By the way you never mention what the permission node is for the main command of this plugin. That being /rankup. I know the alias is /ru. But the permission node is nowhere to be found on this page.
During the running/testing of this plugin a lot of weird things happened. To sketch the scenario: There are 3 ranks on the server, A, B and C. I removed the default ladder and made a new one with the order A, B and C. A player (that isn't opped) of rank C does /rankup. He now is rank A.
(So far nothing too weird yet)
Now I remove that ladder and make an identical one with the order C, B and A. I reload the entire server and make sure that the player is rank A. The player does /rankup and the plugin crashes internally.
(I have no idea what is happening at this point. The plugin just seems to random things.)
For the past 2 to 3 hours I have been trying to get this plugin to work. I have even tried running a stripped down server with the bare minimum plugins to test this and it still doesn't work. Please help with some correct documentation.
Does Not work @messageofdeath
@BlueShadow340
paidranks.commands.ru.rankup
Other words what is the node for it?
How do i give permissions to my player to "Buy that rank"?
@aaronking16
This might be because of inheritance with permissions. I will be testing the plugin with inheritance soon.
@Cyprusdemon13
Can you please provide the actual error that shows up in console please. Thanks.
@Cyprusdemon13
I had this problem. First i would try re installing the plugin. Then if that doesn't work. Stop your server. then delete the paid ranks folder. start the server and that should fix your problem. if it doesn't just tell me.
Hello i finally got my old paid ranks problem to go away but then i had to download 3.0 and every time i rankup from A to B. But then i try to rank from B to C and it keeps ranking me to a B. it wont let me rank past the second rank essentially. Please help!