Island Top GUI empty on reboot

Discussion in 'Spigot Plugin Development' started by LucKYsHoTSzZz, May 31, 2018.

Thread Status:
Not open for further replies.
  1. I'm currently having an issue with rebooting my server therefor reloading my plugin (same happens on restarting the whole server). That when I check my gui, it is empty.

    Now showing the code you will tell me that I trigger on an event of the askyblockapi, which I am aware of.

    But I don't have an initial gui state. Now I'm trying to find a way on how to make it so the gui isn't empty after the reboot but is updated. Otherwise I have to wait for a player to do /is level. Then the gui will go to the wanted state. And will update every time a player does /is level

    Code that matters: https://pastebin.com/aJtgvziv
     
  2. On plugin disable save the top ten to file, and in plugin enable load the top ten from file.
     
  3. I'm have no experience when it comes to saving stuff. Time to learn it I guess.
     
Thread Status:
Not open for further replies.