[1.8] AutoNick - MySQL (BungeeCord) | GERVobis

Hier könnt ihr eure selbstgeschriebenen Plugins veröffentlichen.

[1.8] AutoNick - MySQL (BungeeCord) | GERVobis

Beitragvon GERVobis » Fr 27. Mär 2015, 15:44

AutoNick - Automatisches Nick System

Ich hab mein Plugin AutoNick geschrieben. Mit diesem Plugin könnt ihr euern Namen und Skin ändern. Beim Joinen auf einen Server wo das Plugin auch ist wird der Name und Skin automatisch geändert. Wer Fehler findet bitte ein Kommentar hinterlassen.

Infos:
Das Plugin benötigt eine MySQL Datenbank also einfach die MySQL Daten in die mysql.yml eintragen

Permissions:
Benutzen : system.nick

Kommandos:
/nick <name> - Nick ändern
/nick reset - Nick zurücksetzten

Download
AutoNick : http://bit.ly/1EIPrCL

Sonstiges
Wenn jemand 'ne Idee hat, einfach ein Kommentar schreiben.
Du möchtest programmieren lernen oder dein Bukkit-/Spigot-Wissen erweitern?
Hier habe ich für dich kostenlose Tutorials: https://www.youtube.com/channel/UCQx4al ... 0KG8IRMHaw
Benutzeravatar
GERVobis
 
Beiträge: 19
Registriert: Mi 25. Mär 2015, 19:11
Wohnort: Brandenburg

Re: [1.8] AutoNick - MySQL (BungeeCord) | GERVobis

Beitragvon logtainment » Fr 3. Apr 2015, 15:53

Hey,

eine Frage! Kann man es so machen, dass man nur /nick eingeben muss? Und dass dieser User dann nicht noch den Owner oder YouTuber Prefix behält!

Gruß Matthias
Benutzeravatar
logtainment
 
Beiträge: 8
Registriert: Do 2. Apr 2015, 11:02

Re: [1.8] AutoNick - MySQL (BungeeCord) | GERVobis

Beitragvon DerMitHDImNamen » So 10. Mai 2015, 15:00

Hallo, habe das Plugin auf einem Test Server ausprobieren wollen und es sind ein paar Fehler aufgetreten. Habe MySQL konfiguriert und das Plugin hat die Datenbank auch erkannt aber sobald ich /nick [Name] oder /nick reset mache bekomme ich in der Konsole einen Fehler.

Code: Alles auswählen
  1. [15:54:15 INFO]: [Nick] Loading Nick v1.0
  2. [15:54:15 INFO]: [Permissions] Loading Permissions v0.1
  3. [15:54:15 INFO]: [Nick] Enabling Nick v1.0
  4. [15:54:15 INFO]: [AutoNick] Made by GERVobis
  5. [15:54:15 INFO]: [Permissions] Enabling Permissions v0.1
  6. [15:54:15 INFO]: Server permissions file permissions.yml is empty, ignoring it
  7. [15:54:15 INFO]: CONSOLE: Reload complete.
  8. [15:54:19 INFO]: UUID of player ZENSIERTER_NAME :D is 42a71ac0-5716-3c45-8f27-e0a1ae7a7057
  9. [15:54:20 INFO]: ZENSIERTER_NAME :D [/127.0.0.1:51963] logged in with entity id 100 at ([Spaw
  10. n]86.46577912638583, 11.0, -119.13614336251135)
  11. [15:54:22 INFO]: UUID of player DerMitHDImNamen is e5ff5fef-c841-3469-8cab-ca469
  12. acca0d6
  13. [15:54:22 INFO]: DerMitHDImNamen[/127.0.0.1:51964] logged in with entity id 113
  14. at ([Spawn]88.88497892018493, 11.0, -117.35672421930938)
  15. [15:54:26 INFO]: DerMitHDImNamen issued server command: /nick test
  16. [15:54:26 ERROR]: null
  17. org.bukkit.command.CommandException: Unhandled exception executing command 'nick
  18. ' in plugin Nick v1.0
  19.         at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[Spi
  20. got.jar:git-Spigot-2f787bd-ea28011]
  21.         at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:14
  22. 1) ~[Spigot.jar:git-Spigot-2f787bd-ea28011]
  23.         at org.bukkit.craftbukkit.v1_8_R2.CraftServer.dispatchCommand(CraftServe
  24. r.java:646) ~[Spigot.jar:git-Spigot-2f787bd-ea28011]
  25.         at net.minecraft.server.v1_8_R2.PlayerConnection.handleCommand(PlayerCon
  26. nection.java:1133) [Spigot.jar:git-Spigot-2f787bd-ea28011]
  27.         at net.minecraft.server.v1_8_R2.PlayerConnection.a(PlayerConnection.java
  28. :968) [Spigot.jar:git-Spigot-2f787bd-ea28011]
  29.         at net.minecraft.server.v1_8_R2.PacketPlayInChat.a(PacketPlayInChat.java
  30. :45) [Spigot.jar:git-Spigot-2f787bd-ea28011]
  31.         at net.minecraft.server.v1_8_R2.PacketPlayInChat.a(PacketPlayInChat.java
  32. :1) [Spigot.jar:git-Spigot-2f787bd-ea28011]
  33.         at net.minecraft.server.v1_8_R2.PlayerConnectionUtils$1.run(SourceFile:1
  34. 3) [Spigot.jar:git-Spigot-2f787bd-ea28011]
  35.         at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [
  36. ?:1.8.0_45]
  37.         at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_45]
  38.         at net.minecraft.server.v1_8_R2.SystemUtils.a(SourceFile:60) [Spigot.jar
  39. :git-Spigot-2f787bd-ea28011]
  40.         at net.minecraft.server.v1_8_R2.MinecraftServer.A(MinecraftServer.java:7
  41. 10) [Spigot.jar:git-Spigot-2f787bd-ea28011]
  42.         at net.minecraft.server.v1_8_R2.DedicatedServer.A(DedicatedServer.java:3
  43. 68) [Spigot.jar:git-Spigot-2f787bd-ea28011]
  44.         at net.minecraft.server.v1_8_R2.MinecraftServer.z(MinecraftServer.java:6
  45. 51) [Spigot.jar:git-Spigot-2f787bd-ea28011]
  46.         at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java
  47. :554) [Spigot.jar:git-Spigot-2f787bd-ea28011]
  48.         at java.lang.Thread.run(Unknown Source) [?:1.8.0_45]
  49. Caused by: java.lang.NoClassDefFoundError: org/bukkit/craftbukkit/libs/com/googl
  50. e/gson/GsonBuilder
  51.         at me.gervobis.nick.skin.UUIDFetcher.<clinit>(UUIDFetcher.java:24) ~[?:?
  52. ]
  53.         at me.gervobis.nick.skin.ChangeSkin.getUUID(ChangeSkin.java:26) ~[?:?]
  54.         at me.gervobis.nick.skin.ChangeSkin.<init>(ChangeSkin.java:36) ~[?:?]
  55.         at me.gervobis.managers.NickManager.setNick(NickManager.java:36) ~[?:?]
  56.         at me.gervobis.nick.commands.nickcommand.onCommand(nickcommand.java:53)
  57. ~[?:?]
  58.         at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[Spi
  59. got.jar:git-Spigot-2f787bd-ea28011]
  60.         ... 15 more
  61. Caused by: java.lang.ClassNotFoundException: org.bukkit.craftbukkit.libs.com.goo
  62. gle.gson.GsonBuilder
  63.         at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
  64. java:91) ~[Spigot.jar:git-Spigot-2f787bd-ea28011]
  65.         at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
  66. java:86) ~[Spigot.jar:git-Spigot-2f787bd-ea28011]
  67.         at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_45]
  68.         at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.8.0_45]
  69.         at me.gervobis.nick.skin.UUIDFetcher.<clinit>(UUIDFetcher.java:24) ~[?:?
  70. ]
  71.         at me.gervobis.nick.skin.ChangeSkin.getUUID(ChangeSkin.java:26) ~[?:?]
  72.         at me.gervobis.nick.skin.ChangeSkin.<init>(ChangeSkin.java:36) ~[?:?]
  73.         at me.gervobis.managers.NickManager.setNick(NickManager.java:36) ~[?:?]
  74.         at me.gervobis.nick.commands.nickcommand.onCommand(nickcommand.java:53)
  75. ~[?:?]
  76.         at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[Spi
  77. got.jar:git-Spigot-2f787bd-ea28011]
  78.         ... 15 more
  79. [15:54:51 INFO]: DerMitHDImNamen issued server command: /nick reset
  80. [15:54:51 ERROR]: null
  81. org.bukkit.command.CommandException: Unhandled exception executing command 'nick
  82. ' in plugin Nick v1.0
  83.         at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[Spi
  84. got.jar:git-Spigot-2f787bd-ea28011]
  85.         at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:14
  86. 1) ~[Spigot.jar:git-Spigot-2f787bd-ea28011]
  87.         at org.bukkit.craftbukkit.v1_8_R2.CraftServer.dispatchCommand(CraftServe
  88. r.java:646) ~[Spigot.jar:git-Spigot-2f787bd-ea28011]
  89.         at net.minecraft.server.v1_8_R2.PlayerConnection.handleCommand(PlayerCon
  90. nection.java:1133) [Spigot.jar:git-Spigot-2f787bd-ea28011]
  91.         at net.minecraft.server.v1_8_R2.PlayerConnection.a(PlayerConnection.java
  92. :968) [Spigot.jar:git-Spigot-2f787bd-ea28011]
  93.         at net.minecraft.server.v1_8_R2.PacketPlayInChat.a(PacketPlayInChat.java
  94. :45) [Spigot.jar:git-Spigot-2f787bd-ea28011]
  95.         at net.minecraft.server.v1_8_R2.PacketPlayInChat.a(PacketPlayInChat.java
  96. :1) [Spigot.jar:git-Spigot-2f787bd-ea28011]
  97.         at net.minecraft.server.v1_8_R2.PlayerConnectionUtils$1.run(SourceFile:1
  98. 3) [Spigot.jar:git-Spigot-2f787bd-ea28011]
  99.         at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [
  100. ?:1.8.0_45]
  101.         at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_45]
  102.         at net.minecraft.server.v1_8_R2.SystemUtils.a(SourceFile:60) [Spigot.jar
  103. :git-Spigot-2f787bd-ea28011]
  104.         at net.minecraft.server.v1_8_R2.MinecraftServer.A(MinecraftServer.java:7
  105. 10) [Spigot.jar:git-Spigot-2f787bd-ea28011]
  106.         at net.minecraft.server.v1_8_R2.DedicatedServer.A(DedicatedServer.java:3
  107. 68) [Spigot.jar:git-Spigot-2f787bd-ea28011]
  108.         at net.minecraft.server.v1_8_R2.MinecraftServer.z(MinecraftServer.java:6
  109. 51) [Spigot.jar:git-Spigot-2f787bd-ea28011]
  110.         at net.minecraft.server.v1_8_R2.MinecraftServer.run(MinecraftServer.java
  111. :554) [Spigot.jar:git-Spigot-2f787bd-ea28011]
  112.         at java.lang.Thread.run(Unknown Source) [?:1.8.0_45]
  113. Caused by: java.lang.NoClassDefFoundError: Could not initialize class me.gervobi
  114. s.nick.skin.UUIDFetcher
  115.         at me.gervobis.managers.NickManager.removeNick(NickManager.java:57) ~[?:
  116. ?]
  117.         at me.gervobis.nick.commands.nickcommand.onCommand(nickcommand.java:47)
  118. ~[?:?]
  119.         at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44) ~[Spi
  120. got.jar:git-Spigot-2f787bd-ea28011]
  121.         ... 15 more
  122. >
Benutzeravatar
DerMitHDImNamen
 
Beiträge: 1
Registriert: So 10. Mai 2015, 14:19

Re: [1.8] AutoNick - MySQL (BungeeCord) | GERVobis

Beitragvon IcySkill » Fr 19. Jun 2015, 22:11

Download Link geht nicht ...
Mit freundlichen Grüßen

- IcySkill
Benutzeravatar
IcySkill
 
Beiträge: 153
Registriert: Do 12. Feb 2015, 15:23
Wohnort: Baden-Württemberg


Zurück zu Veröffentlichungen

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast

cron