Code Monkey home page Code Monkey logo

statsgui's Introduction

This adds a stats gui using a scoreboard for mcMMO.

statsgui's People

Contributors

cybermaxke avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

statsgui's Issues

Error with GUI

Running CB 1.5 R0.1 for MC 1.5.1
GUI doesn't show up by default and when I do the command to show it, I get an error message that tells me an internal error has occurred.
These are the errors I saw in the console when I ran the command.

30.03 15:59:41 [Server] INFO at net.minecraft.server.v1_5_R1.PlayerList.a(PlayerList.java:100)
30.03 15:59:41 [Server] INFO at net.minecraft.server.v1_5_R1.PlayerList.c(PlayerList.java:204)
30.03 15:59:41 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
30.03 15:59:41 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
30.03 15:59:41 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
30.03 15:59:41 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
30.03 15:59:41 [Server] INFO org.bukkit.event.EventException
30.03 15:59:41 [Server] SEVERE Could not pass event PlayerJoinEvent to mcMMOStats v1.4

Error in the McMMOPlayerXpGainEvent and a null error i do the cmd of /StatsGui show.

2013-03-21 23:50:30 [SEVERE] Could not pass event McMMOPlayerXpGainEvent to mcMMOStats v1.4
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:39)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464)
at com.gmail.nossr50.datatypes.player.McMMOPlayer.applyXpGain(McMMOPlayer.java:466)
at com.gmail.nossr50.datatypes.player.McMMOPlayer.beginUnsharedXpGain(McMMOPlayer.java:442)
at com.gmail.nossr50.datatypes.player.McMMOPlayer.beginXpGain(McMMOPlayer.java:430)
at com.gmail.nossr50.skills.SkillManager.applyXpGain(SkillManager.java:42)
at com.gmail.nossr50.skills.acrobatics.AcrobaticsManager.dodgeCheck(AcrobaticsManager.java:60)
at com.gmail.nossr50.util.skills.CombatUtils.combatChecks(CombatUtils.java:272)
at com.gmail.nossr50.listeners.EntityListener.onEntityDamageByEntity(EntityListener.java:129)
at sun.reflect.GeneratedMethodAccessor197.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:613)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:39)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464)
at org.bukkit.craftbukkit.v1_5_R2.event.CraftEventFactory.callEvent(CraftEventFactory.java:84)
at org.bukkit.craftbukkit.v1_5_R2.event.CraftEventFactory.callEntityDamageEvent(CraftEventFactory.java:372)
at org.bukkit.craftbukkit.v1_5_R2.event.CraftEventFactory.handleEntityDamageEvent(CraftEventFactory.java:394)
at net.minecraft.server.v1_5_R2.EntityLiving.damageEntity(EntityLiving.java:698)
at net.minecraft.server.v1_5_R2.EntityHuman.damageEntity(EntityHuman.java:685)
at net.minecraft.server.v1_5_R2.EntityPlayer.damageEntity(EntityPlayer.java:352)
at net.minecraft.server.v1_5_R2.EntityMonster.m(EntityMonster.java:88)
at net.minecraft.server.v1_5_R2.EntityMonster.a(EntityMonster.java:114)
at net.minecraft.server.v1_5_R2.EntitySpider.a(EntitySpider.java:91)
at net.minecraft.server.v1_5_R2.EntityCreature.bq(EntityCreature.java:56)
at net.minecraft.server.v1_5_R2.EntityLiving.c(EntityLiving.java:1319)
at net.minecraft.server.v1_5_R2.EntityMonster.c(EntityMonster.java:20)
at net.minecraft.server.v1_5_R2.EntityLiving.l_(EntityLiving.java:544)
at net.minecraft.server.v1_5_R2.EntityMonster.l_(EntityMonster.java:24)
at net.minecraft.server.v1_5_R2.EntitySpider.l_(EntitySpider.java:20)
at net.minecraft.server.v1_5_R2.World.entityJoinedWorld(World.java:1455)
at net.minecraft.server.v1_5_R2.WorldServer.entityJoinedWorld(WorldServer.java:629)
at net.minecraft.server.v1_5_R2.World.playerJoinedWorld(World.java:1431)
at net.minecraft.server.v1_5_R2.World.tickEntities(World.java:1303)
at net.minecraft.server.v1_5_R2.WorldServer.tickEntities(WorldServer.java:495)
at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:561)
at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:229)
at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:471)
at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:403)
at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573)
Caused by: java.lang.NullPointerException
at me.cybermaxke.mcmmostats.McMMOStats.onMcMMOPlayerXpGain(McMMOStats.java:95)
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:613)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
... 44 more

and

2013-03-21 23:50:01 [INFO] XxCoolGamesxX issued server command: /StatsGui show
2013-03-21 23:50:01 [SEVERE] null
org.bukkit.command.CommandException: Unhandled exception executing command 'statsgui' in plugin mcMMOStats v1.4
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:187)
at org.bukkit.craftbukkit.v1_5_R2.CraftServer.dispatchCommand(CraftServer.java:545)
at net.minecraft.server.v1_5_R2.PlayerConnection.handleCommand(PlayerConnection.java:980)
at net.minecraft.server.v1_5_R2.PlayerConnection.chat(PlayerConnection.java:896)
at net.minecraft.server.v1_5_R2.PlayerConnection.a(PlayerConnection.java:840)
at net.minecraft.server.v1_5_R2.Packet3Chat.handle(Packet3Chat.java:44)
at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:174)
at net.minecraft.server.v1_5_R2.PlayerConnection.d(PlayerConnection.java:113)
at net.minecraft.server.v1_5_R2.ServerConnection.b(SourceFile:35)
at org.spigotmc.netty.NettyServerConnection.b(NettyServerConnection.java:66)
at net.minecraft.server.v1_5_R2.MinecraftServer.r(MinecraftServer.java:582)
at net.minecraft.server.v1_5_R2.DedicatedServer.r(DedicatedServer.java:229)
at net.minecraft.server.v1_5_R2.MinecraftServer.q(MinecraftServer.java:471)
at net.minecraft.server.v1_5_R2.MinecraftServer.run(MinecraftServer.java:403)
at net.minecraft.server.v1_5_R2.ThreadServerApplication.run(SourceFile:573)
Caused by: java.lang.NullPointerException
at me.cybermaxke.mcmmostats.GuiCommand.onCommand(GuiCommand.java:59)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
... 15 more

I use the Spigot - 692.
I use the mcmmo - 1.4.04 - 1824.
I use the mcMMOStatsGui - 1.4.

Show GUI by default?

My apologies if this was the wrong place to put this but I would really like to see this plugin have a feature to enable it by default. Also, maybe some color customization to the menu would be nice :)

Gui shown by default not working

Okay i'm running the lastest 1.5.2 verison. and i enabled the stats to show by default,and gave the perms to everyone, but its only showing for me the "owner" or unless they type in the command.

Stats Gui Problem

Hey, i got a problem, when im opped and fight a cow it change the stats gui to

Unarmed
Required XP [xp]
Earbed XP [xp]
Level [level]

But when im deopped its not showing it, what is the problem?
And for permission node: mcMMOStatsGui.UseSkillGui.SKILL, where can i find a list of all skills?

McMMO / McMMO Stats Event Error.

I'm getting this issue right here, particularly when i hit players, sometimes on occasions when players actually hit me, i believe it has to deal with players gaining 4x the regular XP amount with McMMO.

Error Log: -> http://pastebin.com/jxZ4Yz8p

CB Version:-> http://i.imgur.com/rnyEPvV.png

The issue could be that i'm running a newer version of Bukkit compared to the builds that McMMOStatsGui is currently updated for.

Disable Skills in the list.

Hello, is there a way to disable the skills in the list? I try negating mcMMOStatsGui.UseSkillGui.mining, but mining still shows on the list of skills. If you could add a way to remove skills from the list that would be awesome, as many servers dont use each skill.

Suggestion

Hello. Can you create new line in single skill GUI, which be a bar experience. Example: [||||||||||]

Error

I'm using 1.8. Here is the error when doing /statsgui show

27.11 17:39:06 [Server] WARN [StatsGui] Task #115 for StatsGui v2.1 generated an exception
27.11 17:39:06 [Server] INFO java.lang.NoClassDefFoundError: com/massivecraft/factions/entity/UPlayer
27.11 17:39:06 [Server] INFO at me.cybermaxke.statsgui.plugin.hook.factions.StatsFactions.isUsable(StatsFactions.java:87) ~[?:?] 27.11 17:39:06 [Server] INFO at me.cybermaxke.statsgui.plugin.SimpleStatsGui$StatsUpdater.run(SimpleStatsGui.java:257) ~[?:?] 27.11 17:39:06 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52]
27.11 17:39:06 [Server] INFO at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52]
27.11 17:39:06 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:723) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52]
27.11 17:39:06 [Server] INFO at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52]
27.11 17:39:06 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52]
27.11 17:39:06 [Server] INFO at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557) [spigot-1.8.8.jar:git-Spigot-e4d4710-e1ebe52]
27.11 17:39:06 [Server] INFO at java.lang.Thread.run(Thread.java:745) [?:1.8.0_92]

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.