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.

MCStats

Development Builds

Go to the ExpRanks Jenkins build server


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files

Bukkit