Closed Trinchezito closed 2 years ago
I found that it only gets reset when i do /is admin reload.
Restarting or stopping the server did not reset them. I also downloaded a plugin to run /oneblock save every 5 minutes. But ended up finding out that the problem was when doing /is admin reload all data phases gets reset.
Can you do something about that please? :c People like the idea of having skyblock features along with a "special" island for one block. This is the only annoying problem, because if someone has advanced to phase 6-7 and I do want to test a configuration, i do /is admin reload and all their phase data gets reset.
Check out latest version of OneBlock, let me know if it works.
Check out latest version of OneBlock, let me know if it works.
[18:49:52] [Server thread/INFO]: [SuperiorSkyblock2] Registered mission smelt_12_copper [18:49:52] [Server thread/INFO]: [SuperiorSkyblock2] Registered mission smelt_11_copper [18:49:52] [Server thread/INFO]: [SuperiorSkyblock2] Finished enabling the module missions (Took 2178ms) [18:49:52] [Server thread/INFO]: [SuperiorSkyblock2] Enabling the module OneBlock... [18:49:52] [Server thread/WARN]: java.lang.NullPointerException: Cannot invoke "com.bgsoftware.ssboneblock.handler.PhasesHandler.saveIslandData()" because the return value of "com.bgsoftware.ssboneblock.OneBlockModule.getPhasesHandler()" is null [18:49:52] [Server thread/WARN]: at com.bgsoftware.ssboneblock.handler.DataHandler.saveDatabase(DataHandler.java:61) [18:49:52] [Server thread/WARN]: at com.bgsoftware.ssboneblock.OneBlockModule.onReload(OneBlockModule.java:65) [18:49:52] [Server thread/WARN]: at com.bgsoftware.ssboneblock.OneBlockModule.onEnable(OneBlockModule.java:47) [18:49:52] [Server thread/WARN]: at SuperiorSkyblock2-1.9.0-b557.jar//com.bgsoftware.superiorskyblock.module.ModulesHandler.enableModule(ModulesHandler.java:106) [18:49:52] [Server thread/WARN]: at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) [18:49:52] [Server thread/WARN]: at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179) [18:49:52] [Server thread/WARN]: at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1625) [18:49:52] [Server thread/WARN]: at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) [18:49:52] [Server thread/WARN]: at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) [18:49:52] [Server thread/WARN]: at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) [18:49:52] [Server thread/WARN]: at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) [18:49:52] [Server thread/WARN]: at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) [18:49:52] [Server thread/WARN]: at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) [18:49:52] [Server thread/WARN]: at SuperiorSkyblock2-1.9.0-b557.jar//com.bgsoftware.superiorskyblock.module.ModulesHandler.enableModules(ModulesHandler.java:149) [18:49:52] [Server thread/WARN]: at SuperiorSkyblock2-1.9.0-b557.jar//com.bgsoftware.superiorskyblock.SuperiorSkyblockPlugin.reloadPlugin(SuperiorSkyblockPlugin.java:480) [18:49:52] [Server thread/WARN]: at SuperiorSkyblock2-1.9.0-b557.jar//com.bgsoftware.superiorskyblock.SuperiorSkyblockPlugin.onEnable(SuperiorSkyblockPlugin.java:238) [18:49:52] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264) [18:49:52] [Server thread/WARN]: at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:370) [18:49:52] [Server thread/WARN]: at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:501) [18:49:52] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_18_R1.CraftServer.enablePlugin(CraftServer.java:562) [18:49:52] [Server thread/WARN]: at org.bukkit.craftbukkit.v1_18_R1.CraftServer.enablePlugins(CraftServer.java:476) [18:49:52] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:741) [18:49:52] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:508) [18:49:52] [Server thread/WARN]: at net.minecraft.server.dedicated.DedicatedServer.e(DedicatedServer.java:349) [18:49:52] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1227) [18:49:52] [Server thread/WARN]: at net.minecraft.server.MinecraftServer.lambda$spin$1(MinecraftServer.java:322) [18:49:52] [Server thread/WARN]: at java.base/java.lang.Thread.run(Thread.java:833) [18:49:52] [Server thread/INFO]: [com.bgsoftware.ssboneblock.OneBlockModule] [OneBlock] Checking plains-phase.json [18:49:52] [Server thread/INFO]: [com.bgsoftware.ssboneblock.OneBlockModule] [OneBlock] Checking underground-phase.json [18:49:52] [Server thread/INFO]: [com.bgsoftware.ssboneblock.OneBlockModule] [OneBlock] Checking snow-phase.json [18:49:52] [Server thread/INFO]: [com.bgsoftware.ssboneblock.OneBlockModule] [OneBlock] Checking ocean-phase.json
Sorry about that, check out latest build.
Sorry about that, check out latest build.
Thanks, it now loads but... still when i do /is admin reload the phase gets reset. I also did /oneblock save to save it and still got reset.
Check out latest build, hopefully it's fixed once and for all now.
Check out latest build, hopefully it's fixed once and for all now.
thanks! i love you <3 ! It works! So far no phase resets when i do is admin reload or restart the server.
Minecraft's Version
1.18.1
Plugin's Version
latests
Describe the bug
Somehow the data of players phases keeps resetting back to default. Is there a way to save their phase data via MySQL?
Or to make the plugin addon run the command /oneblock save every X minutes?
To Reproduce
play for hours and restart the server. Then the phases get reset.
Additional Information
No response