BentoBoxWorld / Boxed

A game mode where you are boxed into a tiny space that only expands by completing advancements
Eclipse Public License 2.0
15 stars 4 forks source link

World generation problem #65

Open MrZero1 opened 6 months ago

MrZero1 commented 6 months ago

Expected behavior

After boxed reset, the world is generated incorrectly. Sometimes the world around your new box is incomplete, sometimes it is covered with water, but the structures are generated.

Observed/Actual behavior

boxed2 boxed1

Steps/models to reproduce

I made the settings as described in the documentation (https://docs.bentobox.world/en/latest/BentoBox/Set-a-BentoBox-world-as-the-server-default-world/), but after the /boxed reset command the world is generated incorrectly.

BentoBox version

Certain words are in Hungarian. Sorry about that. (like Jelenlegi verzió = current version)

18:27:55 INFO: Jelenlegi verzió: PAPER 1.20.4.

18:27:55 INFO: BentoBox verzió: 2.1.1 18:27:55 INFO: Adatbázis: JSON 18:27:55 INFO: Betöltött játék világok: 18:27:55 INFO: boxed_world (Boxed): Alap világ, Pokol 18:27:55 INFO: Betöltött bővítmények: 18:27:55 INFO: Biomes 2.1.1 (ENABLED) 18:27:55 INFO: Border 4.2.1 (ENABLED) 18:27:55 INFO: Boxed 2.4.0 (ENABLED) 18:27:55 INFO: CauldronWitchery 2.0.1 (ENABLED) 18:27:55 INFO: Challenges 1.2.0 (ENABLED) 18:27:55 INFO: Chat 1.1.4 (ENABLED) 18:27:55 INFO: CheckMeOut 1.1.1 (ENABLED) 18:27:55 INFO: ControlPanel 1.13.1 (ENABLED) 18:27:55 INFO: DimensionalTrees 1.7.0 (ENABLED) 18:27:55 INFO: Greenhouses 1.7.5 (ENABLED) 18:27:55 INFO: InvSwitcher 1.12.0 (ENABLED) 18:27:55 INFO: Level 2.12.0 (ENABLED) 18:27:55 INFO: Likes 2.3.1 (ENABLED) 18:27:55 INFO: MagicCobblestoneGenerator 2.5.1 (ENABLED) 18:27:55 INFO: TwerkingForTrees 1.5.0 (ENABLED) 18:27:55 INFO: Visit 1.6.0 (ENABLED) 18:27:55 INFO: Warps 1.14.0 (ENABLED)

Plugin list

[18:29:02 INFO]: Plugins (36): ArmorStandEditor, BKCommonLib, BentoBox, BentoBox-Biomes, BentoBox-Boxed, BentoBox-CauldronWitchery, BentoBox-Challenges, BentoBox-CheckMeOut, BentoBox-Greenhouses, BentoBox-Level, BentoBox-Likes, BentoBox-MagicCobblestoneGenerator, BentoBox-Visit, BentoBox-Warps, Essentials, EssentialsChat, EssentialsSpawn, EvenMoreFish, ExcellentCrates, ExcellentEnchants, FastAsyncWorldEdit, InfernalMobs, LuckPerms, Multiverse-Core, NexEngine, ODailyQuests, Oraxen, PlaceholderAPI, ProtocolLib, ServerUtils, TAB, Vault, ViaBackwards, ViaVersion, WorldGuard and ntdLuckyBlock

Other

No response

tastybento commented 6 months ago

Boxed is unfortunately incompatible with MultiverseCore right now. If you use MyWorlds (another multi world plugin) then it works. We'll continue to try and get MV to work, but this is a problem, yes.

MrZero1 commented 6 months ago

Thank you for your reply. I replaced the plugin, but after reset the new box is still generated with a bug. Is it worth rebuilding the world itself at this point?

tastybento commented 5 months ago

Yes. The seed worlds will have been zeroed (just void), so that's why.

MrZero1 commented 5 months ago

I deleted the existing boxed worlds, generated new ones, but still no good. What could be the problem? (By the way, does this game mode require End world?)

[19:06:02 INFO]: Preparing level "boxed_world" [19:06:02 ERROR]: Could not set generator for default world 'boxed_world': Plugin 'BentoBox v2.1.1' lacks a default world generator [19:06:02 ERROR]: Could not set generator for default world 'boxed_world_nether': Plugin 'BentoBox v2.1.1' lacks a default world generator [19:06:02 ERROR]: Could not set generator for default world 'boxed_world_the_end': Plugin 'BentoBox v2.1.1' lacks a default world generator [19:06:02 INFO]: Preparing start region for dimension minecraft:overworld

kép kép

tastybento commented 5 months ago

Odd. I have not seen that error before. Let me investigate.

tastybento commented 5 months ago

I found that the issue is when the Boxed world is set as the default world. This unfortunately is not really supported. If you don't do this, then it works fine. So, if you can accept a default world, maybe use it for a spawn, then you should be okay.

I spent a few hours trying to make changes to Boxed to try to support it being set as the default world but it's has problems - the biomes are random because the default world is made by the server before Boxed can actually make the world. However, it mostly works. You can try it a https://ci.codemc.io/job/BentoBoxWorld/job/Boxed/. The bukkit.yml file would be:

worlds:
  boxed_world:
    generator: BentoBox
  boxed_world/seed:
    generator: BentoBox
  boxed_world/seed_base:
    generator: BentoBox
  boxed_world_nether:
    generator: BentoBox
  boxed_world/seed_nether:
    generator: BentoBox
  boxed_world/seed_nether_base:
    generator: BentoBox
  boxed_world/bentobox:
    generator: BentoBox
  boxed_world_nether/bentobox:
    generator: BentoBox

However, I think the biomes issue is a problem and it's easier just to have a default world, even if you never use it.

MrZero1 commented 5 months ago

So what do you suggest I do? Make the default world a spawn and generate a new Boxed world?

Bytheway, I still don't know if the Boxed game mode requires an End world 😐

tastybento commented 5 months ago

Box doesn't have an End yet and one shouldn't be made by default by the Addon.

For the world setup, remove the settings that try to make the Boxed world a default world. A world, world_nether, world_the_end will be created. Make that a spawn/lobby and you can use WorldProtect, etc. to limit what people can do it in. Then players will run /box to start their box, or click on a menu somewhere. I hope that makes sense!

MrZero1 commented 5 months ago

Eh, thank you very much for the useful advice and help. It looks like I managed to set it up. I have reset it several times, so far it will not fail to reset.

kép

Btw, can I delete the world and netherworlds? I don't want to get the worlds mixed up, or to get to these worlds (either with a nether portal or I don't know) kép

One more question about the End World. The players get to the end world somehow (e.g. portal)? Or if we want an end world, should we generate it and use a warp command for example?

MrZero1 commented 5 months ago

When I restart the server, I get this error message. Do I have to deal with this?

[17:59:28 INFO]: [My_Worlds] Enabling My_Worlds v1.20.4-v3 [17:59:28 INFO]: [My_Worlds] Loading world 'boxed_world/bentobox' using chunk generator: 'BentoBox-Boxed' [17:59:28 ERROR]: [My_Worlds] World 'boxed_world/bentobox' could not be created because the chunk generator 'BentoBox-Boxed' was not found! [17:59:28 ERROR]: [My_Worlds] Failed to (pre)load world: boxed_world/bentobox [17:59:28 INFO]: [My_Worlds] Loading world 'boxed_world' using chunk generator: 'BentoBox' [17:59:28 ERROR]: [My_Worlds] World 'boxed_world' could not be created because the chunk generator 'BentoBox' was not found! [17:59:28 ERROR]: [My_Worlds] Failed to (pre)load world: boxed_world [17:59:28 INFO]: [My_Worlds] Loading world 'boxed_world/seed_nether' using chunk generator: 'BentoBox' [17:59:28 ERROR]: [My_Worlds] World 'boxed_world/seed_nether' could not be created because the chunk generator 'BentoBox' was not found! [17:59:28 ERROR]: [My_Worlds] Failed to (pre)load world: boxed_world/seed_nether [17:59:28 INFO]: [My_Worlds] Loading world 'boxed_world_nether/bentobox' using chunk generator: 'BentoBox-Boxed' [17:59:28 ERROR]: [My_Worlds] World 'boxed_world_nether/bentobox' could not be created because the chunk generator 'BentoBox-Boxed' was not found! [17:59:28 ERROR]: [My_Worlds] Failed to (pre)load world: boxed_world_nether/bentobox [17:59:28 INFO]: [My_Worlds] Loading world 'boxed_world/seed' using chunk generator: 'BentoBox' [17:59:28 ERROR]: [My_Worlds] World 'boxed_world/seed' could not be created because the chunk generator 'BentoBox' was not found! [17:59:28 ERROR]: [My_Worlds] Failed to (pre)load world: boxed_world/seed [17:59:28 INFO]: [My_Worlds] Loading world 'Spawn' [17:59:28 INFO]: Preparing start region for dimension minecraft:spawn [17:59:28 INFO]: Time elapsed: 370 ms [17:59:28 INFO]: [WorldGuard] (Spawn) TNT ignition is PERMITTED. [17:59:28 INFO]: [WorldGuard] (Spawn) Lighters are PERMITTED. [17:59:28 INFO]: [WorldGuard] (Spawn) Lava fire is PERMITTED. [17:59:28 INFO]: [WorldGuard] (Spawn) Fire spread is UNRESTRICTED. [17:59:28 INFO]: [WorldGuard] Loaded configuration for world 'Spawn' [17:59:28 INFO]: [My_Worlds] Loading world 'boxed_world/seed_base' using chunk generator: 'BentoBox' [17:59:28 ERROR]: [My_Worlds] World 'boxed_world/seed_base' could not be created because the chunk generator 'BentoBox' was not found! [17:59:28 ERROR]: [My_Worlds] Failed to (pre)load world: boxed_world/seed_base [17:59:28 INFO]: [My_Worlds] Loading world 'boxed_world/seed_nether_base' using chunk generator: 'BentoBox' [17:59:28 ERROR]: [My_Worlds] World 'boxed_world/seed_nether_base' could not be created because the chunk generator 'BentoBox' was not found! [17:59:28 ERROR]: [My_Worlds] Failed to (pre)load world: boxed_world/seed_nether_base [17:59:28 INFO]: [My_Worlds] Loading world 'normal_flat' [17:59:28 INFO]: Preparing start region for dimension minecraft:normal_flat [17:59:28 INFO]: Time elapsed: 76 ms [17:59:28 INFO]: [WorldGuard] (normal_flat) TNT ignition is PERMITTED. [17:59:28 INFO]: [WorldGuard] (normal_flat) Lighters are PERMITTED. [17:59:28 INFO]: [WorldGuard] (normal_flat) Lava fire is PERMITTED. [17:59:28 INFO]: [WorldGuard] (normal_flat) Fire spread is UNRESTRICTED. [17:59:28 INFO]: [WorldGuard] Loaded configuration for world 'normal_flat' [17:59:28 INFO]: [My_Worlds] Loading world 'boxed_world_nether' using chunk generator: 'BentoBox' [17:59:28 ERROR]: [My_Worlds] World 'boxed_world_nether' could not be created because the chunk generator 'BentoBox' was not found! [17:59:28 ERROR]: [My_Worlds] Failed to (pre)load world: boxed_world_nether

MrZero1 commented 5 months ago

Unfortunately, the console still displays the error message when I restart the server. Why is this?

[10:48:57 INFO]: [My_Worlds] Enabling My_Worlds v1.20.4-v3 [10:48:57 INFO]: [My_Worlds] Loading world 'boxed_world/bentobox' using chunk generator: 'BentoBox-Boxed' [10:48:57 ERROR]: [My_Worlds] World 'boxed_world/bentobox' could not be created because the chunk generator 'BentoBox-Boxed' was not found! [10:48:57 ERROR]: [My_Worlds] Failed to (pre)load world: boxed_world/bentobox [10:48:57 INFO]: [My_Worlds] Loading world 'boxed_world' using chunk generator: 'BentoBox' [10:48:57 ERROR]: [My_Worlds] World 'boxed_world' could not be created because the chunk generator 'BentoBox' was not found! [10:48:57 ERROR]: [My_Worlds] Failed to (pre)load world: boxed_world [10:48:57 INFO]: [My_Worlds] Loading world 'boxed_world/seed_nether' using chunk generator: 'BentoBox' [10:48:57 ERROR]: [My_Worlds] World 'boxed_world/seed_nether' could not be created because the chunk generator 'BentoBox' was not found! [10:48:57 ERROR]: [My_Worlds] Failed to (pre)load world: boxed_world/seed_nether [10:48:57 INFO]: [My_Worlds] Loading world 'boxed_world_nether/bentobox' using chunk generator: 'BentoBox-Boxed' [10:48:57 ERROR]: [My_Worlds] World 'boxed_world_nether/bentobox' could not be created because the chunk generator 'BentoBox-Boxed' was not found! [10:48:57 ERROR]: [My_Worlds] Failed to (pre)load world: boxed_world_nether/bentobox [10:48:57 INFO]: [My_Worlds] Loading world 'boxed_world/seed' using chunk generator: 'BentoBox' [10:48:57 ERROR]: [My_Worlds] World 'boxed_world/seed' could not be created because the chunk generator 'BentoBox' was not found! [10:48:57 ERROR]: [My_Worlds] Failed to (pre)load world: boxed_world/seed [10:48:57 INFO]: [My_Worlds] Loading world 'Spawn' [10:48:57 INFO]: Preparing start region for dimension minecraft:spawn [10:48:57 INFO]: Time elapsed: 151 ms [10:48:57 INFO]: [WorldGuard] (Spawn) TNT ignition is PERMITTED. [10:48:57 INFO]: [WorldGuard] (Spawn) Lighters are PERMITTED. [10:48:57 INFO]: [WorldGuard] (Spawn) Lava fire is PERMITTED. [10:48:57 INFO]: [WorldGuard] (Spawn) Fire spread is UNRESTRICTED. [10:48:57 INFO]: [WorldGuard] Loaded configuration for world 'Spawn' [10:48:57 INFO]: [My_Worlds] Loading world 'boxed_world/seed_base' using chunk generator: 'BentoBox' [10:48:57 ERROR]: [My_Worlds] World 'boxed_world/seed_base' could not be created because the chunk generator 'BentoBox' was not found! [10:48:57 ERROR]: [My_Worlds] Failed to (pre)load world: boxed_world/seed_base [10:48:57 INFO]: [My_Worlds] Loading world 'boxed_world/seed_nether_base' using chunk generator: 'BentoBox' [10:48:57 ERROR]: [My_Worlds] World 'boxed_world/seed_nether_base' could not be created because the chunk generator 'BentoBox' was not found! [10:48:57 ERROR]: [My_Worlds] Failed to (pre)load world: boxed_world/seed_nether_base [10:48:57 INFO]: [My_Worlds] Loading world 'normal_flat' [10:48:57 INFO]: Preparing start region for dimension minecraft:normal_flat [10:48:57 INFO]: Time elapsed: 45 ms [10:48:57 INFO]: [WorldGuard] (normal_flat) TNT ignition is PERMITTED. [10:48:57 INFO]: [WorldGuard] (normal_flat) Lighters are PERMITTED. [10:48:57 INFO]: [WorldGuard] (normal_flat) Lava fire is PERMITTED. [10:48:57 INFO]: [WorldGuard] (normal_flat) Fire spread is UNRESTRICTED. [10:48:57 INFO]: [WorldGuard] Loaded configuration for world 'normal_flat' [10:48:57 INFO]: [My_Worlds] Loading world 'boxed_world_nether' using chunk generator: 'BentoBox' [10:48:57 ERROR]: [My_Worlds] World 'boxed_world_nether' could not be created because the chunk generator 'BentoBox' was not found! [10:48:57 ERROR]: [My_Worlds] Failed to (pre)load world: boxed_world_nether

tastybento commented 5 months ago

Apart from getting this error, is there any problem? I believe that MyWorlds is trying to preload the world but it cannot because the world is not loaded yet. It does manage to load it later.

Projecki commented 3 months ago
image

I am also dealing with this same issue.

After /box reset, area around box spawn not generating properly.

Logs do not seem out of the ordinary: https://pastebin.com/9DAPqh6g

I am using MultiverseCore, though.

Additionally - none of my boxed worlds are my default world.

I cannot recreate this bug consistently. But figured I'd chime in to let you know this is still happening sometimes.

image

Projecki commented 2 months ago

@MrZero1 BentoBox does not support area-radius values that are not divisible by 16. Change your area-radius to 320, 160, etc. and delete the world + bentobox database and start from scratch to fix your issue.

tastybento commented 2 months ago

This is Boxed-specific and I have made changes to Boxed so that settings will be adjusted to be every 16 blocks going forward.