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
-
View User Profile
-
Send Message
Posted Feb 16, 2013Could you perhaps add a random-ranks(among a list of selected ranks) option? It would be nice.
-
View User Profile
-
Send Message
Posted Jan 26, 2013@underscoreguy2
ur new at this server thing arent u?
-
View User Profile
-
Send Message
Posted Jan 25, 2013how i ad it to my plugins foldor
-
View User Profile
-
Send Message
Posted Dec 4, 2012I get the following error when people quit....
012-12-04 14:00:42 [INFO] CraftingTheis10 lost connection: disconnect.quitting 2012-12-04 14:00:42 [SEVERE] Could not pass event PlayerQuitEvent to RankBot v1.1 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:341) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.ServerConfigurationManagerAbstract.disconnect(ServerConfigurationManagerAbstract.java:202) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:722) at net.minecraft.server.NetworkManager.b(NetworkManager.java:295) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:113) at net.minecraft.server.ServerConnection.b(SourceFile:39) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:595) at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:222) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:493) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426) at net.minecraft.server.ThreadServerApplication.run(SourceFile:856) Caused by: java.lang.NullPointerException at com.axeldios.RankBot.RankBotPlayerListener.onPlayerQuit(RankBotPlayerListener.java:44) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:339) ... 14 more
-
View User Profile
-
Send Message
Posted Dec 4, 2012If i have from default to rank1 set, will it just ignore anyone who is already rank 2 oe 3 etc?
-
View User Profile
-
Send Message
Posted Nov 30, 2012@mudheart994
At the moment only phrase one is working in this version, and has been fixed and will be uploaded as soon as the next recommended release of Bukkit becomes available.
Please upload your config.yml text here so I can see if that is a problem.
-
View User Profile
-
Send Message
Posted Nov 30, 2012@hankypopanky
RankBot tracks the log time and doesn't have a means at this time to track idling, also you can't use fractions of time because the plugin uses whole numbers as part of it's optimization which can't process fractional numbers.
Also the way RankBot is designed it won't promote until the next login so that it only updates the players on joining and leaving, not a constant hit on the server every minute that goes by for every player while it checks their time.
-
View User Profile
-
Send Message
Posted Nov 30, 2012@chengalaxy01
The current version has a bug on the the phrases, and has been fixed it will be released as soon as the next bukkit recommended bukkit release is ready.
-
View User Profile
-
Send Message
Posted Nov 18, 2012@AxelDios
Please help me I entered the phase but everytime I do something it says that the phrase is wrong. I have vault.
-
View User Profile
-
Send Message
Posted Oct 26, 2012Hey AxelDios, I'm having troubles using your plugin which would perfectly fit to "my" server setup if it worked! :P I wanna use the hours played settings (combined with an anti idling plugin) in order to promote players from one (bpermissions) group to another like:
Hours0: 1 FromGroup0: 'regular logger' ToGroup0: 'advanced logger'
(regular, advanced logger being group-names in the config.yml of the bpermissions.plugin (I have installed vault, bpermission is supported by vault..) on one "track")
So I idled 1 hour (having the afk-players kicking plugin deactivated) but I wasn't promoted. No error.. I don't know what I've done incorrectly...Please help me :)
thanks! hanky
edit: I've read down in the comments, that the promotion takes place after a relog; I didn't. Gonna check it again if it works. (wait 1 hour -> why can't I use 0.05 for just 3 mins? :P)
-
View User Profile
-
Send Message
Posted Oct 1, 2012The Is good but it only uses phase0 I will attatch my config
-
View User Profile
-
Send Message
Posted Sep 27, 20122012-09-27 18:50:14 [SEVERE] Could not pass event PlayerJoinEvent to RankBot org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.ServerConfigurationManagerAbstract.c(ServerConfigurationManagerAbstract.java:161) at net.minecraft.server.ServerConfigurationManagerAbstract.a(ServerConfigurationManagerAbstract.java:92) at net.minecraft.server.NetLoginHandler.d(NetLoginHandler.java:121) at net.minecraft.server.NetLoginHandler.c(NetLoginHandler.java:41) at net.minecraft.server.DedicatedServerConnectionThread.a(DedicatedServerConnectionThread.java:44) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:29) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:581) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.NullPointerException at net.milkbowl.vault.permission.plugins.Permission_GroupManager.playerInGroup(Permission_GroupManager.java:229) at net.milkbowl.vault.permission.Permission.playerInGroup(Permission.java:488) at com.axeldios.RankBot.RankBotPlayerListener.onPlayerJoin(RankBotPlayerListener.java:23) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330) ... 14 more
-
View User Profile
-
Send Message
Posted Sep 23, 2012@M6OE4predator
The next update will allow you to see the internal (current) time for players.
Send me your configuration so I can see what the problem is.
-
View User Profile
-
Send Message
Posted Sep 23, 2012this plugin look nice good job but how do i look at how much time they have left till the get promoted? and another thing the secret phrase the first one works but the second one wont work like default to trusted then trusted to respected (trusted to respected wont work) and im entering the right phrase help?
-
View User Profile
-
Send Message
Posted Sep 13, 2012@IdreGMX
I'm not sure what you are asking, this plugin will allow you to change a player to a different rank.
-
View User Profile
-
Send Message
Posted Sep 12, 2012Well i see .. but i need test i say samething But can i edit Ranks (change ranks name) ex.change owner for admin Thx Bye! (
-
View User Profile
-
Send Message
Posted Sep 4, 2012Like my plugins, please donate to my favorite minecraft server AuthentiCity, better yet, donate and then join us!
-
View User Profile
-
Send Message
Posted Sep 4, 2012@JustinFatalx
This feature is planned for a future version, possibly the next update that will be out at the end of the month.
-
View User Profile
-
Send Message
Posted Sep 4, 2012@MrMonkeyButt
No, sorry not at this time, maybe in the future.
-
View User Profile
-
Send Message
Posted Aug 31, 2012Can you add a feature that after the player ranks up it sends them a message that you can customize in the config.