mam problem z PlaytimeV2 daj som si aj permisie a vzdy ked napisem /playtime tam mi napise An internal error occurred whule attempting to perform this command prosim hodte mi config ako to ma byt

Kód: Vybrat vše
The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
> 18:30:13 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 18:30:13 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> 18:30:13 [SEVERE] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> 18:30:13 [SEVERE] at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
> 18:30:13 [SEVERE] at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
> 18:30:13 [SEVERE] at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)
> 18:30:13 [SEVERE] at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:343)
> 18:30:13 [SEVERE] at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2334)
> 18:30:13 [SEVERE] at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2371)
> 18:30:13 [SEVERE] at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163)
> 18:30:13 [SEVERE] at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
> 18:30:13 [SEVERE] at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
> 18:30:13 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 18:30:13 [SEVERE] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> 18:30:13 [SEVERE] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> 18:30:13 [SEVERE] at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
> 18:30:13 [SEVERE] at com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
> 18:30:13 [SEVERE] at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378)
> 18:30:13 [SEVERE] at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
> 18:30:13 [SEVERE] at java.sql.DriverManager.getConnection(DriverManager.java:579)
> 18:30:13 [SEVERE] at java.sql.DriverManager.getConnection(DriverManager.java:221)
> 18:30:13 [SEVERE] at com.zimko.PlayTimeV2.PlayTimeV2.connect(PlayTimeV2.java:133)
> 18:30:13 [SEVERE] at com.zimko.PlayTimeV2.PlayTimeV2.TimeOfPlay(PlayTimeV2.java:295)
> 18:30:13 [SEVERE] at com.zimko.PlayTimeV2.PlayTimeV2.onCommand(PlayTimeV2.java:235)
> 18:30:13 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
> 18:30:13 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186)
> 18:30:13 [SEVERE] at org.bukkit.craftbukkit.v1_4_6.CraftServer.dispatchCommand(CraftServer.java:514)
> 18:30:13 [SEVERE] at net.minecraft.server.v1_4_6.PlayerConnection.handleCommand(PlayerConnection.java:979)
> 18:30:13 [SEVERE] at net.minecraft.server.v1_4_6.PlayerConnection.chat(PlayerConnection.java:897)
> 18:30:13 [SEVERE] at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java:852)
> 18:30:13 [SEVERE] at net.minecraft.server.v1_4_6.Packet3Chat.handle(Packet3Chat.java:44)
> 18:30:13 [SEVERE] at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:290)
> 18:30:13 [SEVERE] at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java:112)
> 18:30:13 [SEVERE] at net.minecraft.server.v1_4_6.ServerConnection.b(SourceFile:39)
> 18:30:13 [SEVERE] at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30)
> 18:30:13 [SEVERE] at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:598)
> 18:30:13 [SEVERE] at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224)
> 18:30:13 [SEVERE] at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494)
> 18:30:13 [SEVERE] at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427)
> 18:30:13 [SEVERE] at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849)
> 18:30:13 [SEVERE] Caused by: java.net.UnknownHostException: ipaddress or name: Name or service not known
> 18:30:13 [SEVERE] at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
> 18:30:13 [SEVERE] at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:866)
> 18:30:13 [SEVERE] at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1258)
> 18:30:13 [SEVERE] at java.net.InetAddress.getAllByName0(InetAddress.java:1211)
> 18:30:13 [SEVERE] at java.net.InetAddress.getAllByName(InetAddress.java:1127)
> 18:30:13 [SEVERE] at java.net.InetAddress.getAllByName(InetAddress.java:1063)
> 18:30:13 [SEVERE] at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:244)
> 18:30:13 [SEVERE] at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292)
> 18:30:13 [SEVERE] ... 33 more
> 18:30:13 [SEVERE] null
org.bukkit.command.CommandException: Unhandled exception executing command 'playtime' in plugin PlayTimeV2 v0.4
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46)
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:186)
at org.bukkit.craftbukkit.v1_4_6.CraftServer.dispatchCommand(CraftServer.java:514)
at net.minecraft.server.v1_4_6.PlayerConnection.handleCommand(PlayerConnection.java:979)
at net.minecraft.server.v1_4_6.PlayerConnection.chat(PlayerConnection.java:897)
at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java:852)
at net.minecraft.server.v1_4_6.Packet3Chat.handle(Packet3Chat.java:44)
at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:290)
at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java:112)
at net.minecraft.server.v1_4_6.ServerConnection.b(SourceFile:39)
at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:598)
at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224)
at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494)
at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849)
Caused by: java.lang.NullPointerException
at com.zimko.PlayTimeV2.PlayTimeV2.TimeOfPlay(PlayTimeV2.java:303)
at com.zimko.PlayTimeV2.PlayTimeV2.onCommand(PlayTimeV2.java:235)
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
... 15 more
Kód: Vybrat vše
AfkEnable: true
AfkTime: 300
TopTenMin: 5
TopTenMax: 30
ResetOnDeath: true
host: ipaddress or name
databasename: nameofdb
username: username
password: yourpassword
tables:
Playtime:
Name: playtimeV2
collums:
Username: username
Playtime: playtime
ErrorTopTen: '&cYou don''t use command correctly'
ErrorTopTenRange: '&cUse number between 5 and 30'
NoPerm: '&cYou don''allowed to do this.'
NoPermOther: '&cYou don''allowed see other player time.'
SeePersonnalTime: '&2%player%,&dYou ave play &2%time%.'
SeeOtherPlayer: '&2%player% &dave played &2%time%.'
TopTen: '&dTop %value% result:'
TopTenMsg: '&2%player% &dave played &2%time%.'
PlayerNotExist: '&cThis player doesn''t exist.'
ResetOnDeathMsg: '&dYour play time as been reset.'
LessOneMn: less than one minute
IsAfkTrue: '&cYou are now AFK,your time of game not any more counted.'
IsAfkFalse: '&2You don''t are afk, your time of game is counted.'
Kód: Vybrat vše
host: ServerMySQL (neco.fakaheda.eu - stejné jako server)
databasename: Jmeno databaze
username: Uzivatelske jmeno
password: Heslo do databaze
Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 37 hostů