Stránka 1 z 1

PlayerPoints - Problem

Napsal: 27 črc 2016, 14:28
od frendlyS
Server: 82.208.17.29:27458

Zdravím, mám menší problém s pluginom PlayerPoints
Po napojení na MySQL databázu mi vyhadzuje tento error

Ak by mi niekto dokázal pomôcť, bol by som vďačný

Spoiler: zobrazit
[13:38:50] [Server thread/INFO]: [PlayerPoints] Enabling PlayerPoints v2.1.5-SNAPSHOT
[13:38:50] [Server thread/INFO]: [PlayerPoints] Importing YAML to MySQL
[13:38:50] [Server thread/INFO]: [PlayerPoints] Constructor
[13:38:50] [Server thread/INFO]: [PlayerPoints] Attempting MySQL connection to minecraft@localhost:3306/minecraft
[13:38:50] [Server thread/ERROR]: Error occurred while enabling PlayerPoints v2.1.5-SNAPSHOT (Is it up to date?)
java.lang.NullPointerException
at org.black_ixx.playerpoints.storage.imports.YAMLImport.doImport(YAMLImport.java:38) ~[?:?]
at org.black_ixx.playerpoints.storage.imports.Importer.importSQL(Importer.java:52) ~[?:?]
at org.black_ixx.playerpoints.storage.imports.Importer.checkImport(Importer.java:36) ~[?:?]
at org.black_ixx.playerpoints.PlayerPoints.onEnable(PlayerPoints.java:59) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:292) ~[server.jar:git-Spigot-a9631d2-67b2424]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:340) [server.jar:git-Spigot-a9631d2-67b2424]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [server.jar:git-Spigot-a9631d2-67b2424]
at org.bukkit.craftbukkit.v1_10_R1.CraftServer.loadPlugin(CraftServer.java:362) [server.jar:git-Spigot-a9631d2-67b2424]
at org.bukkit.craftbukkit.v1_10_R1.CraftServer.enablePlugins(CraftServer.java:322) [server.jar:git-Spigot-a9631d2-67b2424]
at net.minecraft.server.v1_10_R1.MinecraftServer.t(MinecraftServer.java:417) [server.jar:git-Spigot-a9631d2-67b2424]
at net.minecraft.server.v1_10_R1.MinecraftServer.l(MinecraftServer.java:382) [server.jar:git-Spigot-a9631d2-67b2424]
at net.minecraft.server.v1_10_R1.MinecraftServer.a(MinecraftServer.java:337) [server.jar:git-Spigot-a9631d2-67b2424]
at net.minecraft.server.v1_10_R1.DedicatedServer.init(DedicatedServer.java:270) [server.jar:git-Spigot-a9631d2-67b2424]
at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:540) [server.jar:git-Spigot-a9631d2-67b2424]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_91]

Re: PlayerPoints - Problem

Napsal: 27 črc 2016, 14:51
od Batllefury
A je to správně napojené?

Re: PlayerPoints - Problem

Napsal: 27 črc 2016, 16:07
od NEZNAMY
Batllefury píše:A je to správně napojené?


Attempting MySQL connection to minecraft@localhost:3306/minecraft


Nie je.

Re: PlayerPoints - Problem

Napsal: 27 črc 2016, 16:28
od frendlyS
Tak čo mám zle?

Spoiler: zobrazit
storage: MySQL
mysql:
host: localhost
port: 3306
database: minecraft
user: minecraft
password: ********
table: playerpoints
import:
use: true
source: YAML
export:
use: true
source: MySQL
retry: 10
vote:
enabled: false
amount: 100
online: false
restrictions:
autocompleteOnline: false
hasPlayedBefore: false
debug:
database: true
uuid: false
vault: false
version: 2.1.4

Re: PlayerPoints - Problem

Napsal: 27 črc 2016, 19:53
od NEZNAMY
do database a user daj to, čo ti prišlo na mail ako prihlasovací údaj, teda xxxxxx_mysql_db

Re: PlayerPoints - Problem

Napsal: 28 črc 2016, 00:23
od frendlyS
žiadna zmena, stále to nejde

Re: PlayerPoints - Problem

Napsal: 28 črc 2016, 09:47
od NEZNAMY
Ukáž ako máš nastavenú mysql v configu

Re: PlayerPoints - Problem

Napsal: 28 črc 2016, 17:22
od frendlyS
Spoiler: zobrazit
storage: MySQL
mysql:
host: sfdfd.cz
port: 3306
database: minecraft_mysql_db
user: minecraft_mysql_db
password: ******
table: playerpoints
import:
use: true
source: YAML
export:
use: true
source: MySQL
retry: 10
vote:
enabled: false
amount: 100
online: false
restrictions:
autocompleteOnline: false
hasPlayedBefore: false
debug:
database: true
uuid: false
vault: false
version: 2.1.5-SNAPSHOT

Re: PlayerPoints - Problem

Napsal: 28 črc 2016, 17:33
od NEZNAMY
NEZNAMY píše:do database a user daj to, čo ti prišlo na mail ako prihlasovací údaj, teda xxxxxx_mysql_db


pričom x sú čísla....

čo ti prišlo na mail ako prihlasovací údaj