Spigot NetworkCore 2.20.8

API for my other resources, comes with a hosted web-interface

  1. Started working on a website for NetworkCore. With this website I aim to make it easier to e.g. edit messages, those are very hard to configure in-game.

    Some of the features I had in mind:
    • Edit messages
    • Look up players
    • Chat history of players
    • Login history of players
    Please let me know your suggestions for this panel!

    [​IMG]
    [​IMG]
     
  2. New development update:
    • Started working on connecting and using the configured network database.
    • First attempt at displaying data from the network database.
    • Styling isn't my biggest concern currently, just trying to make it functional first.
    [​IMG]
    [​IMG]
    [​IMG]
     
  3. More progress!
    • Translations can now be added to a message.
    • You can view more information on a message (default language, description, variables).
    • You can edit/delete translations.
    [​IMG]
     
  4. Darthmineboy updated NetworkCore with a new update entry:

    Update checker & few bugfixes

    Read the rest of this update entry...
     
  5. Can you make it where it can log the commands and stuff what people do?
     
  6. Darthmineboy updated NetworkCore with a new update entry:

    In-game setup

    Read the rest of this update entry...
     
  7. The update cause many errors in my console. I have 2 other API plugins that allow other plugins to work and I believe that's what the problem is. I will post the errors in a little while.
     
  8. The latest update adds an in-game MySQL setup (so you don't have to touch the config file at all).

    I will wait for the pastebin, so I can conclude the problem & provide you with the solution.
     

  9. http://pastebin.com/4stTWM5y
     
  10. It reads from bottom to top in the console.
     
  11. Are you running a MySQL database? You might be running another SQL database like Oracle.
     
  12. no...not that I am aware of.
     
  13. Which version of MySQL are you running? If you have PHPMyAdmin you can easily see this on the main page under databaseserver. Also, is your MySQL server running on the default 3306 port?
     
  14. Darthmineboy updated NetworkCore with a new update entry:

    Website Interface

    Read the rest of this update entry...
     
  15. SpaZMonKeY777

    Wiki Team

    @Darthmineboy
    Heya, just recently updated and seem to be getting this error a lot in console: http://pastebin.com/UJE6FnD5

    I also cannot make any new tickets, and when I try, it generates that error and blocks my in-game chat. Even if I exit the ticket creation mode by typing 'exit' it's really odd. Any ideas?
     
  16. Could you pastebin your server log (preferably from startup till this error pops up). It's likely a database related issue.
     
  17. Getting an error on world loads (through MultiVerse-Core) on 1.11 with the latest version - Doesn't appear to be effecting anything that I can see but I may just not have found any yet. No other errors given by NetworkCore (or UltimateTickets):

    [19:36:41] [Server thread/ERROR]: Could not pass event WorldLoadEvent to NetworkCore v1.1.4
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    at org.bukkit.craftbukkit.v1_11_R1.CraftServer.createWorld(CraftServer.java:939) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    at org.bukkit.Bukkit.createWorld(Bukkit.java:468) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    at org.bukkit.WorldCreator.createWorld(WorldCreator.java:261) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    at com.onarandombox.MultiverseCore.utils.WorldManager.doLoad(WorldManager.java:466) [Multiverse-Core-2.5.0-SNAPSHOT.jar:?]
    at com.onarandombox.MultiverseCore.utils.WorldManager.doLoad(WorldManager.java:447) [Multiverse-Core-2.5.0-SNAPSHOT.jar:?]
    at com.onarandombox.MultiverseCore.utils.WorldManager.doLoad(WorldManager.java:422) [Multiverse-Core-2.5.0-SNAPSHOT.jar:?]
    at com.onarandombox.MultiverseCore.utils.WorldManager.loadWorlds(WorldManager.java:725) [Multiverse-Core-2.5.0-SNAPSHOT.jar:?]
    at com.onarandombox.MultiverseCore.MultiverseCore.onEnable(MultiverseCore.java:309) [Multiverse-Core-2.5.0-SNAPSHOT.jar:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:271) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugin(CraftServer.java:373) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    at org.bukkit.craftbukkit.v1_11_R1.CraftServer.enablePlugins(CraftServer.java:323) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    at net.minecraft.server.v1_11_R1.MinecraftServer.t(MinecraftServer.java:419) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    at net.minecraft.server.v1_11_R1.MinecraftServer.l(MinecraftServer.java:380) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    at net.minecraft.server.v1_11_R1.MinecraftServer.a(MinecraftServer.java:335) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    at net.minecraft.server.v1_11_R1.DedicatedServer.init(DedicatedServer.java:272) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:542) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    at java.lang.Thread.run(Unknown Source) [?:1.8.0_77]
    Caused by: java.lang.NullPointerException
    at me.darthmineboy.networkcore.spigot.listener.WorldLoadListener.onWorldLoad(WorldLoadListener.java:33) ~[?:?]
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_77]
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77]
    at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_77]
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    ... 22 more


    Edit:
    Errors on player join also:

    20.11 20:15:32 [Server] INFO ... 14 more
    20.11 20:15:32 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:15:32 [Server] INFO at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_77]
    20.11 20:15:32 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77]
    20.11 20:15:32 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77]
    20.11 20:15:32 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_77]
    20.11 20:15:32 [Server] INFO at me.darthmineboy.networkcore.spigot.listener.PlayerJoinListener.onPlayerJoinLowest(PlayerJoinListener.java:55) ~[?:?]
    20.11 20:15:32 [Server] INFO Caused by: java.lang.NullPointerException
    20.11 20:15:32 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.8.0_77]
    20.11 20:15:32 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:574) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:15:32 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:675) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:15:32 [Server] INFO at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:15:32 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:834) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:15:32 [Server] INFO at net.minecraft.server.v1_11_R1.ServerConnection.c(ServerConnection.java:140) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:15:32 [Server] INFO at net.minecraft.server.v1_11_R1.NetworkManager.a(NetworkManager.java:233) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:15:32 [Server] INFO at net.minecraft.server.v1_11_R1.LoginListener.F_(LoginListener.java:57) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:15:32 [Server] INFO at net.minecraft.server.v1_11_R1.LoginListener.b(LoginListener.java:147) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:15:32 [Server] INFO at net.minecraft.server.v1_11_R1.PlayerList.a(PlayerList.java:157) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:15:32 [Server] INFO at net.minecraft.server.v1_11_R1.PlayerList.onPlayerJoin(PlayerList.java:331) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:15:32 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:15:32 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:15:32 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:15:32 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:15:32 [Server] INFO org.bukkit.event.EventException
    20.11 20:15:32 [Server] ERROR Could not pass event PlayerJoinEvent to NetworkCore v1.1.4


    Edit 2:

    Errors on clicking to create a ticket in the UltimateTickets /ticket GUI:

    20.11 20:19:15 [Server] INFO ... 15 more
    20.11 20:19:15 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:19:15 [Server] INFO at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_77]
    20.11 20:19:15 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_77]
    20.11 20:19:15 [Server] INFO at sun.reflect.GeneratedMethodAccessor187.invoke(Unknown Source) ~[?:?]
    20.11 20:19:15 [Server] INFO at me.darthmineboy.networkcore.spigot.listener.InventoryClickListener.onInventoryClick(InventoryClickListener.java:36) ~[?:?]
    20.11 20:19:15 [Server] INFO at me.darthmineboy.networkcore.spigot.object.ChestMenu.onInventoryClick(ChestMenu.java:56) ~[?:?]
    20.11 20:19:15 [Server] INFO at me.darthmineboy.ultimatetickets.spigot.chestmenu.MenuChestMenu$1.onInventoryClick(MenuChestMenu.java:96) ~[?:?]
    20.11 20:19:15 [Server] INFO Caused by: java.lang.NullPointerException
    20.11 20:19:15 [Server] INFO at java.lang.Thread.run(Unknown Source) [?:1.8.0_77]
    20.11 20:19:15 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:574) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:19:15 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:675) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:19:15 [Server] INFO at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:19:15 [Server] INFO at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:739) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:19:15 [Server] INFO at net.minecraft.server.v1_11_R1.SystemUtils.a(SourceFile:46) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:19:15 [Server] INFO at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_77]
    20.11 20:19:15 [Server] INFO at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) [?:1.8.0_77]
    20.11 20:19:15 [Server] INFO at net.minecraft.server.v1_11_R1.PlayerConnectionUtils$1.run(SourceFile:13) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:19:15 [Server] INFO at net.minecraft.server.v1_11_R1.PacketPlayInWindowClick.a(SourceFile:10) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:19:15 [Server] INFO at net.minecraft.server.v1_11_R1.PacketPlayInWindowClick.a(SourceFile:33) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:19:15 [Server] INFO at net.minecraft.server.v1_11_R1.PlayerConnection.a(PlayerConnection.java:1835) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:19:15 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:19:15 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:19:15 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:19:15 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot_latest.jar:git-Spigot-16c940b-ac99d7d]
    20.11 20:19:15 [Server] INFO org.bukkit.event.EventException
    20.11 20:19:15 [Server] ERROR Could not pass event InventoryClickEvent to NetworkCore v1.1.4
     
    #37 BurntValentine, Nov 21, 2016
    Last edited: Nov 21, 2016
  18. Could you post your server log (at least startup till preferably one error pops up). NetworkCore is likely not enabled properly.
     
  19. Ignore me - Was my own fault xD Using my servers files in a test server, but on a new SQL - didn't remove the server-id from the config to let it initialize the new server correctly (works fine now!)
     
  20. Alright yup! NetworkCore will complain if it cant find the server with the specified server-id in the config.