Ahoj nedokázal by mi někdo pomoc z nastavením pluginu Statistic v konzoli mi to hlási tohle:
Kód: Vybrat vše
> 15:14:08 [INFO] [Statistics] Enabling Statistics v1.1
> 15:14:08 [INFO] [Statistics] +------ [ Fetching Patches ] ------+
> 15:14:08 [INFO] [Statistics] | Copying 1.yaspx.sql |
> 15:14:08 [INFO] [Statistics] | Copying 2.yaspx.sql |
> 15:14:08 [INFO] [Statistics] | Copying 3.yaspx.sql |
> 15:14:08 [INFO] [Statistics] | Copying 4.yaspx.sql |
> 15:14:08 [INFO] [Statistics] | Copying 5.yaspx.sql |
> 15:14:08 [INFO] [Statistics] | All patch files are up to date |
> 15:14:08 [INFO] [Statistics] +----------------------------------+
> 15:14:08 [INFO] [Statistics] +-------------- [ Statistics ] --------------+
> 15:14:08 [INFO] [Statistics] | The plugin 'Statistics' has caused an error.
> 15:14:08 [INFO] [Statistics] | Please, create a new ticket with this error at
> 15:14:08 [INFO] [Statistics] | http://dev.bukkit.org/bukkit-mods/Statistics/
> 15:14:08 [INFO] [Statistics] |
> 15:14:08 [INFO] [Statistics] | Bukkit : git-Bukkit-1.6.2-R1.0-b2879jnks (MC: 1.6.2)
> 15:14:08 [INFO] [Statistics] | Plugin : Statistics v1.1
> 15:14:08 [INFO] [Statistics] | Version : 1.1
> 15:14:08 [INFO] [Statistics] | Error : java.lang.ClassCastException
> 15:14:08 [INFO] [Statistics] | java.lang.Integer cannot be cast to java.lang.String
> 15:14:08 [INFO] [Statistics] +--------------------------------------------+
> 15:14:08 [INFO] [Statistics] | The stack trace of the error follows:
> 15:14:08 [INFO] [Statistics] |
> 15:14:08 [INFO] [Statistics] | java.lang.ClassCastException
> 15:14:08 [INFO] [Statistics] | at com.wolvencraft.yasp.settings.LocalConfiguration.toString(LocalConfiguration.java:109)
> 15:14:08 [INFO] [Statistics] | at com.wolvencraft.yasp.db.Database.<init>(Database.java:72)
> 15:14:08 [INFO] [Statistics] | at com.wolvencraft.yasp.Statistics.onEnable(Statistics.java:115)
> 15:14:08 [INFO] [Statistics] | at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
> 15:14:08 [INFO] [Statistics] | at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457)
> 15:14:08 [INFO] [Statistics] | at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
> 15:14:08 [INFO] [Statistics] | at org.bukkit.craftbukkit.v1_6_R2.CraftServer.loadPlugin(CraftServer.java:282)
> 15:14:08 [INFO] [Statistics] | at org.bukkit.craftbukkit.v1_6_R2.CraftServer.enablePlugins(CraftServer.java:264)
> 15:14:08 [INFO] [Statistics] | at net.minecraft.server.v1_6_R2.MinecraftServer.l(MinecraftServer.java:313)
> 15:14:08 [INFO] [Statistics] | at net.minecraft.server.v1_6_R2.MinecraftServer.f(MinecraftServer.java:290)
> 15:14:08 [INFO] [Statistics] | at net.minecraft.server.v1_6_R2.MinecraftServer.a(MinecraftServer.java:250)
> 15:14:08 [INFO] [Statistics] | at net.minecraft.server.v1_6_R2.DedicatedServer.init(DedicatedServer.java:151)
> 15:14:08 [INFO] [Statistics] | at net.minecraft.server.v1_6_R2.MinecraftServer.run(MinecraftServer.java:391)
> 15:14:08 [INFO] [Statistics] | at net.minecraft.server.v1_6_R2.ThreadServerApplication.run(SourceFile:582)
> 15:14:08 [INFO] [Statistics] | Multiple errors might have occurred, only
> 15:14:08 [INFO] [Statistics] | one stack trace is shown.
> 15:14:08 [INFO] [Statistics] +--------------------------------------------+
> 15:14:08 [SEVERE] [Statistics] Cannot establish a database connection!
> 15:14:08 [SEVERE] [Statistics] Is the plugin set up correctly?
a v configu mám tohle:
Kód: Vybrat vše
debug: false
log-prefix: Stats
database:
host: localhost
port: 3306
name: '132047_mysql_db'
prefix: stats_
user: 132047_mysql_db
pass: *CENSORED*
Neveděl by někdo co s tím je? MySQL údaje mám na 100% správně