RankBot
Automatically promote a player's rank
Using either time played or players using a secret phrase.
How to install RankBot
1) Add RankBot to your plugins folder, start your server or /reload your plugins
2) Edit the config.yml file in the RankBot Folder.
3) Reload or restart again for your changes to take effect.
Example Secret Phrase Setting
SecretPhrase:
Phrase0: rank me
FromGroup0: guest
ToGroup0: nomad
Example Timed Hours Played Settings
HoursPlayed:
Hours0: 8
FromGroup0: nomad
ToGroup0: citizen
Commands
/rankbot {secret_phrase) - Used for secret phrase promotions.
/rb time - Used by a player to show their time until their last log off, doesn't count current time since logging back on. Requires rankbot.time permission, which is defaulted to false.
/rb time {playername) - Used by admins to either list a player's time since last log off, or lists all players if no name is supplied. Requires rankbot.admin permission, which is defaulted to op.
Permissions
rankbot.time - Allows the use of the player time command, which reports back to the player their play time since the last logout (not counting current time).
rankbot.admin - Allows the use of admin commands, the only current admin command is the admin version of "/rb time"
Requirements
RankBot requires Vault and a supported permissions plugin.
Visit the Vault Webpage to see the current list of supported permissions plugins
Notes
To make RankBot more efficient the ranking isn't done the moment the time requirement is met, this would require a timed event that would check all player times vs. all the RankBot Times. Instead, a player isn't ranked until the next logon.
The playertime.db file in the RankBot Folder contains the playtime of players (in minutes) since the file was written to disk, this file is only written from memory to the disk file on server stops or plugin reloads.
There are up to 30 Secret Phrases and 30 Timed Hours Played Automatic Ranks
Great job, and thank you for keeping it light weight. I owe you a Pizza!
@hopeformylife
That feature is planned for the next release.
@FlawlessSin
The next release is going to have some admin controls to show the current play time, player rank, and other information.
@AxelDios
Just a feature I'd like to see.
A log file of all completed promotions?
@AxelDios
No problem, although I do wonder how it keeps tracks of user time? is there possibly a way to check a players logged time?
@AxelDios Awesome, Thanks !
@FlawlessSin
Thank you
@Strib1
RankBot doesn't currently support demotions but to promote another player just add another entry:
Hours1: 2
FromGroup1: citizen
ToGroup1: honorary
@Jarod99
You cannot use any non-integer numbers nor negative numbers, only whole numbers.
So no decimal places allowed.
And the way RankBot works is in a non-dynamic time based ranking, so if a player is on for 2 hours and you set the rankup to be 1 hour, they still won't rank until they leave and rejoin the game.
@atsmith2k
It uses Vault and Vault supports PermissionsEX (PEX):
Perms: Permissions 3, bPermissions, PEX, GroupManager, PermissionsBukkit, zPermission, SimplyPerms
@bagaszai12
It uses Vault and Vault supports PermissionsEX (PEX):
Perms: Permissions 3, bPermissions, PEX, GroupManager, PermissionsBukkit, zPermission, SimplyPerms
@Adondriel
It uses Vault and Vault supports bPermissions:
Perms: Permissions 3, bPermissions, PEX, GroupManager, PermissionsBukkit, zPermission, SimplyPerms
how do i download this. :))
to all asking about PEX:
From AxelDios: RankBot requires the Vault Plugin to be installed, and a permission plugin that Vault can connect to, PEX is one of the supported permissions plugins.
Is this support with permissionsEx?
By Installing it now would the players higher than nomad (for example) also be promoted/demoted to citizen using the time promotion ?
I know you can use .5 for 30 mins but can you do other decimals? I'd like to make it 10ish mins before my players get promoted from guest to member. Thanks
Does this work with PermissionsEX?
@AxelDios
Does this work with bpermissions multiworld?
Thanks For updating it man : D
@AKlarvanto
Correct, the Secret Phrase Method Promotes the player immediately, the Hours Played Method would require a constant timer to be running to promote the moment they pass the hours required, and would also require checking all players and all Hours Played Ranks each few minutes or so to do so.
This would be a huge waste of server processing power, so instead it records their minutes played and the next time they logon if they have enough minutes they get their promotion.
The promotion message is the same for both.