Git Product home page Git Product logo

scoreboardstats's Introduction

ScoreboardStats

ScoreboardStats is a Bukkit plugin that uses the sidebar from scoreboard feature which was introduced into Minecraft since version 1.5. This plugin simplifies, adds many new features and possible ways to improve the use of it.

Project page:

https://dev.bukkit.org/bukkit-mods/scoreboardstats/

https://www.curse.com/bukkit-plugins/minecraft/scoreboardstats

For Plugin Developers

https://github.com/games647/ScoreboardStats/wiki

Feel free to contribute there too. Just click the edit button after you login into your Github account

Building

ScoreboardStats uses Maven 3 to manage building configurations, general project details and dependencies. You can compile this project yourself by using Maven.

  • Just import the project from Github. Your IDE would detect the Maven project.
  • If not: Download it from here You will find executable in the bin folder.
  • Run (using IDE, console or something else)

scoreboardstats's People

Contributors

androkai avatar games647 avatar ipyronic avatar koffiepatje avatar marcelo-mason avatar minethecube avatar yellowzaki 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scoreboardstats's Issues

Current build?

I am working with the 0.7.5 version on bukkit dev. But the current documentation leads me to believe there is a newer version not published on bukkit dev? If so is there a Jenkins/Repo I can download it from for testing?

Random reload error

16:44:20 INFO: [ScoreboardStats] Enabling ScoreboardStats v0.8.5
16:44:20 INFO: SubClassFactory parent ClassLoader com.github.games647.scorebo
ardstats.ReloadFixLoader
: Entities enhanced[0] subclassed[1]

16:44:20 INFO: executing 1 of 1 create table IF NOT EXISTS player_stats ( id
integer prim...
16:44:20 INFO: ... end of script
16:44:20 INFO: [ScoreboardStats] Registered replacers: [PlayerPingVariable, St
atsVariables, GeneralVariables, VaultVariables, McmmoVariables, FactionsVariable
s]
[16:44:20 ERROR]: Error occurred while enabling ScoreboardStats v0.8.5 (Is it up
to date?)
java.lang.ClassCastException: com.github.games647.scoreboardstats.pvpstats.Playe
rStats$$EntityBean$ScoreboardStats cannot be cast to com.github.games647.scorebo
ardstats.pvpstats.PlayerStats
at com.github.games647.scoreboardstats.pvpstats.Database.getCachedStats(
Database.java:58) ~[?:?]
at com.github.games647.scoreboardstats.pvpstats.Database.loadAccountAsyn
c(Database.java:71) ~[?:?]
at com.github.games647.scoreboardstats.SbManager.registerAll(SbManager.j
ava:100) ~[?:?]
at com.github.games647.scoreboardstats.ScoreboardStats.onEnable(Scoreboa
rdStats.java:135) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[s
pigot-1.8.jar:git-Spigot-8a983f9-e81edfc]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
.java:335) [spigot-1.8.jar:git-Spigot-8a983f9-e81edfc]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
r.java:405) [spigot-1.8.jar:git-Spigot-8a983f9-e81edfc]
at org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugin(CraftServer.jav
a:356) [spigot-1.8.jar:git-Spigot-8a983f9-e81edfc]
at org.bukkit.craftbukkit.v1_8_R1.CraftServer.enablePlugins(CraftServer.
java:316) [spigot-1.8.jar:git-Spigot-8a983f9-e81edfc]
at org.bukkit.craftbukkit.v1_8_R1.CraftServer.reload(CraftServer.java:74
6) [spigot-1.8.jar:git-Spigot-8a983f9-e81edfc]
at org.bukkit.Bukkit.reload(Bukkit.java:534) [spigot-1.8.jar:git-Spigot-
8a983f9-e81edfc]
at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:
25) [spigot-1.8.jar:git-Spigot-8a983f9-e81edfc]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:14

  1. [spigot-1.8.jar:git-Spigot-8a983f9-e81edfc]
    at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchCommand(CraftServe
    r.java:646) [spigot-1.8.jar:git-Spigot-8a983f9-e81edfc]
    at org.bukkit.craftbukkit.v1_8_R1.CraftServer.dispatchServerCommand(Craf
    tServer.java:632) [spigot-1.8.jar:git-Spigot-8a983f9-e81edfc]
    at net.minecraft.server.v1_8_R1.DedicatedServer.aM(DedicatedServer.java:
  2. [spigot-1.8.jar:git-Spigot-8a983f9-e81edfc]
    at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:3
  3. [spigot-1.8.jar:git-Spigot-8a983f9-e81edfc]
    at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:6
  4. [spigot-1.8.jar:git-Spigot-8a983f9-e81edfc]
    at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java
    :537) [spigot-1.8.jar:git-Spigot-8a983f9-e81edfc]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_31]

Support for Server system: Glowstone

Trying ScoreboardStats with glowstone, it fails with this extremely silly error message:

java.lang.IllegalStateException: Cannot parse version String '1.8-28-g73e8496-dev'
        at com.github.games647.scoreboardstats.Version.getVersionStringFromServer(Version.java:91)
        at com.github.games647.scoreboardstats.Version.getMinecraftVersionString(Version.java:81)
        at com.github.games647.scoreboardstats.ScoreboardStats.checkScoreboardCompatibility(ScoreboardStats.java:171)
        at com.github.games647.scoreboardstats.ScoreboardStats.onLoad(ScoreboardStats.java:119)
        at net.glowstone.GlowServer.loadPlugins(GlowServer.java:480)
        at net.glowstone.GlowServer.start(GlowServer.java:339)
        at net.glowstone.GlowServer.main(GlowServer.java:87)

Add support for Vault & Bukkit Metadata.

By adding support for Vault, and Bukkit metadata values, you will allow the display of anything that works with that protocol.

That way, if a server admin wants x variable added from y plugin, they could get the plugin to open it up via either the bukkit or vault API's.

I've recently done some work for MChat using vault, if you need a hand.

Big error!

I need help with this error if you can please help!

18.05 19:47:15 [Server] INFO at net.minecraft.server.v1_7_R2.ThreadServerApplication.run(SourceFile:618) [craftbukkit-1.7.5-R0.1-20140408.020329-16.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] 18.05 19:47:15 [Server] INFO at net.minecraft.server.v1_7_R2.MinecraftServer.run(MinecraftServer.java:426) [craftbukkit-1.7.5-R0.1-20140408.020329-16.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] 18.05 19:47:15 [Server] INFO at net.minecraft.server.v1_7_R2.DedicatedServer.init(DedicatedServer.java:175) [craftbukkit-1.7.5-R0.1-20140408.020329-16.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] 18.05 19:47:15 [Server] INFO at net.minecraft.server.v1_7_R2.MinecraftServer.a(MinecraftServer.java:275) [craftbukkit-1.7.5-R0.1-20140408.020329-16.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] 18.05 19:47:15 [Server] INFO at net.minecraft.server.v1_7_R2.MinecraftServer.g(MinecraftServer.java:319) [craftbukkit-1.7.5-R0.1-20140408.020329-16.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] 18.05 19:47:15 [Server] INFO at net.minecraft.server.v1_7_R2.MinecraftServer.n(MinecraftServer.java:344) [craftbukkit-1.7.5-R0.1-20140408.020329-16.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] 18.05 19:47:15 [Server] INFO at org.bukkit.craftbukkit.v1_7_R2.CraftServer.enablePlugins(CraftServer.java:375) [craftbukkit-1.7.5-R0.1-20140408.020329-16.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] 18.05 19:47:15 [Server] INFO at org.bukkit.craftbukkit.v1_7_R2.CraftServer.loadPlugin(CraftServer.java:441) [craftbukkit-1.7.5-R0.1-20140408.020329-16.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] 18.05 19:47:15 [Server] INFO at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [craftbukkit-1.7.5-R0.1-20140408.020329-16.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] 18.05 19:47:15 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:324) [craftbukkit-1.7.5-R0.1-20140408.020329-16.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] 18.05 19:47:15 [Server] INFO at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:250) [craftbukkit-1.7.5-R0.1-20140408.020329-16.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] 18.05 19:47:15 [Server] INFO at com.github.games647.scoreboardstats.ScoreboardStats.onEnable(ScoreboardStats.java:90) [ScoreboardStats.jar:0.7.5] 18.05 19:47:15 [Server] INFO at com.github.games647.scoreboardstats.pvpstats.Database.setupDatabase(Database.java:153) [ScoreboardStats.jar:0.7.5] 18.05 19:47:15 [Server] INFO at com.avaje.ebean.EbeanServerFactory.create(EbeanServerFactory.java:78) [craftbukkit-1.7.5-R0.1-20140408.020329-16.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] 18.05 19:47:15 [Server] INFO at com.avaje.ebeaninternal.server.core.DefaultServerFactory.createServer(DefaultServerFactory.java:64) [craftbukkit-1.7.5-R0.1-20140408.020329-16.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] 18.05 19:47:15 [Server] INFO at com.avaje.ebeaninternal.server.core.DefaultServerFactory.createServer(DefaultServerFactory.java:209) [craftbukkit-1.7.5-R0.1-20140408.020329-16.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] 18.05 19:47:15 [Server] INFO at com.avaje.ebeaninternal.server.core.InternalConfiguration.(InternalConfiguration.java:137) [craftbukkit-1.7.5-R0.1-20140408.020329-16.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] 18.05 19:47:15 [Server] INFO at com.avaje.ebeaninternal.server.type.DefaultTypeManager.(DefaultTypeManager.java:165) [craftbukkit-1.7.5-R0.1-20140408.020329-16.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] 18.05 19:47:15 [Server] INFO at com.avaje.ebeaninternal.server.type.DefaultTypeManager.initialiseJodaTypes(DefaultTypeManager.java:633) [craftbukkit-1.7.5-R0.1-20140408.020329-16.jar:git-Bukkit-1.7.2-R0.3-14-g8f8716c-b3042jnks] 18.05 19:47:15 [Server] INFO java.lang.NoClassDefFoundError: org/joda/time/LocalDateTime 18.05 19:47:15 [Server] INFO [19:47:15 ERROR]: Error occurred while enabling ScoreboardStats v0.7.5 (Is it up to date?) 18.05 19:47:15 [Server] INFO [19:47:15 INFO]: Registering Joda data types 18.05 19:47:15 [Server] INFO [19:47:15 INFO]: SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader] 18.05 19:47:14 [Server] INFO [19:47:14 INFO]: DatabasePlatform name:ScoreboardStats platform:sqlite 18.05 19:47:14 [Server] INFO [19:47:14 INFO]: DataSourcePool [ScoreboardStats] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20] 18.05 19:47:14 [Server] INFO [19:47:14 INFO]: [ScoreboardStats] The variables has to contains % at the beginning and one % on the end 18.05 19:47:14 [Server] INFO [19:47:14 INFO]: [ScoreboardStats] The variables has to contains % at the beginning and one % on the end 18.05 19:47:14 [Server] INFO [19:47:14 INFO]: [ScoreboardStats] The variables has to contains % at the beginning and one % on the end 18.05 19:47:14 [Server] INFO [19:47:14 INFO]: [ScoreboardStats] The variables has to contains % at the beginning and one % on the end 18.05 19:47:14 [Server] INFO [19:47:14 INFO]: [ScoreboardStats] Enabling ScoreboardStats v0.7.5

Crash on startup

I have a Cauldron 1.7.10 server, with ScoreBoardStats 0.8.2 installed.
When I start my server, I have this error :

18:30:53 java.lang.IllegalStateException: The Server isn't running on the file system, How?
18:30:53 at com.github.games647.scoreboardstats.pvpstats.DatabaseConfiguration.getServerJarLocation(DatabaseConfiguration.java:65) ~[?:?]
18:30:53 at com.github.games647.scoreboardstats.pvpstats.DatabaseConfiguration.loadConfiguration(DatabaseConfiguration.java:98) ~[?:?]
18:30:53 at com.github.games647.scoreboardstats.pvpstats.Database.setupDatabase(Database.java:151) ~[?:?]
18:30:53 at com.github.games647.scoreboardstats.ScoreboardStats.onEnable(ScoreboardStats.java:81) ~[?:?]
18:30:53 at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:316) ~[JavaPlugin.class:git-Cauldron-MCPC-Plus-1.7.10-1.1207.01.198]
18:30:53 at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:368) [JavaPluginLoader.class:git-Cauldron-MCPC-Plus-1.7.10-1.1207.01.198]
18:30:53 at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:410) [SimplePluginManager.class:git-Cauldron-MCPC-Plus-1.7.10-1.1207.01.198]
18:30:53 at org.bukkit.craftbukkit.v1_7_R4.CraftServer.loadPlugin(CraftServer.java:415) [CraftServer.class:git-Cauldron-MCPC-Plus-1.7.10-1.1207.01.198]
18:30:53 at org.bukkit.craftbukkit.v1_7_R4.CraftServer.enablePlugins(CraftServer.java:349) [CraftServer.class:git-Cauldron-MCPC-Plus-1.7.10-1.1207.01.198]
18:30:53 at net.minecraft.server.MinecraftServer.func_71243_i(MinecraftServer.java:500) [MinecraftServer.class:?]
18:30:53 at net.minecraft.server.MinecraftServer.func_71222_d(MinecraftServer.java:474) [MinecraftServer.class:?]
18:30:53 at net.minecraft.server.MinecraftServer.func_71247_a(MinecraftServer.java:434) [MinecraftServer.class:?]
18:30:53 at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:329) [lt.class:?]
18:30:53 at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:620) [MinecraftServer.class:?]
18:30:53 at java.lang.Thread.run(Thread.java:745) [?:1.8.0_05]

My server is located here : C:\Minecraft\Serveurs\Serveur_Cauldron_1.7.10-1.1207.01.198\

http://pastebin.com/tgdHxcED

Mysql Error

I've been having trouble getting the plugin to work correctly after upgrading. It used to work fine until I upgraded. This is the error I keep getting http://pastebin.com/yqYt0AXK

All the mysql details are correct as I checked to see if the table is there and it is.

Any help on this would be greatly appreciated. Thanks.

it carrys over

okay so this is a awesome plugin and i love it but here is my problem. I am using multiverse and i only want the stats to show up in kitpvp. i also have a hub and surival. i have per world plugins and i have it set to only work on kit also throught the config itself its to be disabled in all words but kit. when u log in its fine and its not there if u go to survival its not there. the problem is if u go into kit it shows up like its supposed to but if you /hub it stays there, if u go to any other world after the one its enabled in it wont go away. i need it to go away after i leave kit! idk if u can fix that or if there is a way but please help!

Players & dates

Hello games647,

First of all, I want to congratulate your for this great plugin.
I am experiencing some problems.

%first_day% and %first_month% do not work for me.
I want to set (%online%/%max_players%) But it wont allow me. (Errors)
%date% only displays the first day of the date.
%lifetime% does not reset after you die.

Regards,
Daniel

Mcmmo Power Level Tag and Health Bars

After installing ScoreboardStats, mcmmo's power level tag below user's name/above the skin vanish in a few seconds after connecting and never appears again. Same thing happens with HealthBar for players

" mcmmo config Power_Level_Tags: true"

Any solution to this?

Error loading the Server

[13:36:02 ERROR]: Error occurred while enabling ScoreboardStats v0.8.5 (Is it up
to date?)
java.lang.IllegalArgumentException: Cannot set to an empty path
at org.apache.commons.lang.Validate.notEmpty(Validate.java:321) ~[spigot
-1.8_V2.0.jar:git-Spigot-ed3e3af-ee6d0fa]
at org.bukkit.configuration.MemorySection.set(MemorySection.java:163) ~[
spigot-1.8_V2.0.jar:git-Spigot-ed3e3af-ee6d0fa]
at org.bukkit.configuration.MemorySection.set(MemorySection.java:193) ~[
spigot-1.8_V2.0.jar:git-Spigot-ed3e3af-ee6d0fa]
at org.bukkit.configuration.file.YamlConfiguration.convertMapsToSections
(YamlConfiguration.java:80) ~[spigot-1.8_V2.0.jar:git-Spigot-ed3e3af-ee6d0fa]
at org.bukkit.configuration.file.YamlConfiguration.convertMapsToSections
(YamlConfiguration.java:78) ~[spigot-1.8_V2.0.jar:git-Spigot-ed3e3af-ee6d0fa]
at org.bukkit.configuration.file.YamlConfiguration.convertMapsToSections
(YamlConfiguration.java:78) ~[spigot-1.8_V2.0.jar:git-Spigot-ed3e3af-ee6d0fa]
at org.bukkit.configuration.file.YamlConfiguration.loadFromString(YamlCo
nfiguration.java:68) ~[spigot-1.8_V2.0.jar:git-Spigot-ed3e3af-ee6d0fa]
at com.github.games647.scoreboardstats.Settings.getConfigFromDisk(Settin
gs.java:263) ~[?:?]
at com.github.games647.scoreboardstats.Settings.loadConfig(Settings.java
:199) ~[?:?]
at com.github.games647.scoreboardstats.ScoreboardStats.onEnable(Scoreboa
rdStats.java:92) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[s
pigot-1.8_V2.0.jar:git-Spigot-ed3e3af-ee6d0fa]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
.java:335) [spigot-1.8_V2.0.jar:git-Spigot-ed3e3af-ee6d0fa]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
r.java:405) [spigot-1.8_V2.0.jar:git-Spigot-ed3e3af-ee6d0fa]
at org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugin(CraftServer.jav
a:356) [spigot-1.8_V2.0.jar:git-Spigot-ed3e3af-ee6d0fa]
at org.bukkit.craftbukkit.v1_8_R1.CraftServer.enablePlugins(CraftServer.
java:316) [spigot-1.8_V2.0.jar:git-Spigot-ed3e3af-ee6d0fa]
at net.minecraft.server.v1_8_R1.MinecraftServer.q(MinecraftServer.java:4
02) [spigot-1.8_V2.0.jar:git-Spigot-ed3e3af-ee6d0fa]
at net.minecraft.server.v1_8_R1.MinecraftServer.k(MinecraftServer.java:3
70) [spigot-1.8_V2.0.jar:git-Spigot-ed3e3af-ee6d0fa]
at net.minecraft.server.v1_8_R1.MinecraftServer.a(MinecraftServer.java:3
25) [spigot-1.8_V2.0.jar:git-Spigot-ed3e3af-ee6d0fa]
at net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.jav
a:211) [spigot-1.8_V2.0.jar:git-Spigot-ed3e3af-ee6d0fa]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java
:505) [spigot-1.8_V2.0.jar:git-Spigot-ed3e3af-ee6d0fa]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_31]

Variable Error Spigot 1.8.7

This plugin was working perfectly until I used the %money% variable.
I have Vault and Essentials Economy 1.8.

Scoreboard:
  Title: '&1&lQuick Stats'
  # seconds
  # For instant updates you can or 1 and it will update every second
  Update-delay: 0
  Items:
    # The Title must have under 48 characters
    # Title: Type
    '&9Online players: ' : '%online%'
    '&9You have ': '$%money%'

The console tells me 'the variable '§9You have' has to contains a % at the beginning and one at the end.'

0.8.3 Creates new database table

Hello, 0.8.3 creates a new database table called: player_data, it does not copy any data from PlayerData that was originally there (Note I updated from a version you PM'ed me with to try the compatibility mode.

Update?

Any plans to add more custom variables for other plugins? I know there is a long list of requests and I want to know if any of them will be added.

Thanks

Add on off toggle

Please add an on off command toggle for the /ss command. I use duties and some other scripts and would like to activate the "scoreboard" when entering a certain mode by automatically running a command like "/ss on". Having /ss only toggle on off causes issues if someone manually turns it off before switching modes, as it will then turn itself back on.

an error report

2013-07-16 08:39:14 [SEVERE] [ScoreboardStats] �[31mYour craftbukkit version isn't compatible with the plugin version. Please contact the developer with the following error�[39m
java.lang.ClassNotFoundException: net.minecraft.server.v1_5_R3.EntityPlayer
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:340)
at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:332)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:190)
at com.github.games647.scoreboardstats.scoreboard.ReflectionUtil.initReflections(ReflectionUtil.java:104)
at com.github.games647.scoreboardstats.ScoreboardStats.onLoad(ScoreboardStats.java:106)
at org.bukkit.craftbukkit.v1_5_R3.CraftServer.loadPlugins(CraftServer.java:270)
at org.bukkit.craftbukkit.v1_5_R3.CraftServer.(CraftServer.java:243)
at net.minecraft.server.management.ServerConfigurationManager.(ServerConfigurationManager.java:128)
at net.minecraft.server.dedicated.DedicatedPlayerList.(SourceFile:11)
at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(DedicatedServer.java:158)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:574)
at net.minecraft.server.ThreadMinecraftServer.run(SourceFile:573)

Error with SQL

11:33:03 [INFO] DataSourcePool [ScoreboardStats] grow; id[ScoreboardStats.9] busy[10] max[250]
11:33:03 [INFO] Can not test connection as heartbeatsql is not set
11:33:03 [INFO] Closing Connection[ScoreboardStats.9] psReuse[0] psCreate[1] psSize[0]
11:33:03 [INFO] DataSourcePool [ScoreboardStats] grow; id[ScoreboardStats.10] busy[11] max[250]
11:33:03 [SEVERE] Exception in thread "pool-1-thread-56"
11:33:03 [SEVERE] org.apache.commons.lang.UnhandledException: Plugin ScoreboardStats v0.5.9 generated an exception while executing task 15627
at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:724)
Caused by: javax.persistence.PersistenceException: Query threw SQLException:[SQLITE_ERROR] SQL error or missing database (no such table: PlayerStats)
Bind values:[null]
Query was:
select t0.playername c0, t0.kills c1, t0.deaths c2, t0.mobkills c3, t0.killstreak c4
from PlayerStats t0
where t0.playername = ?

at com.avaje.ebeaninternal.server.query.CQuery.createPersistenceException(CQuery.java:849)
at com.avaje.ebeaninternal.server.query.CQuery.createPersistenceException(CQuery.java:829)
at com.avaje.ebeaninternal.server.query.CQueryEngine.findMany(CQueryEngine.java:238)
at com.avaje.ebeaninternal.server.query.DefaultOrmQueryEngine.findMany(DefaultOrmQueryEngine.java:104)
at com.avaje.ebeaninternal.server.core.OrmQueryRequest.findList(OrmQueryRequest.java:344)
at com.avaje.ebeaninternal.server.core.DefaultServer.findList(DefaultServer.java:1469)
at com.avaje.ebeaninternal.server.core.DefaultServer.findUnique(DefaultServer.java:1236)
at com.avaje.ebeaninternal.server.querydefn.DefaultOrmQuery.findUnique(DefaultOrmQuery.java:924)
at com.avaje.ebeaninternal.util.DefaultExpressionList.findUnique(DefaultExpressionList.java:217)
at com.github.games647.scoreboardstats.pvpstats.Database.saveAccount(Database.java:68)
at com.github.games647.scoreboardstats.pvpstats.AppearTask.run(AppearTask.java:18)
at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftTask.run(CraftTask.java:53)
at org.bukkit.craftbukkit.v1_6_R2.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
... 3 more
Caused by: java.sql.SQLException: [SQLITE_ERROR] SQL error or missing database (no such table: PlayerStats)
at org.sqlite.DB.newSQLException(DB.java:383)
at org.sqlite.DB.newSQLException(DB.java:387)
at org.sqlite.DB.throwex(DB.java:374)
at org.sqlite.NativeDB.prepare(Native Method)
at org.sqlite.DB.prepare(DB.java:123)
at org.sqlite.PrepStmt.(PrepStmt.java:42)
at org.sqlite.Conn.prepareStatement(Conn.java:404)
at org.sqlite.Conn.prepareStatement(Conn.java:399)
at org.sqlite.Conn.prepareStatement(Conn.java:383)
at com.avaje.ebeaninternal.server.lib.sql.PooledConnection.prepareStatement(PooledConnection.java:426)
at com.avaje.ebeaninternal.server.lib.sql.PooledConnection.prepareStatement(PooledConnection.java:396)
at com.avaje.ebeaninternal.server.query.CQuery.prepareBindExecuteQuery(CQuery.java:399)
at com.avaje.ebeaninternal.server.query.CQueryEngine.findMany(CQueryEngine.java:198)
... 13 more

I just clone and build with maven and got errors.

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:01 min
[INFO] Finished at: 2015-04-23T10:46:32-04:00
[INFO] Final Memory: 10M/151M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project scoreboardstats: Could not resolve dep
endencies for project com.github.games647:scoreboardstats:jar:0.8.4: The followi
ng artifacts could not be resolved: net.milkbowl.vault:VaultAPI:jar:1.5, com.her
ocraftonline.heroes:Heroes:jar:1.5.5: Could not find artifact net.milkbowl.vault
:VaultAPI🫙1.5 in comphenix-repo (http://repo.comphenix.net/content/groups/pu
blic) -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyReso
lutionException

Stats not being saved

Hi, I have a issue on 2 servers using ScoreboardStats v0.7, the PVP Stats (kills, deaths, kdr) are not being saved, they are coming back to old value, without errors.

Sorry my bad english.

Massive Faction - Log Spam

Plugins:

ScorebordStats for 1.8

FactionsUUID


Massive Spam in the console. It starts only when a player is online.


[15:22:54] [Server thread/WARN]: [ScoreboardStats] Task #39 for ScoreboardStats v0.8.4 generated an exception
java.lang.NoSuchFieldError: i
at com.github.games647.scoreboardstats.variables.FactionsVariables.getOldFactionScore(FactionsVariables.java:72) ~[?:?]
at com.github.games647.scoreboardstats.variables.FactionsVariables.getScoreValue(FactionsVariables.java:41) ~[?:?]
at com.github.games647.scoreboardstats.variables.ReplaceManager.getScore(ReplaceManager.java:111) ~[?:?]
at com.github.games647.scoreboardstats.protocol.PacketSbManager.sendUpdate(PacketSbManager.java:69) ~[?:?]
at com.github.games647.scoreboardstats.protocol.PacketSbManager.createScoreboard(PacketSbManager.java:105) ~[?:?]
at com.github.games647.scoreboardstats.protocol.PacketSbManager.sendUpdate(PacketSbManager.java:58) ~[?:?]
at com.github.games647.scoreboardstats.RefreshTask.run(RefreshTask.java:51) ~[?:?]
at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftTask.run(CraftTask.java:71) ~[spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-9a88a38-e2c4f20]
at org.bukkit.craftbukkit.v1_8_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:350) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-9a88a38-e2c4f20]
at net.minecraft.server.v1_8_R1.MinecraftServer.z(MinecraftServer.java:694) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-9a88a38-e2c4f20]
at net.minecraft.server.v1_8_R1.DedicatedServer.z(DedicatedServer.java:316) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-9a88a38-e2c4f20]
at net.minecraft.server.v1_8_R1.MinecraftServer.y(MinecraftServer.java:623) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-9a88a38-e2c4f20]
at net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:526) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-9a88a38-e2c4f20]
at java.lang.Thread.run(Unknown Source) [?:1.8.0_25]

It Keeps flashing

What happens in that every time i get ScoreBoardStats, it keeps flashing, i have a new download and still is flashing. its really annoying and i dont know how to fix it.
Thx for your time

Disable sorting

Please add toggle option to disable sorting in scoreboard. Right now it sorts from largest to lowest.

Scoreboard Updater could not contact dev.bukkit.org

The players on my server can not see there stats on the server but the top 5 are still loading! here is what I get in the console!

[22:30:57] [Server thread/INFO]: [ScoreboardStats] Enabling ScoreboardStats v0.8.5
[22:30:57] [Server thread/INFO]: Using [com.github.games647.scoreboardstats.pvpstats.PathReader] to read the searchable class path
[22:30:57] [Server thread/INFO]: DataSourcePool [ScoreboardStats] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
[22:30:57] [Server thread/INFO]: DatabasePlatform name:ScoreboardStats platform:mysql
[22:30:57] [Server thread/INFO]: SubClassFactory parent ClassLoader [com.github.games647.scoreboardstats.ReloadFixLoader]
[22:30:57] [Server thread/INFO]: Entities enhanced[0] subclassed[1]
[22:30:58] [Server thread/INFO]: runScript
[22:30:58] [Server thread/INFO]: executing 1 of 1 create table IF NOT EXISTS player_stats ( id integer auto...
[22:30:58] [Server thread/INFO]: ... end of script
[22:30:58] [Server thread/INFO]: [ScoreboardStats] Registered replacers: [VaultVariables, PlayerPingVariable, GeneralVariables, StatsVariables]
[22:30:58] [Server thread/INFO]: [FuelBomb] Enabling FuelBomb v2.5
[22:30:58] [Server thread/INFO]: [Fuelbomb] A new version is available: 2.6
[22:30:58] [Server thread/INFO]: [Fuelbomb] Get it from: http://dev.bukkit.org/bukkit-plugins/fuel-bomb/files/20-fuelbomb-v2-6/
[22:30:58] [Server thread/INFO]: [Fuelbomb] has been enabled | Plugin by Premx
[22:30:58] [Server thread/INFO]: [Fuelbomb] you use mode 1 !
[22:30:58] [Server thread/INFO]: [TheRiftDisguise] Enabling TheRiftDisguise v1.1
[22:30:58] [Server thread/INFO]: <<[ TheRiftDisguise ]>> [ Version ]=[ 1.1 ] [ Successfully Loaded! ]
[22:30:58] [Server thread/INFO]: [EssentialsChat] Enabling EssentialsChat vDev2.14.98
[22:30:58] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[22:30:58] [Server thread/INFO]: Done (8.245s)! For help, type "help" or "?"
[22:30:58] [Server thread/INFO]: [Buycraft] Authenticated with the specified Secret key.
[22:30:58] [Server thread/INFO]: [Buycraft] Plugin is now ready to be used.
[22:30:58] [Craft Scheduler Thread - 14/INFO]: [Vault] Checking for Updates ...
[22:30:58] [User Authenticator #1/INFO]: UUID of player HDGLiFE_Zach is bcb3c749-f55f-4c15-a674-5cab2b210abf
[22:30:58] [pool-8-thread-2/INFO]: [Buycraft] Loaded 11 package(s) into the cache.
[22:30:58] [Craft Scheduler Thread - 14/WARN]: [Vault] Stable Version: 1.5.3 is out! You are still running version: 1.5.2
[22:30:58] [Craft Scheduler Thread - 14/WARN]: [Vault] Update at: http://dev.bukkit.org/server-mods/vault
[22:30:59] [Server thread/INFO]: HDGLiFE_Zach[/96.227.184.20:41856] logged in with entity id 52 at ([kits] 382.1676583126343, 62.0, 611.2013913958791)
[22:31:03] [Server thread/INFO]: [Lvl 0] [Owner] HDGLiFE_Zach > a
[22:31:07] [Thread-20/ERROR]: [ScoreboardStats] The updater could not contact dev.bukkit.org for updating.
[22:31:07] [Thread-20/ERROR]: [ScoreboardStats] The site may be experiencing temporary downtime.
[22:31:07] [Thread-20/ERROR]: [ScoreboardStats] null
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method) ~[?:1.7.0_75]
at java.net.SocketInputStream.read(SocketInputStream.java:152) ~[?:1.7.0_75]
at java.net.SocketInputStream.read(SocketInputStream.java:122) ~[?:1.7.0_75]
at sun.security.ssl.InputRecord.readFully(InputRecord.java:442) ~[?:1.7.0_75]
at sun.security.ssl.InputRecord.read(InputRecord.java:480) ~[?:1.7.0_75]
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:934) ~[?:1.7.0_75]
at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:891) ~[?:1.7.0_75]
at sun.security.ssl.AppInputStream.read(AppInputStream.java:102) ~[?:1.7.0_75]
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) ~[?:1.7.0_75]
at java.io.BufferedInputStream.read1(BufferedInputStream.java:275) ~[?:1.7.0_75]
at java.io.BufferedInputStream.read(BufferedInputStream.java:334) ~[?:1.7.0_75]
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687) ~[?:1.7.0_75]
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633) ~[?:1.7.0_75]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1324) ~[?:1.7.0_75]
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254) ~[?:1.7.0_75]
at com.github.games647.scoreboardstats.Updater.read(Updater.java:339) [ScoreboardStats.jar:0.8.5]
at com.github.games647.scoreboardstats.Updater.runUpdater(Updater.java:383) [ScoreboardStats.jar:0.8.5]
at com.github.games647.scoreboardstats.Updater.access$100(Updater.java:30) [ScoreboardStats.jar:0.8.5]
at com.github.games647.scoreboardstats.Updater$UpdateRunnable.run(Updater.java:378) [ScoreboardStats.jar:0.8.5]
at java.lang.Thread.run(Thread.java:745) [?:1.7.0_75]

Different worlds

In the configuration it gives you an option to disable the scoreboard in different worlds, I go to the world its not disabled in it works, then when I go to a world its supposed to be disabled its still there (and still working ).

Money

On my new download for ScoreBoardStats the default sections it gives you is Online and Money. But for come reason the Money section don't work. I tryed to make it again but still the Money sec was not there.

Config:

Main configuration

enable-pvpstats: true

disabled-worlds:

  • world_nether
  • city

This will not count vanished players in the online value

hide-vanished: false

Scoreboard:
Title: '&9&lGameStats'
#seconds

For instant updates you can or 1 and it will update every second

Update-delay: 1
Items:
#The Title must have under 16 characters
#Title: Type
'&bOnline': '%online%'
'&bKills': '%kills%'

Temp-Scoreboard-enabled: false

Temp-Scoreboard:
Title: '&a&lTop Kills'
#%mob% | %kills% | %killstreak%
Type: '%kills%'
Color: '&9'
#How many Players would be displayed
Items: 5
Intervall-show: 300
Intervall-disappear: 300

API to create new scoreboards

I'm a developer, and i'm trying to show my custom sidebar when someone is in the game, but i wanna restore the original scoreboard when he left the game. Actually i had the custom sidebar (scoreboard) but i can restore the original (with compatibility mode)
I tried in so many ways and nothing works.

This is what i have when a player left the game

        scoreboardStats.getRefreshTask().remove(player);
        sbmanager.unregister(player);
        sbmanager.createScoreboard(player);
        scoreboardStats.getRefreshTask().addToQueue(player);

could not compile

Failed to execute goal on project scoreboardstats: Could not resolve dependencies for project com.github.games647:scoreboardstats:jar:0.9.2: Failed to collect dependencies for [org.bukkit:bukkit:jar:1.7.9-R0.2 (provided), com.comphenix.protocol:ProtocolLib:jar:3.6.2-SNAPSHOT (compile?), net.milkbowl.vault:VaultAPI:jar:1.5 (compile?), net.sacredlabyrinth.phaed.simpleclans:SimpleClans:jar:2.5.3 (compile?), org.black_ixx:PlayerPoints:jar:2.1.3 (compile), com.herocraftonline.heroes:Heroes:jar:1.5.5.4-SNAPSHOT (compile?), com.gmail.nossr50.mcMMO:mcMMO:jar:1.5.01-SNAPSHOT (compile?), de.blablubbabc:insigns:jar:2.0 (system?), me.sirfaizdat.prison:Prison:jar:2.1.1 (system?), uSkyBlock:uSkyBlock:jar:2.1.0-SNAPSHOT (system?), com.massivecraft:Factions:jar:1.6.9.5-U0.1.15-SNAPSHOT (system?), com.massivecraft:factions-2.7:jar:2.7.1 (system?), com.massivecraft:mcore:jar:2.7.1 (system?), org.powermock:powermock-module-junit4:jar:1.6.2 (test), org.powermock:powermock-api-mockito:jar:1.6.2 (test)]: Failed to read artifact descriptor for com.herocraftonline.heroes:Heroes:jar:1.5.5.4-SNAPSHOT: Could not transfer artifact com.herocraftonline.heroes:Heroes:pom:1.5.5.4-SNAPSHOT from/to simpleclans-repo (http://repo.sacredlabyrinth.net/artifactory/plugins-release-local): Failed to transfer file: http://repo.sacredlabyrinth.net/artifactory/plugins-release-local/com/herocraftonline/heroes/Heroes/1.5.5.4-SNAPSHOT/Heroes-1.5.5.4-SNAPSHOT.pom. Return code is: 409 , ReasonPhrase:Conflict. -> [Help 1]

.

.

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.