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 3 forks source link

Boxed Structure Generation causing lag #75

Open Projecki opened 2 months ago

Projecki commented 2 months ago

Expected behavior

not as much lag

Observed/Actual behavior

Boxed structure generation causing a lot of lag on my server: https://spark.lucko.me/tBxtxE49qv

Steps/models to reproduce

make many boxes

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

No response

tastybento commented 2 months ago

The placing itself is done by the server so that's out of my control in terms of lag. However, options are to do less of it (fewer structures) or try and do it over a longer period of time. I can investigate the second. It might be something that can be triggered when a chunk is generated rather than when the box is made. It'll need some investigation.