BlockParticles icon indicating copy to clipboard operation
BlockParticles copied to clipboard

Folia Compatibility Support

Open asmolfemboi opened this issue 1 year ago • 0 comments

Describe the feature

I would like BlockParticles to support Folia, a fork of Paper that introduces regionized multithreading. Due to its different threading model, plugins that interact with the world and entities need to be thread-safe to function correctly.

Currently, BlockParticles relies on Bukkit’s synchronous behavior, which may cause compatibility issues on Folia. Adding support for Folia would ensure that particle effects work correctly without causing thread-related errors or performance issues.

Other

Folia improves server performance by running different world regions on separate threads. However, this requires plugins like BlockParticles to be adapted for thread safety.

Since BlockParticles handles particle effects that are likely spawned in different regions, ensuring compatibility with Folia’s threading model would prevent potential issues such as crashes or unintended behavior.

For more details on Folia’s API changes and requirements, you can check the official repository:
🔗 https://github.com/PaperMC/Folia

asmolfemboi avatar Feb 14 '25 19:02 asmolfemboi