Skip to content

Use async teleport to avoid thread-affinity issues#6431

Open
BoocordStudios wants to merge 1 commit intoEssentialsX:2.xfrom
BoocordStudios:2.x
Open

Use async teleport to avoid thread-affinity issues#6431
BoocordStudios wants to merge 1 commit intoEssentialsX:2.xfrom
BoocordStudios:2.x

Conversation

@BoocordStudios
Copy link

To fix teleporting on Paper Forks with parallel world ticking, chunks are going to be load async. This patch was tested for months on a server with up to 100 players and works perfectly fine.

To fix teleporting on Paper Forks with parallel world ticking, chunks are going to be load async. This patch was tested for months on a server with up to 100 players and works perfectly fine.
@mdcfe mdcfe requested a review from JRoy February 8, 2026 14:28
@mbax
Copy link
Member

mbax commented Feb 8, 2026

Surely a fork doing parallel worlds that doesn't redirect teleport calls, but also allows any old plugin to run instead of forcing the folia flag, is just a broken fork that shouldn't be catered to?

@BoocordStudios
Copy link
Author

Folia and parallel world ticking are completely different things, Folia would be RCT (regional chunk ticking).

@mbax
Copy link
Member

mbax commented Feb 8, 2026

Folia and parallel world ticking are completely different things, Folia would be RCT (regional chunk ticking).

Both, however, require plugins to be aware that different regions may tick at different times. Lots of plugins do lots of things cross-world, and require rewriting for folia not just because of same-world regions but because worlds tick separately.

@BoocordStudios
Copy link
Author

It's just the teleport, as I said. Changing it to async won't cause any issues and makes EssentialsX more compatible which is a good thing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants