Stránka 1 z 2

PlayerPoints

Napsal: 10 čer 2015, 18:48
od helomi
93.91.250.138:27055


Dobrý den, mám problem s pluginom Player Points snažím sa ho pripojit na MySQL databázu ale vyhadzuje mi to errory

Config:
Spoiler: zobrazit

Kód: Vybrat vše

storage: MySQL
mysql:
  host: padme.fakaheda.eu
  port: 3306
  database: d10121
  user: u10121
  password: ****
  import:
    use: true
    source: YAML
  export:
    use: false
    source: SQLITE
  retry: 10
vote:
  enabled: false
  amount: 100
  online: false
restrictions:
  autocompleteOnline: false
  hasPlayedBefore: false
debug:
  database: true
  uuid: false
vault: false
version: 2.1.3

Error:
Spoiler: zobrazit

Kód: Vybrat vše

 [18:24:46 INFO]: [PlayerPoints] Enabling PlayerPoints v2.1.3
 [18:24:46 INFO]: [PlayerPoints] Constructor
 [18:24:46 ERROR]: Error occurred while enabling PlayerPoints v2.1.3 (Is it up to date?)
 java.lang.NoClassDefFoundError: lib/PatPeter/SQLibrary/MySQL
    at org.black_ixx.playerpoints.storage.models.MySQLStorage.connect(MySQLStorage.java:268) ~[?:?]
    at org.black_ixx.playerpoints.storage.models.MySQLStorage.<init>(MySQLStorage.java:53) ~[?:?]
    at org.black_ixx.playerpoints.storage.StorageGenerator.createStorageHandlerForType(StorageGenerator.java:47) ~[?:?]
    at org.black_ixx.playerpoints.storage.StorageHandler.starting(StorageHandler.java:65) ~[?:?]
    at org.black_ixx.playerpoints.PlayerPoints.registerModule(PlayerPoints.java:139) ~[?:?]
    at org.black_ixx.playerpoints.PlayerPoints.onEnable(PlayerPoints.java:64) ~[?:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[craftbukkit.jar:git-Spigot-870264a-0a645a2]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:335) [craftbukkit.jar:git-Spigot-870264a-0a645a2]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [craftbukkit.jar:git-Spigot-870264a-0a645a2]
    at org.bukkit.craftbukkit.v1_8_R2.CraftServer.loadPlugin(CraftServer.java:356) [craftbukkit.jar:git-Spigot-870264a-0a645a2]
    at org.bukkit.craftbukkit.v1_8_R2.CraftServer.enablePlugins(CraftServer.java:316) [craftbukkit.jar:git-Spigot-870264a-0a645a2]
    at net.minecraft.server.v1_8_R2.MinecraftServer.r(MinecraftServer.java:416) [craftbukkit.jar:git-Spigot-870264a-0a645a2]
    at net.minecraft.server.v1_8_R2.MinecraftServer.k(MinecraftServer.java:382) [craftbukkit.jar:git-Spigot-870264a-0a645a2]
    at net.minecraft.server.v1_8_R2.MinecraftServer.a(MinecraftServer.java:337) [craftbukkit.jar:git-Spigot-870264a-0a645a2]
    at net.minecraft.server.v1_8_R2.DedicatedServer.init(DedicatedServer.java:257) [craftbukkit.jar:git-Spigot-870264a-0a645a2]
    at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java:522) [craftbukkit.jar:git-Spigot-870264a-0a645a2]
    at java.lang.Thread.run(Unknown Source) [?:1.7.0_71]
 Caused by: java.lang.ClassNotFoundException: lib.PatPeter.SQLibrary.MySQL
    at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.7.0_71]
    at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.7.0_71]
    at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_71]
    at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.7.0_71]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:101) ~[craftbukkit.jar:git-Spigot-870264a-0a645a2]
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:86) ~[craftbukkit.jar:git-Spigot-870264a-0a645a2]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_71]
    at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_71]
    ... 17 more

Re: PlayerPoints

Napsal: 10 čer 2015, 18:50
od MarekBurget
kamo od kedy ti je d10121, cela databaza?

tam maš mat nejako takto: d10121_mysql_db

Re: PlayerPoints

Napsal: 10 čer 2015, 18:54
od helomi
aj tak mi to píše chybu

Spoiler: zobrazit

Kód: Vybrat vše

storage: MySQL
mysql:
  host: padme.fakaheda.eu
  port: 3306
  database: 178848_mysql_db
  user: 178848_mysql_db
  password: ****
  import:
    use: true
    source: YAML
  export:
    use: false
    source: SQLITE
  retry: 10
vote:
  enabled: false
  amount: 100
  online: false
restrictions:
  autocompleteOnline: false
  hasPlayedBefore: false
debug:
  database: true
  uuid: false
vault: false
version: 2.1.3

Re: PlayerPoints

Napsal: 10 čer 2015, 18:57
od Hanakocz
To není špatným zadáním připojovacích věcí, to je tím, že tomu pluginu chybí knihovna, která zařizuje připojení k MySQL. Buď - to má mít server a máš nějakou špatnou/starou verzi, nebo ti chybí nějaká dependancy, nebo to hoď autorovi pluginu na hlavu, že mu to tam chybí....nebo máš v logu po startu nějakou chybu, něco se špatně pustilo a teď to tam chybí

Re: PlayerPoints

Napsal: 10 čer 2015, 19:03
od helomi
Je to najnovšia verzia a už mu to tam aj písali ale nevyvýja ho už :/

-- 10 čer 2015, 19:04 --

Na webu je doplnok SQLibrari môže to pomôcť?

Re: PlayerPoints

Napsal: 10 čer 2015, 19:06
od Hanakocz
No, tak je zbytečné tu o tom psát, když víš, že to je chyba pluginu, ne? Jediné řešení, pokud ho chceš používat, je si ho dekompilovat (případně sehnat zdrojáky) a opravit si to. Tu ti s tím fakt nikdo neporadí, když je to samo o sobě rozbitý.... ;)

Re: PlayerPoints

Napsal: 11 čer 2015, 12:02
od helomi
A nepoznáš nejaký pl ktory podporuje MySQL a je kompatibilný s Chest Commands (Shop)

Re: PlayerPoints

Napsal: 11 čer 2015, 12:19
od Hanakocz
Ne, já to nepoužívám. Pokud chci hráčům dát příkazy ve hře, tak na to mám toto: https://youtu.be/gdWak3-6pVM

Re: PlayerPoints

Napsal: 11 čer 2015, 12:28
od helomi
niečo takéto asi na 1.8 není či? :D

Re: PlayerPoints

Napsal: 11 čer 2015, 12:54
od Arcas