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

Huge performance drops - adding a queue #87

Open Aides123 opened 2 months ago

Aides123 commented 2 months ago

Is your feature request related to a problem?

There are huge lags on the server when creating many “BOXED”.

Describe the solution you'd like.

One of my ideas is to add a queue. That is, for example: 2 players create a “BOXED” and others have to wait in a queue until it generates a “BOXED” for them and only then can they try to generate their “BOXED”.

Describe alternatives you've considered.

One of my ideas is to add a queue. That is, for example: 2 players create a “BOXED” and others have to wait in a queue until it generates a “BOXED” for them and only then can they try to generate their “BOXED”.

Agreements

Other

image image

my dedicated server: image

Spark: image image image

tastybento commented 2 months ago

There was an issue identified by a sponsor around the chunk loading on BentoBox for the seed world, which seems to be also what you are seeing, so I recommend you try BentoBox 2.4.2. Also, I am working on a Boxed update that staggers the structure placements for new Boxes, so that they are only done when the chunk they are in is loaded.

tastybento commented 2 months ago

I just released the newer version of both, so please have a go with those and see.

Aides123 commented 2 months ago

yeah much better thank you

Aides123 commented 2 months ago

My server at the start reached a record of lowest performance of 0.1 TPS 😆

tastybento commented 2 months ago

Yeah the initial building of the worlds definitely is intensive!