AutoRanker
AutoRanker automatically executes commands on players when the players have met certain requirements in their LogBlock history, in terms of number of blocks created and blocks destroyed, and time spent online.
The intended use case for this plugin is to have players automatically promoted through different ranks as the amount of their work on the server accumulates. Note that this use requires a separate plugin to facilitate ranking commands, such as bPermissions.
Currently the plugin checks if a player meets the requirements of each rank when they log in. If there is interest among server admins, I could make it check periodically for each player that is logged in.
Usage Configuration
The config file is plugins/AutoRanker/config.yml.
Provide a list of ranks in the configuration file. For each rank, provide the set of requirements for achieving that rank, such as the following:
created: blocks placeddestroyed: blocks destroyeddaysonline: days since the player's first loginhoursonline: hours the player has spent logged inhaspermission: a prerequisite permission, such as for a base group-
hasnotpermission: a postrequisite permission, to indicate that a player already has this rank or otherwise shouldn't be eligible for it- If your groups inherit
group.…permissions, this should be the permission that is to be granted for this rank. Otherwise it can be left blank.
- If your groups inherit
For each rank, also provide the commands that should be executed when the requirements are met, in which {PLAYER} is replaced by the name of the player who has met the requirements.
Example configuration
Below is an example configuration with two ranks, builder and architect, using bPermissions to manage the player groups.
ranks:
builder:
requirements:
daysonline: 2
hoursonline: 2
created: 1000
destroyed: 2000
haspermission: group.default
hasnotpermission: group.builder
commands:
- exec u:{PLAYER} a:setgroup v:builder
- say {PLAYER} has achieved Builder rank.
architect:
requirements:
daysonline: 60
hoursonline: 24
created: 10000
destroyed: 20000
haspermission: group.builder
hasnotpermission: group.architect
commands:
- exec u:{PLAYER} a:setgroup v:architect
- say {PLAYER} has achieved Architect rank.
Commands & Permissions
- command:
/autorank reload - permission:
autorank.reload(default: op) - Reload the ranks from the config file.
Alternatives
- Autorank - rank based on amount of time played
- Ranker - rank based on amount of time played, money held, players killed, monsters killed
Requirements
LogBlock is required.
To use the hours online and days online rank requirements, you must have in your LogBlock configuration logPlayerInfo set to true, e.g.:
logging:
logPlayerInfo: true

-
View User Profile
-
Send Message
Posted Feb 16, 2013@Prodkid
This plugin requires LogBlock. I checked the API for HawkEye and it looks like doesn't provide an easy way for a plugin like this one to check player online times. So, AutoRanker will continue to require LogBlock unless someone else decides to code up an alternative.
-
View User Profile
-
Send Message
Posted Feb 16, 2013i dont have logblock, could i still use this plugin? also for timing? is it compatible with hawkeye? also could you add a feature with hawkeye?
-
View User Profile
-
Send Message
Posted Feb 16, 2013@Canister80
For Group Manager, start with the example config and make this change:
Replace the line
with
and do likewise for each other group other than builder.
Also, in your Group Manager group.yml, add the group.… permission for each group, i.e. for the builder group, add permission node group.builder.
If you need more help, post your config.
-
View User Profile
-
Send Message
Posted Feb 16, 2013what would it look like for a group manager string ? ty in advance
-
View User Profile
-
Send Message
Posted Feb 15, 2013@javitomo
Si.
-
View User Profile
-
Send Message
Posted Feb 15, 2013Hola, es compatible con la 1.4.7? :)
-
View User Profile
-
Send Message
Posted Feb 8, 2013@ELGN
For PermissionsEx, use
where [group] is the group the player should get.
-
View User Profile
-
Send Message
Posted Feb 8, 2013What would I use instead of exec "u:{PLAYER} a:setgroup v:architect" for PermissionsEx?
-
View User Profile
-
Send Message
Posted Jan 26, 2013@clehner
They are prerequisite and postrequisite permissions. For a player to be considered for a promotion, they should have the permission given by haspermission, and not have the permission given by hasnotpermission. The idea is that hasnotpermission indicates they already have the rank - otherwise the player would repeatedly get the same promotion, since the plugin itself doesn't keep track of who has what. haspermission is an initial screener - it should be a permission from the group below the given rank.
It's a little manual work to have to manage this, but it works.
-
View User Profile
-
Send Message
Posted Jan 26, 2013Could you explain some more what these 2 options do, "haspermission" "hasnotpermission"
-
View User Profile
-
Send Message
Posted Jan 25, 2013@LeChuuck
When a player has met the requirements of a rank, AutoRanker executes the commands for that rank, replacing {PLAYER} with the name of that player.
@xXSshadowXx
I hope it goes well for you. I called this a 0.x beta but really I've been using it for several months on my own server and it's been pretty stable.
-
View User Profile
-
Send Message
Posted Jan 25, 2013How do you choice a player in the command "- exec u:{PLAYER} a:setgroup v:architect" because you cant write {PLAYER} in bpermissions? and typing every players name is not a option.
-
View User Profile
-
Send Message
Posted Jan 24, 2013This is the plugin we have been looking to do this I think :) We tried another and it's 2.0 release however it's to buggy and slow to release. Will let you know how we do with it :)
-
View User Profile
-
Send Message
Posted Jan 23, 2013@clehner
Thank You i will try!
-
View User Profile
-
Send Message
Posted Jan 21, 2013-
View User Profile
-
Send Message
Posted Jan 21, 2013@beatsguy
Yes. Example based on http://ess.khhq.net/wiki/Group_Manager/Config :
Color codes: http://ess.khhq.net/mc/
-
View User Profile
-
Send Message
Posted Jan 21, 2013-
View User Profile
-
Send Message
Posted Jan 21, 2013-
View User Profile
-
Send Message
Posted Jan 21, 2013@beatsguy
AutoRanker relies on the permissions plugin or a chat plugin to handle prefixes. With bPermissions you can use bChatManager. With PermissionsEx, ChatManager is included.
-
View User Profile
-
Send Message
Posted Jan 21, 2013