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
PlaytimeV2
-
hnev55
- Příspěvky: 452
- Registrován: 03 pro 2012, 21:48
- Reputation: 0
PlaytimeV2
93.91.250.134:37342
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
dakujem
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
- nejento
- Příspěvky: 9815
- Registrován: 28 lis 2011, 14:09
- Reputation: 55
- Kontaktovat uživatele:
Re: PlaytimeV2
To není problém s permissiony. To musí být problém někde s pluginem. Když použiješ příkaz, vygeneruje to chybu. Tu chybu sem zkopíruj.
Přidejte se ke komunitě zákazníků na FakaHeda.eu Discord! Poznejte nové lidi nebo vyřešte svůj technický problém živě: https://discord.fakaheda.eu/-
hnev55
- Příspěvky: 452
- Registrován: 03 pro 2012, 21:48
- Reputation: 0
Re: PlaytimeV2
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- nejento
- Příspěvky: 9815
- Registrován: 28 lis 2011, 14:09
- Reputation: 55
- Kontaktovat uživatele:
Re: PlaytimeV2
Dej sem config toho Playtimu do Code. Jestli jsi nastavoval MySQL, tak tam zakryj heslo.
Přidejte se ke komunitě zákazníků na FakaHeda.eu Discord! Poznejte nové lidi nebo vyřešte svůj technický problém živě: https://discord.fakaheda.eu/-
hnev55
- Příspěvky: 452
- Registrován: 03 pro 2012, 21:48
- Reputation: 0
Re: PlaytimeV2
Mysql ani nwm co je a config je tu:
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.'- nejento
- Příspěvky: 9815
- Registrován: 28 lis 2011, 14:09
- Reputation: 55
- Kontaktovat uživatele:
Re: PlaytimeV2
Přidejte se ke komunitě zákazníků na FakaHeda.eu Discord! Poznejte nové lidi nebo vyřešte svůj technický problém živě: https://discord.fakaheda.eu/-
hnev55
- Příspěvky: 452
- Registrován: 03 pro 2012, 21:48
- Reputation: 0
Re: PlaytimeV2
uz mam MySQL udaje ako to mam nastavit ???? prosiiiiim pomozte
- nejento
- Příspěvky: 9815
- Registrován: 28 lis 2011, 14:09
- Reputation: 55
- Kontaktovat uživatele:
Re: PlaytimeV2
Kód: Vybrat vše
host: ServerMySQL (neco.fakaheda.eu - stejné jako server)
databasename: Jmeno databaze
username: Uzivatelske jmeno
password: Heslo do databaze
Přidejte se ke komunitě zákazníků na FakaHeda.eu Discord! Poznejte nové lidi nebo vyřešte svůj technický problém živě: https://discord.fakaheda.eu/-
hnev55
- Příspěvky: 452
- Registrován: 03 pro 2012, 21:48
- Reputation: 0
Re: PlaytimeV2
ok ked som tam dal moje udaje tak to uz je vsetko ??? lebo mi to stale pise An internal error occurred whule attempting to perform this command
- nejento
- Příspěvky: 9815
- Registrován: 28 lis 2011, 14:09
- Reputation: 55
- Kontaktovat uživatele:
Re: PlaytimeV2
Jak to máš vyplněné? Zkopíruj to sem do Code. HESLA ZAKRYJ!!!
Přidejte se ke komunitě zákazníků na FakaHeda.eu Discord! Poznejte nové lidi nebo vyřešte svůj technický problém živě: https://discord.fakaheda.eu/Kdo je online
Uživatelé prohlížející si toto fórum: Žádní registrovaní uživatelé a 24 hostů