Closed AgentPieCZ closed 2 years ago
Are you sure it is the first error message?
As by the status of Addon and the status of Biomes, it looks like there is an issue at the server startup, that is not in this error log.
Found this one on startup [09:40:35] [Server thread/INFO]: [BentoBox] Enabling game mode addons... [09:40:35] [Server thread/INFO]: [BentoBox] Enabling AOneBlock (1.7.0)... [09:40:35] [Server thread/INFO]: [BentoBox] [AOneBlock] Creating AOneBlock world ... [09:40:35] [Craft Scheduler Thread - 22/INFO]: [GoldenCrates] Auto-save: Saved 0 online users | 0 offline users. [09:40:35] [Craft Scheduler Thread - 5/INFO]: [MMOLib] A new build is available: 1.0.14.1 (you are running 1.7.1) [09:40:35] [Craft Scheduler Thread - 5/INFO]: [MMOLib] Download it here: https://www.spigotmc.org/resources/73855/ [09:40:35] [Server thread/INFO]: World oneblock_world is a duplicate of another world and has been prevented from loading. Please delete the uid.dat file from oneblock_world's world directory if you want to be able to load the duplicate world. [09:40:35] [Server thread/ERROR]: [BentoBox] Skipping AOneBlock due to an unhandled exception... [09:40:35] [Server thread/ERROR]: [BentoBox] java.lang.NullPointerException: Gamemode overworld object is null for AOneBlock at world.bentobox.bentobox.managers.IslandWorldManager.addGameMode(IslandWorldManager.java:152) at world.bentobox.bentobox.managers.AddonsManager.enableAddon(AddonsManager.java:229) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1655) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497) at world.bentobox.bentobox.managers.AddonsManager.enableAddons(AddonsManager.java:177) at world.bentobox.bentobox.BentoBox.completeSetup(BentoBox.java:186) at world.bentobox.bentobox.BentoBox.lambda$onEnable$0(BentoBox.java:172) at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:100) at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:468) at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1064) at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:289) at java.base/java.lang.Thread.run(Thread.java:829)
[09:40:35] [Server thread/INFO]: [BentoBox] Enabling other addons... [09:40:35] [Server thread/INFO]: [BentoBox] Enabling TwerkingForTrees (1.4.1)... [09:40:35] [Server thread/INFO]: [BentoBox] Enabling Biomes (1.7.0)... [09:40:35] [Server thread/ERROR]: [BentoBox] [Biomes] Biomes could not hook into any GameMode so will not do anything! [09:40:35] [Server thread/INFO]: [BentoBox] Biomes is disabled. [09:40:35] [Server thread/INFO]: [BentoBox] Enabling Likes (2.1.1)... [09:40:35] [Craft Scheduler Thread - 21/INFO]: Detected new update (2.1.3b), download at https://www.spigotmc.org/resources/76179 [09:40:35] [Server thread/INFO]: [BentoBox] Loading likes...
-> World oneblock_world is a duplicate of another world and has been prevented from loading. Please delete the uid.dat file from oneblock_world's world directory if you want to be able to load the duplicate world. [09:40:35] [Server thread/ERROR]: [BentoBox] Skipping AOneBlock due to an unhandled exception... <- what?... there is only 1 one block world and 1 one block nether world, what created plugin alone
Do AOneBlock world is set as the default world in server.properties? (it is not necessary, just a question about the situation)
Or did you add some world loading via MultiVerse?
its not default world, its world what created one block addon , multiverse is unused now
Ok, then there is one more possibility...
Do you have multiple AOneblock addon instances in /plugins/bentobox/addons
folder?
no, there is only one
Do you have something in bukkit.yml
under worlds
section?
It may not contain worlds
if it is not added.
And what is the name of your default world?
in bukkit.yml i didnt find "worlds" section, default name of world is world -> one block world is oneblock_world
That is very weird that something else is creating or loading the oneblock world. If that is not Bukkit, then it could Multiverse.
Well, you can try to add this at the end in bukkit.yml:
worlds:
oneblock_world:
generator: BentoBox
oneblock_world_nether:
generator: BentoBox
oneblock_world_the_end:
generator: BentoBox
found in multiverse :
oneblock_world: ==: MVWorld hidden: 'false' alias: oneblock_world color: WHITE style: NORMAL pvp: 'false' scale: '1.0' respawnWorld: '' allowWeather: 'true' difficulty: NORMAL spawning: ==: MVSpawnSettings ...
That is very weird that something else is creating or loading the oneblock world. If that is not Bukkit, then it could Multiverse.
Well, you can try to add this at the end in bukkit.yml:
worlds: oneblock_world: generator: BentoBox oneblock_world_nether: generator: BentoBox oneblock_world_the_end: generator: BentoBox
Trying this now, restarting server several times
That is very weird that something else is creating or loading the oneblock world. If that is not Bukkit, then it could Multiverse.
Well, you can try to add this at the end in bukkit.yml:
worlds: oneblock_world: generator: BentoBox oneblock_world_nether: generator: BentoBox oneblock_world_the_end: generator: BentoBox
looks like this one worked, only, i didnt used oneblock_world_the_end , bcs that world doesnt exist
So it means MultiVerse was enabled before BentoBox and loaded the world. That is weird, as BentoBox should load before.
Description
Describe the bug
After 1 restart OneBlock works, after second no, its 50/50 it will work.
Steps to reproduce the behavior
Simple restart of server cause it, but not every time, im confused
Environment
Output of
/bbox version
(Mandatory)Plugins (Optional)
Additional context (Optional)
Error after /ob after restart: