Autorank

Autorank

380k Downloads

autorank + stats does not work

WoAnerges opened this issue ยท 4 comments

commented

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

commented

version stats
03:58:18 [INFO] Stats version 1.38-SNAPSHOT-102
03:58:18 [INFO] Tracking your stats!
03:58:18 [INFO] Author: Lolmewn
version autorank
03:58:36 [INFO] Autorank version 2.7.1 Beta
03:58:36 [INFO] Reward players based on their stats.
03:58:36 [INFO] Authors: Idrrp, Armarr and Staartvin
[WARNING] [Autorank] Task #222 for Autorank v2.7.1 Beta generated an exception
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.playerchecker.RankChange.checkRequirements(RankChange.java:67)
at me.armar.plugins.autorank.playerchecker.RankChange.applyChange(RankChange.java:121)
at me.armar.plugins.autorank.playerchecker.PlayerChecker.checkPlayer(PlayerChecker.java:80)
at me.armar.plugins.autorank.playerchecker.PlayerCheckerTrigger.run(PlayerCheckerTrigger.java:39)
at org.bukkit.craftbukkit.v1_6_R3.scheduler.CraftTask.run(CraftTask.java:67)
at org.bukkit.craftbukkit.v1_6_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:345)
at net.minecraft.server.v1_6_R3.MinecraftServer.t(MinecraftServer.java:520)
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)

commented

version
03:59:13 [INFO] This server is running CraftBukkit version git-Spigot-1116 (MC: 1.6.4) (Implementing API version 1.6.4-R0.1-SNAPSHOT)

commented

This error is caused because Autorank hasn't updated to the new stats API. I'm already working on this issue and I'm almost finished.

commented

Fixed in Autorank v2.7.2. It will be available soon.