Code Monkey home page Code Monkey logo

autorank-2's Introduction

Build Status

Features of Autorank

Autorank is an automatic ranking plugin that allows you to set rank-ups that have requirements. You can create requirements that make certain a player has at least x amount of money or x minutes played.

An example:

A player starts out as Guest. When he has played for more than 10 minutes and broke at least 10 iron ore, he will be ranked up to Member where he can do a lot of other things. Then, when he has played for a couple of days and earned 1000 money, he will be promoted to Trusted; a group that allows him to do cool stuff. This can go on for as many ranks as you like. The possibilities are endless! It's up to you!


Outdated wiki: https://github.com/Staartvin/Autorank-2/wiki

New wiki: https://autorank.staartvin.com/

Get the latest bleeding-edge builds here (development server): http://ci.staartvin.com/job/Autorank/

Javadocs: https://ci.staartvin.com/job/Autorank/javadoc/

autorank-2's People

Contributors

akashagarwal7 avatar armarr avatar br-ian avatar dependabot[bot] avatar jacobmartin0 avatar ldrrp avatar ljacqu avatar lucko avatar matsand avatar mcdaddytalk avatar sonarbeserk avatar staartvin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

autorank-2's Issues

Convert flatfile > sql

How do we convert playerdata from flatfile to sql?

The answer is "/ar sync". Do it only one time.

Autorank cooperation with Groupmanager

I have a big issue no my server but first some important information to understand:
My server has 3 worlds (world,hub,pvp)
these plugins:
plugins

So now the problem:
I want autorank to work with Groupmanager, when a player ranks up they will rank up in all worlds. this kinda already works but still 1 problem.
I setted my groupmanager config to this:
groupmanagerconfig

I want that all worlds listen to the ''hub'' world. The pvp world does already, but i just cant get the ''world'' world to listen to it. So now when i rank up in ''hub'' i dont have the rank in the ''world'' world and otherwise.

Can anybody help me with this???

In group Default and does not have a next rankup - a wrong statement

I do have everything configured for the group "Default" to upgrade to the group "Member" after 2 hours of gameplay, yet still I, as a player in the group "Default" receive the message "... is in group Default and does not have a next rankup"

ranks:
    Default:
        requirements:
            time: 2h
#            votes: 11
        results:
            rank change: Default;Member
            command: 'say &p has been playing for two hours in total!;say &p has just become an Member and received 1000 Coins + Wooden Tools as a bonus!;money grant &p 1000;give &p 268 1;give &p 269 1;give &p 270 1;give &p 271 1;give &p 290 1'
            message: '&fCongratulations, you are now Member! You can chat now. &fYou have just received &2&l&o1000 &a&l&oCoins&f and &c&l&oWooden Tools &fas a bonus. You will become an &7VIP &fafter playing for 10 more hours&f.'
            effect: 'ZOMBIE_CHEW_WOODEN_DOOR;8'


Keep getting Promoted

Hi,

Everything works but for some reason all my players who passed the 1 hour mark keep getting the message that they are promoted every min or so.

this is my config:

ranks:
    Newbie:
        requirements:
            time:
                value: 1h
        results:
            rank change: Newbie;Irregular
            message: 'Congratulations, you are now a Irregular. After 7 Days you will be promoted to Regular.'
            command: 'broadcast &p played for 1 Hour and is now an Irregular!'
    Irregular:
        requirements:
            time:
                value: 7d
        results:
            rank change: Irregular;Regular
            message: 'Congratulations, you are now a Regular.'
            command: 'broadcast &p played for 1 Week and is now an Regular!'

I'm using Zpermissions as permissions manager.

Do you know how to fix it?

Regards Jurre

Can't use /ar check

What steps will reproduce the problem?

  1. Typing /ar check
  2. Internal Error

What is the expected output? What do you see instead?
To show the requirements for the next rank. Internal Error

What version of the product are you using?
Autorank v2.7.1 Beta

Do you have an error log of what happened?
http://pastebin.com/tR2KWcqB

Please provide any additional information below.
Not sure why, but it randomly started doing this. Maybe it was an update to the stats plugin or autorank I'm not really sure.

AutoRank Messing up

Hello,
I am having some trouble with my autorank automatic ranking,
using the Advanced Config. It won't rank up to the first after the required time but when self promoting to the second rank (first rank up), it says they have achieved the time and promotes them, and constantly keeps doing it even though they are this rank and have the correct playtime.

Here is the config:
http://pastebin.com/LdVtWzKA

Please Help! This is Urgent.

autorank + stats does not work

issued server command: /ar check
03:56:19 [SEVERE] null
org.bukkit.command.CommandException: Unhandled exception executing command 'ar' in plugin Autorank v2.7.1 Beta
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192)
at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:527)
at net.minecraft.server.v1_6_R3.PlayerConnection.handleCommand(PlayerConnection.java:976)
at net.minecraft.server.v1_6_R3.PlayerConnection.chat(PlayerConnection.java:887)
at net.minecraft.server.v1_6_R3.PlayerConnection.a(PlayerConnection.java:834)
at net.minecraft.server.v1_6_R3.Packet3Chat.handle(SourceFile:49)
at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:230)
at net.minecraft.server.v1_6_R3.PlayerConnection.e(PlayerConnection.java:116)
at net.minecraft.server.v1_6_R3.ServerConnection.b(SourceFile:37)
at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:132)
at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:594)
at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:240)
at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:483)
at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:415)
at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)
Caused by: java.lang.NoSuchMethodError: nl.lolmewn.stats.player.StatsPlayer.getStat(Lnl/lolmewn/stats/StatType;Z)Lnl/lolmewn/stats/player/Stat;
at me.armar.plugins.autorank.statsapi.StatsHandler.getStatType(StatsHandler.java:64)
at me.armar.plugins.autorank.statsapi.StatsHandler.getTotalTimesVoted(StatsHandler.java:76)
at me.armar.plugins.autorank.playerchecker.requirement.TotalVotesRequirement.meetsRequirement(TotalVotesRequirement.java:53)
at me.armar.plugins.autorank.commands.CommandsHandler.check(CommandsHandler.java:672)
at me.armar.plugins.autorank.commands.CommandsHandler.onCommand(CommandsHandler.java:110)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
... 15 more

Error on Blocks Placed Check

http://pastebin.com/WdZgUVb3

This error pops up whenever it automatically checks or whenever I manually check someone's autorank status. It's for blocks placed.

AutoRank v2.8 Beta
Stats v1.38 [beta features are on]

This has been a recurring problem I've tried reporting in the comments, but I couldn't seem to find our thread there, so I decided to make life easier to make an account on here.

Autorank Disabled.

2013-11-30 10:22:44 [INFO] [Autorank] Enabling Autorank v2.7.1 Beta
2013-11-30 10:22:44 [INFO] [Autorank] Simple config file loaded
2013-11-30 10:22:44 [INFO] [Autorank] Advanced config file loaded
2013-11-30 10:22:44 [INFO] [Autorank] New playerdata.yml file loaded. AR can keep track of player progress now!
2013-11-30 10:22:44 [INFO] [Autorank] Interval check every 5 minutes.
2013-11-30 10:22:44 [INFO] [Autorank] Data file loaded
2013-11-30 10:22:44 [INFO] [Autorank] Essentials was found! AFK integration can be used.
2013-11-30 10:22:44 [INFO] [Autorank] Vault Hooked!
2013-11-30 10:22:44 [INFO] [Autorank] Hooked into Stats! Stats requirements can be used.
2013-11-30 10:22:44 [SEVERE] Error occurred while enabling Autorank v2.7.1 Beta (Is it up to date?)
java.lang.ClassCastException: com.massivecraft.factions.P cannot be cast to com.massivecraft.factions.Factions
at me.armar.plugins.autorank.factionapi.FactionsHandler.setupFactions(FactionsHandler.java:29)
at me.armar.plugins.autorank.Autorank.onEnable(Autorank.java:126)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:382)
at org.bukkit.craftbukkit.v1_6_R3.CraftServer.loadPlugin(CraftServer.java:288)
at org.bukkit.craftbukkit.v1_6_R3.CraftServer.enablePlugins(CraftServer.java:270)
at net.minecraft.server.v1_6_R3.MinecraftServer.l(MinecraftServer.java:331)
at net.minecraft.server.v1_6_R3.MinecraftServer.f(MinecraftServer.java:308)
at net.minecraft.server.v1_6_R3.MinecraftServer.a(MinecraftServer.java:268)
at net.minecraft.server.v1_6_R3.DedicatedServer.init(DedicatedServer.java:165)
at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:409)
at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)

AutoRank not working

I am running a CraftBukkit 1.6.2-R1.0 (Build #2879) server with:

Autorank v2.6 Beta for CB 1.6.2-R0.1

_MY ISSUES_

1] Player data file is not populating with information, and I do not know the format for this file to try and manually add info.
2] /ar command does nothing except say '/ar [action]
3] Plugin just isn't working at all (any part of it).

***Plugins my server uses: ***
Autorank
ChestShop
ClearLag
ColoredSigns
CreativeControl
DiabloDrops
DiabloDungeonBridge
DragonTravel
LapisPortals
LWC
Multiverse-Core
Multiverse-Inventories
Multiverse-NetherPortals
Multiverse-Portals
PlayerHeads
PlotMe
ProtocolLib
SignEdit
SuperCauldrons
TimeLock
TreasureChest
Vault
Wither

_Here are my configs:_

/plugins/Autorank/SimpleConfig.yml

Private: Specialist 60m
Specialist: Corporal 90m
Corporal: Sergeant 135m
Sergeant: Section_SGT 202m
Section_SGT: Squad_Leader 303m
Squad_Leader: Platoon_SGT 455m
Platoon_SGT: Master_SGT 683m
Master_SGT: 1st_Sergeant 1025m
1st_Sergeant: Warrant_Officer 1537m
Warrant_Officer: Chief 2306m
Chief: 2nd_Lieutenant 3459m
2nd_Lieutenant: 1st_Lieutenant 5189m
1st_Lieutenant: Captain 7784m
Captain: Major 11677m
Major: Lt_Colonel 17515m
Lt_Colonel: Colonel 26273m
Colonel: General 39410m
General: James-Raynor 88672m


/plugins/Autorank/AdvancedConfig.yml

use advanced config: false

(Not putting the rest of the code here.. it was untouched), and FALSE as shown above.


/plugins/Autorank/Data.yml

(This is blank)


/plugins/Autorank/playerdata/playerdata.yml

(This is blank, despite me logging in and staying on, with multiple reboots as well)


Can't give players playtime with a negative value.

Hello, I have just updated AutoRank to version 2.8 and I can't use negative values when I use '/ar set' on a player nor I can give them negative playtime with '/ar remove' or '/ar add'; This was very important for my server and giving players negative playtime was possible on an older version of your plugin. Please re-add this feature.

Best regards.

/arsync stats

Went to sync stats, i had about 18 hours played time before sync... sync put it up to 47 days.. "This is wrong"

Not sure whats going on... when i type /stats the same is only 18 hours.. when i type /ar check its 47 days.

Error installing for first time

Seeing the following error in the console, installed for the first time tonight.
[22:18:14] [Server thread/INFO]: [Autorank] Enabling Autorank v2.8 Beta
[22:18:14] [Server thread/INFO]: [Autorank] Simple config file loaded
[22:18:14] [Server thread/INFO]: [Autorank] Advanced config file loaded
[22:18:14] [Server thread/INFO]: [Autorank] New playerdata.yml file loaded. AR can keep track of player progress now!
[22:18:14] [Server thread/INFO]: [Autorank] Interval check every 5 minutes.
[22:18:14] [Server thread/INFO]: [Autorank] Data file loaded
[22:18:14] [Server thread/INFO]: [Autorank] Vault Hooked!
[22:18:14] [Server thread/INFO]: [Autorank] Found Stats plugin: Stats (by Lolmewn)
[22:18:14] [Server thread/INFO]: [Autorank] Hooked into Factions! Faction requirements can be used.
[22:18:14] [Server thread/ERROR]: Error occurred while enabling Autorank v2.8 Beta (Is it up to date?)
java.lang.ArrayIndexOutOfBoundsException: 1
at me.armar.plugins.autorank.playerchecker.builders.RankChangeBuilder.createFromSimpleConfig(RankChangeBuilder.java:55) ~[?:?]
at me.armar.plugins.autorank.playerchecker.PlayerChecker.initialiseFromConfigs(PlayerChecker.java:50) ~[?:?]
at me.armar.plugins.autorank.Autorank.onEnable(Autorank.java:198) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250) ~[craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.2-17-g7d185fd-b2997jnks]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:350) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.2-17-g7d185fd-b2997jnks]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:384) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.2-17-g7d185fd-b2997jnks]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:300) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.2-17-g7d185fd-b2997jnks]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:282) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.2-17-g7d185fd-b2997jnks]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.reload(CraftServer.java:632) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.2-17-g7d185fd-b2997jnks]
at org.bukkit.Bukkit.reload(Bukkit.java:279) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.2-17-g7d185fd-b2997jnks]
at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:23) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.2-17-g7d185fd-b2997jnks]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:199) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.2-17-g7d185fd-b2997jnks]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:544) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.2-17-g7d185fd-b2997jnks]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchServerCommand(CraftServer.java:531) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.2-17-g7d185fd-b2997jnks]
at net.minecraft.server.v1_7_R1.DedicatedServer.aw(DedicatedServer.java:286) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.2-17-g7d185fd-b2997jnks]
at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:251) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.2-17-g7d185fd-b2997jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.2-17-g7d185fd-b2997jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.2-17-g7d185fd-b2997jnks]
at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit-1.7.2-R0.3.jar:git-Bukkit-1.7.2-R0.2-17-g7d185fd-b2997jnks]

Command dosent work

Hello,
could they please check my config it should be executed a command "addmember", dammit in MCMYADMIN this user in the right groups are sorted, unfortunately that does not work.
Could you please tell me if I have something set wrong.

http://pastebin.com/95H8jJai

An error which (I believe) crashed my Server.

Hey, I will keep this short, my Server crashed a few minutes ago with the last errors of the Console showing the following, which I will put on a pastebin, I will also include my advanced config.

Server crash error:

Chat is spammed with an error

" Warning: Permissions group is not defined: 'guest'"

What does this even mean? Every five seconds. I do not have any "guest" groups anywhere on my server. Please, stop this spam!

Command issue

each time i try and do ./ar check ./ar leader board (with the latest version on my tekkit classic server) it just shows the format (/ar [Action] ) please fix this. i like to have the new features on my tekkit classic server. ty in advance

Autorank disabled.

It was working perfectly a few days ago but now it is telling me it is disabled. Not sure what is wrong. I am using the simple config which doesn't really have much to go wrong on.

18:57:07 GMT Autorank: Enabling Autorank v2.8 Beta
18:57:07 GMT Autorank: Simple config file loaded
18:57:07 GMT Autorank: Advanced config file loaded
18:57:07 GMT Autorank: New playerdata.yml file loaded. AR can keep track of player progress now!
18:57:07 GMT Autorank: Interval check every 5 minutes.
18:57:07 GMT Autorank: Data file loaded
18:57:07 GMT Autorank: Vault Hooked!
18:57:07 GMT CONSOLE: ERROR]: Error occurred while enabling Autorank v2.8 Beta (Is it up to date?)
18:57:07 GMT CONSOLE: java.lang.ClassNotFoundException: nl.lolmewn.stats.Main
18:57:07 GMT CONSOLE: Method) ~[?:1.7.0_15]

If you could help it would be much appreciated.

My players are keep promoting - MAJOR ERROR AND HELP

Hi,

it seems to be that when my Players promote, after the promotion they keep getting the message they got again and again!

My config file is:
Enabled: true
Debug mode: false
Message prefix: '&8[&5TrinityPvP&8]&7'
Leaderboard layout: '&p | &n - &th hour(s) and &m minute(s).'
Essentials AFK integration: false
'1':
from: Guest
to: Survivor
required minutes played: 32
message: '&2Congratulations, you are now a Survivor.'
'2':
from: Survivor
to: Member
required minutes played: 200
message: '&2Congratulations, you are now a Member.'
'3':
from: Member
to: Veteran
required minutes played: 20160
message: '&2Congratulations, you are now a Veteran.'

And WTF? I literally just noticed an advanced config... Anyway here it is:

Autorank 2 Advanced Config

Please use the SimpleConfig unless you know what you are doing and

need functionality that the SimpleConfig doesn't provide.

use advanced config: false

all other advanced settings are ignored if this is set to false

afk integration: true

If a compatible AFK plugin is found autorank will not count online time for AFK players

This option is always on when using the SimpleConfig

Currently supports: Essentials

use partial completion: true

When this is true, players can use /ar complete # to complete a requirement at any moment they like.

When this is false, players will only be able to /ar check and check for all requirements at one time. They would need to have all requirements at that moment.

interval check: 5

This is the interval between checks of Autorank (in minutes).

Lowering this number will increase accuracy but will also increase server lag.

leaderboard layout: '&6&r | &b&p - &7&d day(s), &h hour(s) and &m minute(s).'
leaderboard length: 5

changes the appearance of the /ar leaderboard command

&r : Ranking in the leaderboard

&p : Player name

&m : Minutes (with full days and full hours not counted)

&h : Hours (with full days not counted)

&d : Days

&tm : Total amount of minutes

&th : Total amount of hours

ranks:
guest:
requirements:
time:
value: 10h
results:
rank change: guest;member
command: 'say &p just got a promotion; broadcast &p has just been promoted to Member!'
message: 'Congratulations, you are now a member.'
member:
requirements:
time:
value: 5d
exp:
value: 10
world:
value: world_nether
gamemode:
value: 0
has item:
value: 50
results:
rank change: member;vip
command: 'say &p has just been promoted to VIP!; give &p 1 100; tell &p You have just earned 100 stone!'
message: 'Congratulations, you are now a vip.'

new requirements and results can be added by other plugins that hook into the Autorank API

these are the ones that are included in the main plugin:

requirements:

time: 1d 1h 1m

exp: 20 (level)

money: 2000 (requires vault ! Player has to have at least this amount of money)

world: world_nether (player has to be in this world to get ranked)

gamemode: 1 (player has to have a certain gamemode, 0 = Survival mode, 1 = Creative mode, 2 = Adventure mode)

has item: id(;amount;data) (checks the players inventory for the item)

blocks broken: id(;amount;data) (a player has to have broken x amount blocks of item id and data) (Requires Stats) (when no data or amount is given, it will check total blocks)

Example: break 10 magenta wool would be: 'blocks broken: 35;10;2' 35 = itemid, 10 = amount, 2 = damagevalue

blocks placed: id(;amount;data) (a player has to have placed x amount blocks of item id and data) (Requires Stats) (when no data or amount is given, it will check total blocks)

votes: 10 (player has to have voted at least 10 times) (Requires Stats and Votifier)

damage taken: 10 (player has to have taken 10 damage) (damage is not counted in hearts) (Requires Stats)

mobs killed: 5;spider (player has to have killed 5 spiders) (if no entity is specified, then any kill counts) (Requires Stats) (for a list of entities: http://jd.bukkit.org/rb/apidocs/org/bukkit/entity/EntityType.html)

location: x;y;z;world;radius (player has to be in a location or within its radius)

faction power: 10 (Amount of power a faction has to have) (Requires Factions)

players killed: 10 (Player has to kill at least 10 players) (Requires Stats)

global time: 10d 1h 5m (Player has to be online for at least 10 days, 1 hour and 5 mins) (Global time is the accumulated time over all servers you have connected the MySQL database with)

total time: 50d 1h (Player has to be with this server for at least 50 days and 1 hour) (The time from when the player joined for the first time is the reference point. This means that when a player has joined 3 weeks ago, his 'total time' = 3 weeks)

results:

rank change: new-rank

rank change: old-rank; new-rank

rank change: old-rank; new-rank; world (only works for permissions plugins that support this)

message: 'You got ranked up'

command: 'say &p hi; give &p 1 100'(executes a console command. &p will be replaced by the player name) You can perform more commands with the ';' sign.

effect: STEP_SOUND;8 (first argument is the effect name, second is the effect data. For a list of possible effects go to http://jd.bukkit.org/rb/doxygen/d8/db9/enumorg_1_1bukkit_1_1Effect.html)

tp: x;y;z;world;yaw;pitch (tp: 0;0;0;world_nether;1.0;2.0)

sql:
enabled: false
hostname: localhost:3306
username: root
password: ''
database: minecraft
table: autorank

auto-updater:

When check-for-new-versions is true, Autorank will tell you when a new version is available.

check-for-new-versions: true

When auto-download is true, Autorank will automatically download the most recent version

auto-download: false    

This is serious and I am looking for an answer, thank you.

Problem autorank

Hello guys,

I'm from holland, my english is terrible so i do my best!
All my players who passed a level keep getting the message that they are promoted to the same level.

this is my config:

Autorank 2 Advanced Config

Please use the SimpleConfig unless you know what you are doing and

need functionality that the SimpleConfig doesn't provide.

use advanced config: false

all other advanced settings are ignored if this is set to false

afk integration: true

If a compatible AFK plugin is found autorank will not count online time for AFK players

This option is always on when using the SimpleConfig

Currently supports: Essentials

leaderboard layout: '&6&r | &b&p - &7&d day(s), &h hour(s) and &m minute(s).'
leaderboard length: 5

changes the appearance of the /ar leaderboard command

&r : Ranking in the leaderboard

&p : Player name

&m : Minutes (with full days and full hours not counted)

&h : Hours (with full days not counted)

&d : Days

&tm : Total amount of minutes

&th : Total amount of hours

language: english

Languages available: English, Dutch

ranks:
2:
requirements:
time: 10h
results:
rank change: Bezoeker;Bezoeker2
command: 'say &p Is een level omhoog; broadcast &p is nu Lvl 2!'
message: 'Je bent nu Lvl 2!'
3:
requirements:
time: 15h
results:
rank change: Bezoeker2;Bezoeker3
command: 'say &p Is een level omhoog; broadcast &p is nu Lvl 3!'
message: 'Je bent nu Lvl 3!'
4:
requirements:
time: 20h
results:
rank change: Bezoeker3;Bezoeker4
command: 'say &p Is een level omhoog; broadcast &p is nu Lvl 4!'
message: 'Je bent nu Lvl 4!'
5:
requirements:
time: 30h
results:
rank change: Bezoeker4;Bezoeker5
command: 'say &p Is een level omhoog; broadcast &p is nu Lvl 5!'
message: 'Je bent nu Lvl 5!'
6:
requirements:
time: 35h
results:
rank change: Bezoeker5;Bezoeker6
command: 'say &p Is een level omhoog; broadcast &p is nu Lvl 6!'
message: 'Je bent nu Lvl 6!'
7:
requirements:
time: 40h
results:
rank change: Bezoeker6;Bezoeker7
command: 'say &p Is een level omhoog; broadcast &p is nu Lvl 7!'
message: 'Je bent nu Lvl 7!'
8:
requirements:
time: 45h
results:
rank change: Bezoeker7;Bezoeker8
command: 'say &p Is een level omhoog; broadcast &p is nu Lvl 8!'
message: 'Je bent nu Lvl 8!'
9:
requirements:
time: 55h
results:
rank change: Bezoeker8;Bezoeker9
command: 'say &p Is een level omhoog; broadcast &p is nu Lvl 9!'
message: 'Je bent nu Lvl 9!'
10:
requirements:
time: 100h
results:
rank change: Bezoeker9;Bezoeker10
command: 'say &p Heeft het hoogste Lvl gehaald!; broadcast &p is nu Lvl 10!'
message: 'Je bent nu Lvl 10!'

member:
    requirements:
        time: 5d
        exp: 10
        world: world_nether
        gamemode: 0
        has item: 50
    results:
        rank change: member;vip
        command: 'say &p has just been promoted to VIP!; give &p 1 100; tell &p You have just earned 100 stone!'
        message: 'Congratulations, you are now a vip.'

new requirements and results can be added by other plugins that hook into the Autorank API

these are the ones that are included in the main plugin:

requirements:

time: 1d 1h 1m

exp: 20 (level)

money: 2000 (requires vault ! Player has to have at least this amount of money)

world: world_nether (player has to be in this world to get ranked)

gamemode: 1 (player has to have a certain gamemode, 0 = Survival mode, 1 = Creative mode, 2 = Adventure mode)

has item: id(;amount;data) (checks the players inventory for the item)

blocks broken: 100 (a player has to have 100 blocks or more broken) (Requires Stats)

blocks placed: 100 (a player has to have 100 blocks or more placed) (Requires Stats)

votes: 10 (player has to have voted at least 10 times) (Requires Stats and Votifier)

results:

rank change: new-rank

rank change: old-rank; new-rank

rank change: old-rank; new-rank; world (only works for permissions plugins that support this)

message: 'You got ranked up'

command: 'say &p hi; give &p 1 100'(executes a console command. &p will be replaced by the player name) You can perform more commands with the ';' sign.

effect: STEP_SOUND;8 (first argument is the effect name, second is the effect data. For a list of possible effects go to http://jd.bukkit.org/rb/doxygen/d8/db9/enumorg_1_1bukkit_1_1Effect.html)

tp: x;y;z;world;yaw;pitch (tp: 0;0;0;world_nether;1.0;2.0)

sql:
enabled: false
hostname: localhost:3306
username: root
password: ''
database: minecraft
table: autorank

# You can customise what Autorank will do with the database.
# 'save' will only save data TO the database but won't read from it.
# 'read' will only read data FROM the database but won't save to it.
# If you want to have seperate servers where time is saved globally,
# you can set 'save' on one server and 'read' on all the others.
method: save

[/quote]

AutoRank Issue

Playtime only works in one world and they don't keep their rank when going to different worlds, I also don't have the advanced config?

AFK does count bug

Hello, I found out that AFK intergration has a bug in version 2.7.1 (beta version). It doesn't matterbif you put AFK intergration on true or false, cause it still keeps on counting the time.

I hope you can fix this.
(p.s. I wrote is on my phone)

Autorank Error

Hittin a wall here. Any help?

[21:12:10] [Server thread/INFO]: [Autorank] Enabling Autorank v2.8 Beta
[21:12:10] [Server thread/INFO]: [Autorank] Simple config file loaded
[21:12:10] [Server thread/INFO]: [Autorank] Advanced config file loaded
[21:12:10] [Server thread/INFO]: [Autorank] New playerdata.yml file loaded. AR can keep track of player progress now!
[21:12:11] [Server thread/INFO]: [Autorank] Successfully established connection to central.mysql.pytohost.com:3306
[21:12:11] [Server thread/INFO]: [Autorank] Interval check every 0 minutes.
[21:12:11] [Server thread/INFO]: [Autorank] Data file loaded
[21:12:11] [Server thread/INFO]: [Autorank] Essentials was found! AFK integration can be used.
[21:12:11] [Server thread/INFO]: [Autorank] Vault Hooked!
[21:12:11] [Server thread/INFO]: [Autorank] Found Stats plugin: Stats (by Lolmewn)
[21:12:11] [Server thread/ERROR]: Error occurred while enabling Autorank v2.8 Beta (Is it up to date?)
java.lang.NullPointerException
at me.armar.plugins.autorank.config.ConfigHandler.getRequirements(ConfigHandler.java:49) ~[?:?]
at me.armar.plugins.autorank.playerchecker.builders.RankChangeBuilder.createFromAdvancedConfig(RankChangeBuilder.java:92) ~[?:?]
at me.armar.plugins.autorank.playerchecker.PlayerChecker.initialiseFromConfigs(PlayerChecker.java:48) ~[?:?]
at me.armar.plugins.autorank.Autorank.onEnable(Autorank.java:198) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250) ~[cbdev.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3022jnks]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:350) [cbdev.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3022jnks]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:389) [cbdev.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3022jnks]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:439) [cbdev.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3022jnks]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:375) [cbdev.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3022jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.m(MinecraftServer.java:342) [cbdev.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3022jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.g(MinecraftServer.java:319) [cbdev.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3022jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.a(MinecraftServer.java:275) [cbdev.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3022jnks]
at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:175) [cbdev.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3022jnks]
at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:424) [cbdev.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3022jnks]
at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [cbdev.jar:git-Bukkit-1.7.2-R0.3-2-g85f5776-b3022jnks]

Won't load

So the plugin wont even load for me... I'm running it on Craftbukkit, the latest dev build. Both v2.7 & 2.7.1 dont load. It says enabling, and it enables fine, then at the end of Minecraft Server loading, it unloads it. I've tried running it with all my plugins, and by itself with just Vault. I use /plugins in-game and it says its there, but its red, so its not loaded/active. Vault is working fine.

Autorank Data

Hello,

I updated autorank to 1.7. but i't can't read my data..
It says that everyone in the server has played for 0 Minutes.
Please help.

Multiworld Ranks

What are you expecting to happen:

Individual Ranking per World

What happens instead:

Global Rank

What steps will reproduce the problem?

  1. Using Autorank version 2.6 Beta
  2. Using PermissionsEx version 1.19.6
  3. Use per World Ranking

Config.yml

http://pastebin.com/FG8wR1ja

Permissions.yml

http://pastebin.com/NnYNsjGq

Installed Plugins:

NoCheatPlus, WorldEdit, Vault, PermissionsEx, LogBlock, LWC, WorldGuard, boosCooldowns, dynmap, ModReq, iAnimalProtect, MineBackup, ChestShop, ProtocolLib, Modifyworld, Stats, CleanroomGenerator, Essentials, EssentialsSpawn, TagAPI, LandLock, ReMap, PlotMe, DynmapPlotMe, Autorank, LiveChat, Multiverse-Core, CommandSigns, Multiverse-Inventories

Error log:

No error.

Additional information:
Pleasy provide a way to remove the rang change lines from AdvancedConfig.yml
Manual remove will cause errors:
http://pastebin.com/R952HRNP

Autorank's ability to support automatic faction powerboost's

Hello Armarr (or whoever may reply to this thread),

I am a head admin on a Tekkit Classic server that is considerably well known throughout the tekkit community. We have a multiple worlds (faction grief/raid world, towny anti-pvp/anti-grief world, and skyblock anti-grief/anti-pvp world) server. We would very much enjoy using autorank as opposed to using our current "Pay to Rank" system which seems to frustrate and confuse players and make them eventually lose interest in our product. We have fully configured the plugin, and everything works well with our current setup using pex + autorank. We have 12 in-game ranks that are availible in a tiered system, and each of those ranks contain different item unlocks and abilities. One of the perks is a progressive faction powerboost (for the ability to claim more land chunks), and this has proved to be an unsupported or unknown to us ability for autorank to control. Is there any suggestion as to a specific config line or permission node that would help us with the problem we are incurring?

The powerboost system goes as follows:

Rank 1: 10 total faction power
Rank 2: 15 total faction power
Rank 3: 20 total faction power
etc...

We would greatly appreciate your help, and regardless of the outcome we still support autorank over any other plugin of the same criteria!

help for some reason autorank is disabled on my server

Line 49: 2013-10-28 16:59:10 [INFO] [Autorank] Loading Autorank v2.7.1 Beta
Line 49: 2013-10-28 16:59:10 [INFO] [Autorank] Loading Autorank v2.7.1 Beta
Line 580: 2013-10-28 17:00:00 [INFO] [Autorank] Enabling Autorank v2.7.1 Beta
Line 580: 2013-10-28 17:00:00 [INFO] [Autorank] Enabling Autorank v2.7.1 Beta
Line 581: 2013-10-28 17:00:00 [INFO] [Autorank] Simple config file loaded
Line 582: 2013-10-28 17:00:00 [INFO] [Autorank] Advanced config file loaded
Line 583: 2013-10-28 17:00:00 [INFO] [Autorank] New playerdata.yml file loaded. AR can keep track of player progress now!
Line 584: 2013-10-28 17:00:00 [INFO] [Autorank] Interval check every 5 minutes.
Line 585: 2013-10-28 17:00:00 [INFO] [Autorank] Data file loaded
Line 586: 2013-10-28 17:00:00 [INFO] [Autorank] Vault Hooked!
Line 587: 2013-10-28 17:00:00 [SEVERE] Error occurred while enabling Autorank v2.7.1 Beta (Is it up to date?)
Line 589: at me.armar.plugins.autorank.factionapi.FactionsHandler.setupFactions(FactionsHandler.java:29)
Line 590: at me.armar.plugins.autorank.Autorank.onEnable(Autorank.java:126)
Line 590: at me.armar.plugins.autorank.Autorank.onEnable(Autorank.java:126)
Line 590: at me.armar.plugins.autorank.Autorank.onEnable(Autorank.java:126)
Line 892: 2013-10-28 17:05:37 [INFO] [Autorank] Loading Autorank v2.7.1 Beta
Line 892: 2013-10-28 17:05:37 [INFO] [Autorank] Loading Autorank v2.7.1 Beta
Line 1422: 2013-10-28 17:06:25 [INFO] [Autorank] Enabling Autorank v2.7.1 Beta
Line 1422: 2013-10-28 17:06:25 [INFO] [Autorank] Enabling Autorank v2.7.1 Beta
Line 1423: 2013-10-28 17:06:25 [INFO] [Autorank] Simple config file loaded
Line 1424: 2013-10-28 17:06:25 [INFO] [Autorank] Advanced config file loaded
Line 1425: 2013-10-28 17:06:25 [INFO] [Autorank] New playerdata.yml file loaded. AR can keep track of player progress now!
Line 1426: 2013-10-28 17:06:25 [INFO] [Autorank] Interval check every 5 minutes.
Line 1427: 2013-10-28 17:06:25 [INFO] [Autorank] Data file loaded
Line 1428: 2013-10-28 17:06:25 [INFO] [Autorank] Vault Hooked!
Line 1429: 2013-10-28 17:06:25 [SEVERE] Error occurred while enabling Autorank v2.7.1 Beta (Is it up to date?)
Line 1431: at me.armar.plugins.autorank.factionapi.FactionsHandler.setupFactions(FactionsHandler.java:29)
Line 1432: at me.armar.plugins.autorank.Autorank.onEnable(Autorank.java:126)
Line 1432: at me.armar.plugins.autorank.Autorank.onEnable(Autorank.java:126)
Line 1432: at me.armar.plugins.autorank.Autorank.onEnable(Autorank.java:126)
Line 1721: 2013-10-28 17:08:45 [INFO] [Autorank] Loading Autorank v2.7.1 Beta
Line 1721: 2013-10-28 17:08:45 [INFO] [Autorank] Loading Autorank v2.7.1 Beta
Line 2251: 2013-10-28 17:09:34 [INFO] [Autorank] Enabling Autorank v2.7.1 Beta
Line 2251: 2013-10-28 17:09:34 [INFO] [Autorank] Enabling Autorank v2.7.1 Beta
Line 2252: 2013-10-28 17:09:34 [INFO] [Autorank] Simple config file loaded
Line 2253: 2013-10-28 17:09:35 [INFO] [Autorank] Advanced config file loaded
Line 2254: 2013-10-28 17:09:35 [INFO] [Autorank] New playerdata.yml file loaded. AR can keep track of player progress now!
Line 2255: 2013-10-28 17:09:35 [INFO] [Autorank] Interval check every 5 minutes.
Line 2256: 2013-10-28 17:09:35 [INFO] [Autorank] Data file loaded
Line 2257: 2013-10-28 17:09:35 [INFO] [Autorank] Vault Hooked!
Line 2258: 2013-10-28 17:09:35 [SEVERE] Error occurred while enabling Autorank v2.7.1 Beta (Is it up to date?)
Line 2260: at me.armar.plugins.autorank.factionapi.FactionsHandler.setupFactions(FactionsHandler.java:29)
Line 2261: at me.armar.plugins.autorank.Autorank.onEnable(Autorank.java:126)
Line 2261: at me.armar.plugins.autorank.Autorank.onEnable(Autorank.java:126)
Line 2261: at me.armar.plugins.autorank.Autorank.onEnable(Autorank.java:126)
Line 2496: 2013-10-28 17:11:53 [INFO] [Autorank] Loading Autorank v2.7.1 Beta
Line 2496: 2013-10-28 17:11:53 [INFO] [Autorank] Loading Autorank v2.7.1 Beta
Line 3026: 2013-10-28 17:12:43 [INFO] [Autorank] Enabling Autorank v2.7.1 Beta
Line 3026: 2013-10-28 17:12:43 [INFO] [Autorank] Enabling Autorank v2.7.1 Beta
Line 3027: 2013-10-28 17:12:43 [INFO] [Autorank] Simple config file loaded
Line 3028: 2013-10-28 17:12:43 [INFO] [Autorank] Advanced config file loaded
Line 3029: 2013-10-28 17:12:43 [INFO] [Autorank] New playerdata.yml file loaded. AR can keep track of player progress now!
Line 3030: 2013-10-28 17:12:43 [INFO] [Autorank] Interval check every 5 minutes.
Line 3031: 2013-10-28 17:12:43 [INFO] [Autorank] Data file loaded
Line 3032: 2013-10-28 17:12:43 [INFO] [Autorank] Vault Hooked!
Line 3033: 2013-10-28 17:12:43 [SEVERE] Error occurred while enabling Autorank v2.7.1 Beta (Is it up to date?)
Line 3035: at me.armar.plugins.autorank.factionapi.FactionsHandler.setupFactions(FactionsHandler.java:29)
Line 3036: at me.armar.plugins.autorank.Autorank.onEnable(Autorank.java:126)
Line 3036: at me.armar.plugins.autorank.Autorank.onEnable(Autorank.java:126)
Line 3036: at me.armar.plugins.autorank.Autorank.onEnable(Autorank.java:126)
i get this what do i do ?

Stats Votes

org.bukkit.command.CommandException: Unhandled exception executing command 'ar' in plugin Autorank v2.7.1 Beta
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192)
at org.bukkit.craftbukkit.v1_6_R3.CraftServer.dispatchCommand(CraftServer.java:532)
at net.minecraft.server.v1_6_R3.PlayerConnection.handleCommand(PlayerConnection.java:986)
at net.minecraft.server.v1_6_R3.PlayerConnection.chat(PlayerConnection.java:897)
at net.minecraft.server.v1_6_R3.PlayerConnection.a(PlayerConnection.java:838)
at net.minecraft.server.v1_6_R3.Packet3Chat.handle(Packet3Chat.java:47)
at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:237)
at net.minecraft.server.v1_6_R3.PlayerConnection.e(PlayerConnection.java:117)
at net.minecraft.server.v1_6_R3.ServerConnection.b(SourceFile:37)
at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:131)
at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:604)
at net.minecraft.server.v1_6_R3.DedicatedServer.t(DedicatedServer.java:240)
at net.minecraft.server.v1_6_R3.MinecraftServer.s(MinecraftServer.java:493)
at net.minecraft.server.v1_6_R3.MinecraftServer.run(MinecraftServer.java:425)
at net.minecraft.server.v1_6_R3.ThreadServerApplication.run(SourceFile:583)
Caused by: java.lang.NoSuchMethodError: nl.lolmewn.stats.player.StatsPlayer.getStat(Lnl/lolmewn/stats/StatType;Z)Lnl/lolmewn/stats/player/Stat;
at me.armar.plugins.autorank.statsapi.StatsHandler.getStatType(StatsHandler.java:64)
at me.armar.plugins.autorank.statsapi.StatsHandler.getTotalTimesVoted(StatsHandler.java:76)
at me.armar.plugins.autorank.playerchecker.requirement.TotalVotesRequirement.meetsRequirement(TotalVotesRequirement.java:53)
at me.armar.plugins.autorank.commands.CommandsHandler.check(CommandsHandler.java:672)
at me.armar.plugins.autorank.commands.CommandsHandler.onCommand(CommandsHandler.java:110)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
... 15 more

Votes And Stats

Config File

ranks:
Watcher:
requirements:
time:
value: 2h
results:
rank change: Watcher;Novice
command: 'say &p just got a promotion; broadcast &p has just been promoted to Novice!; cp give &p 2 Rankup; eco give &p 1000'
message: 'Congratulations, you are now a Novice And You Earned 2 FallenPoints As Well as $1000!.'
Novice:
requirements:
time:
value: 8h
votes:
value: 4
results:
rank change: Novice;Player
command: 'say &p just got a promotion; broadcast &p has just been promoted to player!; cp give &p 2 Rankup; eco give &p 2500'
message: 'Congratulations, you are now a Player And You Earned 3 FallenPoints As Well as $2500!.'

Console Output on /ar check >>>>

[14:01:30 INFO]: Coldreaper issued server command: /ar check

org.bukkit.command.CommandException: Unhandled exception executing command 'ar' in plugin Autorank v2.7.2 Beta
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[craftbukkit.jar:git-Spigot-1169]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192) ~[craftbukkit.jar:git-Spigot-1169]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:546) ~[craftbukkit.jar:git-Spigot-1169]
at net.minecraft.server.v1_7_R1.PlayerConnection.handleCommand(PlayerConnection.java:941) [craftbukkit.jar:git-Spigot-1169]
at net.minecraft.server.v1_7_R1.PlayerConnection.a(PlayerConnection.java:814) [craftbukkit.jar:git-Spigot-1169]
at net.minecraft.server.v1_7_R1.PacketPlayInChat.a(PacketPlayInChat.java:28) [craftbukkit.jar:git-Spigot-1169]
at net.minecraft.server.v1_7_R1.PacketPlayInChat.handle(PacketPlayInChat.java:65) [craftbukkit.jar:git-Spigot-1169]
at net.minecraft.server.v1_7_R1.NetworkManager.a(NetworkManager.java:146) [craftbukkit.jar:git-Spigot-1169]
at net.minecraft.server.v1_7_R1.ServerConnection.c(SourceFile:134) [craftbukkit.jar:git-Spigot-1169]
at net.minecraft.server.v1_7_R1.MinecraftServer.u(MinecraftServer.java:647) [craftbukkit.jar:git-Spigot-1169]
at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:259) [craftbukkit.jar:git-Spigot-1169]
at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:530) [craftbukkit.jar:git-Spigot-1169]
at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:442) [craftbukkit.jar:git-Spigot-1169]
at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Spigot-1169]
Caused by: java.lang.NullPointerException
at nl.lolmewn.stats.player.StatsPlayer.hasStat(StatsPlayer.java:70) ~[?:?]
at nl.lolmewn.stats.player.StatsPlayer.getStatData(StatsPlayer.java:127) ~[?:?]
at me.armar.plugins.autorank.statsapi.StatsHandler.getNormalStat(StatsHandler.java:95) ~[?:?]
at me.armar.plugins.autorank.playerchecker.requirement.TotalVotesRequirement.meetsRequirement(TotalVotesRequirement.java:53) ~[?:?]
at me.armar.plugins.autorank.commands.CommandsHandler.check(CommandsHandler.java:679) ~[?:?]
at me.armar.plugins.autorank.commands.CommandsHandler.onCommand(CommandsHandler.java:110) ~[?:?]
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[craftbukkit.jar:git-Spigot-1169]

Ar Check Internal Error

I'm running stats hooked up with AutoRank. When players use ar check command it says an internal error has occurred. Auto Ranking of players does not work. I only base it off of time played, blocks broken, and blocks changed. I am using the most recent version of Stats and AutoRank. This is what is on console

http://pastebin.com/kgfDSKPh

[BUG] java.lang.OutOfMemoryError: Java heap space

Autorank has suddenly crashed the server. It has never happened before. Please tell me what could've caused this? I noticed that it is somehow connected to the simpleconfig.yml, but I use the advancedconfig.yml, I don't even have the simpleconfig enabled. I need some output from you guys on this situation.
http://pastebin.com/vnUwgN1z

Can i change days?

Dear autorank creators,

Can i change the Days in hours on my server?

Example: (name) - 15day(s),4 hour(s) and 35 minutes
into
(name) - 493 Hours

AutoRank Messing up

Hello,
I am having some trouble with my autorank automatic ranking,
using the Advanced Config. It won't rank up to the first after the required time but when self promoting to the second rank (first rank up), it says they have achieved the time and promotes them, and constantly keeps doing it even though they are this rank and have the correct playtime.

Here is the config:
http://pastebin.com/LdVtWzKA

Please Help! This is Urgent.

AR only generating "config" no Simple or Advanced Config [v1.7]

I put in the plugin, and started up my server. When I went into the plugins/AutoRank/ folder, I only saw 2 files: config.yml and data.yml. There is no AdvancedConfig or SimpleConfig. I am using bukkit release "1.6.2-R1 (#2879). I am using v.1.7, (but I also had problems with the version used in the tutorial video, I'll leave another ticket) so I'll leave some pastebin links for you.

Computer Specs:
http://pastebin.com/zRydMynf

Current Plugins:
http://pastebin.com/zJnKNhFr

Server Log on startup:
http://pastebin.com/MF9tCXMW

Server Log on startup: (Errors only) (I couldn't copy the text, so it's an image)
http://s22.postimg.org/gihgk7myp/Server_Log_Errors.png

Autorank Disables its self on startup?

[10:44:43] [Server thread/INFO]: [Autorank] Enabling Autorank v${project.version}
[10:44:43] [Server thread/INFO]: [Autorank] Simple config file loaded
[10:44:43] [Server thread/INFO]: [Autorank] Advanced config file loaded
[10:44:43] [Server thread/INFO]: [Autorank] New playerdata.yml file loaded. AR can keep track of player progress now!
[10:44:43] [Server thread/INFO]: [Autorank] Interval check every 6 minutes.
[10:44:43] [Server thread/INFO]: [Autorank] Data file loaded
[10:44:43] [Server thread/INFO]: [Autorank] Essentials was found! AFK integration can be used.
[10:44:43] [Server thread/INFO]: [Autorank] Vault found and hooked!
[10:44:43] [Server thread/ERROR]: Error occurred while enabling Autorank v${project.version} (Is it up to date?)
java.lang.NoClassDefFoundError: com/gmail/nossr50/api/exceptions/InvalidSkillException
at me.armar.plugins.autorank.hooks.DependencyManager.(DependencyManager.java:38) ~[?:?]
at me.armar.plugins.autorank.Autorank.onEnable(Autorank.java:150) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250) ~[spigot.jar:git-Spigot-1330]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:350) [spigot.jar:git-Spigot-1330]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:390) [spigot.jar:git-Spigot-1330]
at me.Incomprehendable.WorldPlugins.FakePluginManager.enablePlugin(FakePluginManager.java:238) [PerWorldPlugins.jar:?]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugin(CraftServer.java:460) [spigot.jar:git-Spigot-1330]
at org.bukkit.craftbukkit.v1_7_R1.CraftServer.enablePlugins(CraftServer.java:380) [spigot.jar:git-Spigot-1330]
at net.minecraft.server.v1_7_R1.MinecraftServer.m(MinecraftServer.java:348) [spigot.jar:git-Spigot-1330]
at net.minecraft.server.v1_7_R1.MinecraftServer.g(MinecraftServer.java:325) [spigot.jar:git-Spigot-1330]
at net.minecraft.server.v1_7_R1.MinecraftServer.a(MinecraftServer.java:281) [spigot.jar:git-Spigot-1330]
at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:186) [spigot.jar:git-Spigot-1330]
at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:437) [spigot.jar:git-Spigot-1330]
at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [spigot.jar:git-Spigot-1330]
Caused by: java.lang.ClassNotFoundException: com.gmail.nossr50.api.exceptions.InvalidSkillException
at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.7.0_51]
at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.7.0_51]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_51]
at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.7.0_51]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) ~[spigot.jar:git-Spigot-1330]
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) ~[spigot.jar:git-Spigot-1330]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_51]
at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_51]
... 14 more

Autorank is disabled. Check your server.log!

22:30:03 Autorank: Enabling Autorank v2.8 Beta
22:30:03 Autorank: Simple config file loaded
22:30:03 Autorank: Advanced config file loaded
22:30:03 Autorank: New playerdata.yml file loaded. AR can keep track of player progress now!
22:30:03 Autorank: Interval check every 5 minutes.
22:30:03 Autorank: Data file loaded
22:30:03 Autorank: Essentials was found! AFK integration can be used.
22:30:03 Autorank: Vault Hooked!
22:30:03 CONSOLE: ERROR]: Error occurred while enabling Autorank v2.8 Beta (Is it up to date?)
22:30:03 CONSOLE: java.lang.ClassNotFoundException: nl.lolmewn.stats.Main
22:30:03 CONSOLE: Method) ~[?:1.7.0_51]

Autorank 2 Advanced Config

Please use the SimpleConfig unless you know what you are doing and

need functionality that the SimpleConfig doesn't provide.

use advanced config: true

all other advanced settings are ignored if this is set to false

afk integration: true

If a compatible AFK plugin is found autorank will not count online time for AFK players

This option is always on when using the SimpleConfig

Currently supports: Essentials

use partial completion: true

When this is true, players can use /ar complete # to complete a requirement at any moment they like.

When this is false, players will only be able to /ar check and check for all requirements at one time. They would need to have all requirements at that moment.

interval check: 5

This is the interval between checks of Autorank (in minutes).

Lowering this number will increase accuracy but will also increase server lag.

leaderboard layout: '&6&r | &b&p - &7&d day(s), &h hour(s) and &m minute(s).'
leaderboard length: 5

changes the appearance of the /ar leaderboard command

&r : Ranking in the leaderboard

&p : Player name

&m : Minutes (with full days and full hours not counted)

&h : Hours (with full days not counted)

&d : Days

&tm : Total amount of minutes

&th : Total amount of hours

ranks:
Besucher:
requirements:
time:
value: 1m
results:
command: 'addmember Builder &p'
message: 'Congratulations, you are now a member.'

Reseting times

Hello, I'm trying to reset times after my server has done a complete reset. Staff and I have been trying to reset everyone's time to 0 so that everyone starts at the same rank on the new server. Please help me reset these. We have tried to delete .dat, including essentials, pex and autorank.
Thanks,
Buckeye

exception executing command ar

I'm getting the following error.

16:58:28
CONSOLE:
[INFO] mhjort issued server command: /ar check madguet
16:58:28
CONSOLE:
[SEVERE] null
16:58:28
CONSOLE:
exception executing command 'ar' in plugin Autorank v2.7.1 Beta
16:58:28
CONSOLE:
java.lang.NoSuchMethodError: nl.lolmewn.stats.player.StatsPlayer.getStat(Lnl/lolmewn/stats/StatType;Z)Lnl/lolmewn/stats/player/Stat;

First time installation, Can not load the plugin!

So We are opening a new server and decided to go with AutoRank plugin and it looks like the server just doesn't want us to have the plugin.

this is the error we get:
17.02 15:18:21 [Server] ERROR Could not load 'plugins/Autorank.jar' in folder 'plugins'

Plugin not functioning 100%

So u have autorank set up for time played, blocks broken, and blocks destoryed. I am using the stats plugin as well. Vault is in and working functionally. Recently, the plugin wiped itself of time played and does not show what is needed to rank up anymore..? All plugins are on their latest date. I am using Craftbukkit dev 1.7 as well

stats vote does not work

Dude, this stuff does not work, man.
https://github.com/Armarr/Autorank-2/blob/master/src/me/armar/plugins/autorank/statsapi/StatsHandler.java
I have everything set up correctly. I have +9 votes in my stats, I have 8 votes set in the requirements for ranking up, still I'm getting "the user does not fit the requirements: - 8 votes".

version
06:45:32 [INFO] This server is running CraftBukkit version git-Spigot-921 (MC: 1.5.2) (Implementing API version 1.5.2-R0.2-SNAPSHOT)
version autorank
06:47:18 [INFO] Autorank version Beta 2.4
06:47:18 [INFO] Reward players ranks based upon their played time.
06:47:18 [INFO] Authors: Idrrp, Armarr and Staartvin
version stats
06:47:31 [INFO] Stats version jenkins-Stats-366
06:47:31 [INFO] Tracking your stats!
06:47:31 [INFO] Author: Lolmewn

Won't Create a Folder

It wont create a folder when i put it in the plugin folder. Don't worry i restarted it

Essentials Faction Tags AND USING AUTORANK

I really hope you guys will actually read this and fix it.

So basically is what is going on is that in essentials I have a bunch of different faction tag colors for each rank. Now I use PEX with this plugin and it doesn't seem to react well. Basically it creates two different groups. One for PEX to control via the pex promote command, and another for autorank to control.

Arkandriel:
group: <----- PEX
- warrior
worlds:
world:
group: <--- AUTORANK
- adventurer

So when autorank promotes someone, because only PEX is hooked into essentials and not autorank, it changes the person's rank but not their faction tag color to match the rank. So here's how I think it should be.

Arkandriel:
group:
- warrior <------ PEX & AUTORANK

They should both control that so instead of this happening as a bug:

(Warrior Color: &2)(Adventurer Color: &3)
[&3FACTION TAG]-[&2RANK] <---- Faction tag sees warrior, but rank sees nomadic.

So the reason they do not follow is because they are on slightly different tracks on each player. Please fix this.

Contact me VIA bukkit for further questions. I do not like github and was forced to make an account to send this message.

~ EpikS4use

Config Files Loading Incorrectly

Versions of:
AutoRank: 2.8 Beta
Bukkit: Spigot #1260
Essentials: v2.11.1
GroupManager: v2.0 (2.11.1) (Phoenix)
Stats: Stats v1.38
Vault: v1.2.27-b349

AdvancedConfig Pastebin: http://pastebin.com/tCTtDgv3
SimpleConfig Pastebin: http://pastebin.com/mrhgJeTL
Server Startup Blurb: http://pastebin.com/hkau5RLq

On the initial install of Autorank, the simple config, advanced config, player data, and language files did not generate. Only a config.yml and a data.yml. No bother. I created the two configs manually using the examples from the wiki, then configured my advanced settings and included some settings from the super advanced. I touched nothing in the simple config as I assumed the plugin would read the advanced config and disregard the simple config.

I initially did /ar relord, received the message that AutoRank had reloaded and I went about my day. After my server restarted due to an unrelated crash, AR returns a message saying "permissions group is not defined; 'guest'" I had no guest group either in my permission ranks or in the advanced AR config. Only the simple config. The problem did not go away after a legitimate restart using /stop or doing /ar reload. I attempted to edit the simple config and changed it to my ranks and the problem still persisted.

It seems as though even if the advanced config is enabled, the simple config is still read.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.