Open Projecki opened 2 months ago
Just released our box realm today, and getting a lot of reports of boxes spawning like the one in the screenshots
structures generate at least! lol
Do you have multiverse running? Usually when the boxes generate in variable places it's because the world generator isn't working. Multiverse unfortunately isn't compatible with Boxed. It works once but on server reboot it doesn't. If you don't have Multiverse do you have something similar?
Yes, I do use multiverse.
I attempted to use MyWorlds but the plugin would not load on my setup. Their dev team wasn’t very helpful
besides, is swapping to my worlds, assuming I can get it working, safe with an already in production server?
I’ve My Worlds loading properly now on my test environment
are there any implications to swapping to My Worlds from Multiverse with my production Boxed server? Or should it be safe to drop it in
Major issues using My Worlds now
MyWorlds 1.20.6-v1-294 BKCommonLib 1.20.6-v1-1749
Boxes generate with no blocks aside from the initial blueprint!
Do you need a multi world plugin? It's not needed just for Boxed.
I do weekly resource world resets, where we use a world manager plugin to delete the resource world and create a new one & then Chunky is scripted to generate the chunks.
I can give no multiverse or my worlds a try, though.
Major issues using My Worlds now
MyWorlds 1.20.6-v1-294
BKCommonLib 1.20.6-v1-1749
Boxes generate with no blocks aside from the initial blueprint!
Also, your seed worlds may be messed up due to the Multiverse issue. What happens is that a seed world is created to copy from to the real world. But if the generator was broken then that could be messed up. If MyWorlds works fine on a clean test server then that's the issue.
Either way, you will need to solve the seed world issue if you don't want to just restart everything. You should run tests but essentially to reset you remove the additional seed world folders inside the main Boxed worlds and let them regenerate.
I see, I didn't understand that it was the initial seed world generation that could be the issue.
Correct, my worlds clean install seems to work fine - though limited testing
I'll try to replicate the issue on my dev environment, and then test deleteing the seed world folders inside the boxed worlds to let them regenerate. Thanks
And just to explain what is happening in the video- the island was made in a spot that previously had been regenerated. The seed world was void at that position so the spot was made void when the island was deleted. Then a new island was put in it.
Another less radical remedy in game make islands with your character and then unregister them and make another. Continue until you get to "good" locations that have the expected environment. Then do not delete or purge those other spots. Then when players make new islands they will always be outside of the bad generation area.
to confirm, the folders to delete are:
Boxed_World/seed Boxed_World/seed_nether
I migrated dev to My worlds & deleted the seed folders above
Despite this, the void boxes are still being used
even with no world manager plugin installed at all - BentoBox still uses old bad void boxes
Okay, so if I unregister these void boxes they won't be used anymore.
I need to confirm no new void boxes are being generated. Let me start tracking coordinates
I attempted to unregister all "bad boxes"
However, as you can see in this video - boxes generate in a linear path through the world. They go from jungle, to middle of the ocean, to jungle, to middle of the ocean etc.
This is with a world that was initially generated by multiverse, but has had Boxed_world/seed deleted & regenerated without multiverse or my worlds installed on the server
Here is a fresh install
I reset my MariaDB I reset boxed_world
I generated fresh world with only BentoBox, no multiverse nor myworlds installed
Still - boxes generate off-center from the expected spawn point.
So, is this a world different from the one that it generates by default? Are any of the configs changed at all?
No, this is the default BentoBox/Boxed seed, the only things I've changed in config are irrelevant to this i would think:
numbers of resets, default protection flags,
potentially: size of boxes
by default, bentobox has 500x500 boxes I believe
my boxes are smaller: 300x300
my boxed configuration, for reference
Yo!
Area-radius needs to be divisible by 16
Using area-radius 320, or 160 both fix issue. My current area radius 150, it breaks.
Not sure how I can fix my currently released server, however...
Ahm yes. The area radius has to be in whole chunks. I didn't think of that, but it's obvious now I think about that. I should mention that in the config.
Rectifying the server is going to be difficult because if the island sizes are different then BentoBox will refuse to start. I can't think of a way except for a reset, sorry. How many boxes have been made so far?
Around 6,000 boxes have been made, lol
I think we're just gonna tell players to live with it
The void boxes seem to be fixed by switching to my_worlds + resetting seed world - so our remaining issue is ocean boxes.
Going to release a 2nd Boxed server, we need the player slots. On this new server we'll make sure to use radius 160
@tastybento I have done more testing on generating "void boxes" specifically, like in #65
Using MyWorlds + having an area radius that is not divisible by 16 results in void boxes when boxes that players have reset are reused next server restart by BentoBox.
So MyWorlds & Multiverse both have this issue.
I'm not sure how helpful this is, since using a bad area-radius number is the nucleus for all my problems.
But I'm not able to reset my server, we have thousands of boxes. So I'm still trying to find a way to fix these issue for my players
& not using a world manager is unrealistic - vanilla MC can only load 3 worlds I believe? I need to manage my resource world specifically, among other things.
Expected behavior
Boxes generate not in ocean
Observed/Actual behavior
boxes generate in ocean sometimes
Steps/models to reproduce
make a box
BentoBox version
18:25:20 INFO: Running Invalid (UNIVERSESPIGOT) 1.20.4.
18:25:20 INFO: BentoBox version: 2.3.0 18:25:20 INFO: Database: MARIADB 18:25:20 INFO: Loaded Game Worlds: 18:25:20 INFO: boxed_world (Boxed): Overworld, Nether 18:25:20 INFO: Loaded Addons: 18:25:20 INFO: Border 4.3.0 (ENABLED) 18:25:20 INFO: Boxed 2.5.0 (ENABLED)
Plugin list
No response
Other