ExpRanks
Description
Simple plugin that changes your user's rank/group based on their vanilla experience level. ExpRanks does not alter the vanilla experience or level at all, its just monitored to set ranks/groups.
The only dependency is any permissions plugin that has ranks or groups. You can set the permissions plugin command in the config.yml, so literally all permissions plugins that support ranks or groups will work.
There is an option to disable demotions so your players will not be demoted when they spend their experience levels on enchanting or lose them in death. We also have a sister plugin (ExpRestore) that can optionally be installed to keep your player's experience intact upon death. It works great for demoting players when they enchant stuff, but keeps their exp and rank if they die.
Enjoy! ^_^
Commands
none
Permissions
- expranks.autorank
- Automatically rank up users based on their experience points. Default true. Negate to disable auto promotions/demotions.
- expranks.nodemote
- Disable demotions if experience drops too low. Default false. This is recommended for "exception" groups/players, like donators and admins. If you want to disable demotions for all users please use the config.yml setting instead.
Default config.yml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | # Enable debug info in console debug-mode: false # Enable colors in console output color-logs: true # Should we send the player a message that they have changed rank? notify-player: true # Message sent to player if notify-player is set to true notify-message: '&dYour rank has been updated.' # Ranks list. This *MUST* match your ranks/groups in your permissions plugin! ranks: - 0: beginner - 10: amateur - 20: novice - 30: expert - 40: master - 50: grandmaster # The default rank used when no other ranks found. # Set this to your permission plugin's default account for new users. default-rank: default # If a player's exp drops below current rank should we demote the player? # Exp can drop from enchanting or death. # (You can also use the ExpRestore plugin to keep exp on death) can-demote-ranks: true # Sets the user rank with the permissions plugin when a player joins. # This shouldn't be needed. Added option just in case some permission plugins aren't behaving. set-rank-on-join: false # Set rank command. This is the op command to set a users rank/group (without the slash). # Variables are {name} and {rank} # This default is for PermissionsBukkit v2.x # This has been commented out to make sure you have set this up correctly. #rank-command: perm player setgroup {name} {rank} |
Example rank-commands for various permission plugins
PermissionsBukkit 2.x | rank-command: perm player setgroup {name} {rank} |
Groupanager | rank-command: manuadd {name} {rank} |
bPermissions 2.x | rank-command: exec u:{name} a:setgroup v:{rank} |
zPermissions | rank-command: permissions player {name} setgroup {rank} |
YAPP | rank-command: yapp {name} | +g {rank} | @ {name} |
PEX | rank-command: pex user {name} group set {rank} |
Please refer to your permission plugin's documentation to find out what command you should set.
Todo
Have any suggestions? Leave a comment!
Metrics
This plugin uses metrics to collect stats! It only collect basic things such as version type, and players online. If you want to see everything, click on the graph. Go into /plugins/PluginMetrics/config.yml to disable stat collecting if you wish.
Cant seem to make this one work yet. get back to ya....
Edit : Yeah, having issues with it not detecting exp level....Using it on a 1.6.4 tekkit/cauldron server :(
For me it's work thanks you :)
Could be great if : - update it to 1.8 - add a notify message for each level, like : - 50 : Knight 'You are a knight, fight them all !' if you see what i mean :)
I am trying to regain control of this plugin (and a few more) so I can fix them. The guy I gave it to seems to have gone AWOL and has not been maintaining the plugins. Curse staff so far, is not being helpful with me in the matter. I may be forced to fork this project, from the looks of it. I'll keep you guys updated.I have regained control and will updating soon.
@Aaronsack10
same here
Nothing works The plugin just wont work it says in consel its loaded but nothing is working please help!
Hi i was wondering if you could add a way to make the plugin where you can create another rank up track.
for example say you were in a Role playing server and you choose to be a Mage, you would rank up in the mage class and get different Mage Ranks.
or if you choose Ranger you would rank up in the Ranger classes and get different ranger ranks.
Hi, i have a little problem with the plugins, i got a lot of error, when someone are trying to change rank.
at net.pl3x.expranks.tasks.RankCheck.run(RankCheck.java:22) [?:?]
at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftTask.run(CraftTask.java:53) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
at org.bukkit.craftbukkit.v1_7_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
at net.minecraft.server.v1_7_R3.MinecraftServer.v(MinecraftServer.java:600) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
at net.minecraft.server.v1_7_R3.DedicatedServer.v(DedicatedServer.java:260) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
at net.minecraft.server.v1_7_R3.MinecraftServer.u(MinecraftServer.java:558) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
at net.minecraft.server.v1_7_R3.MinecraftServer.run(MinecraftServer.java:469) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
at net.minecraft.server.v1_7_R3.ThreadServerApplication.run(SourceFile:628) [craftbukkit.jar:git-Bukkit-1.7.9-R0.1-b3084jnks]
[04:58:41] [Server thread/WARN]: [ExpRanks] Task #91 for ExpRanks v1.1 generated an exception
Thanks
@TheGamingGrunts when I give myself 10 levels of XP (im deoped and default ranked) nothing happens
@QuollCraft What's not working? Can you explain in detail please? No other user has reported any issues.
@TheGamingGrunts its not working for 1.7.9
@PixalNinja
Ok, I'll look into it :) Thanks for the suggestion :)
@TheGamingGrunts
I'd like it if every time a player levels up, he gets one token (1$).
So if i write in the ranks: - 1: 1 - 2: 2 - 3: 3 ... etc.
and the rank command is /eco add {player} {money}
Would it give the player the 2$ when he is level 2 and 3$ when he is level 3?
Hey everyone! As of today, I have taken control over this plugin from BillyGalbreath. If you have any suggestions, feel free to let me know :)
@Q2Lummox
This plugin (like 99% of the other plugins) are built of the Bukkit API. You, as a fellow developer (your icon is green, so I'm assuming you have at least one project on this site, too) should already know that the Bukkit API is designed to be as future compatible as possible.
Something as simple as this plugin will probably never need to be updated. If it does, I will do so.
Is this plugin abandoned?
Works well in the latest versions of bukit?
can u do a video tutorial cuz im making a zombies server and itz kinda to complicated
@Makemyday17 Really agree with you! (I also would like to see this function in this fantastic plugin!)
@Makemyday17
There is only currently only one rank ladder.
bump