filoghost / HolographicDisplays

Create modern looking holograms in Minecraft.
https://dev.bukkit.org/projects/holographic-displays
GNU General Public License v3.0
370 stars 202 forks source link

Folia support #704

Closed Anon8281 closed 1 year ago

Anon8281 commented 1 year ago

Using https://github.com/Anon8281/UniversalScheduler and PaperLib

filoghost commented 1 year ago

Sorry, but adding support for Folia is not just as simple as replacing the scheduler. Their official documentation says:

There is no more main thread. I expect every single plugin that exists to require some level of modification to function in Folia. Additionally, multithreading of any kind introduces possible race conditions in plugin held data - so, there are bound to be changes that need to be made.

Holographic Displays is not designed to be used in a multithreaded environment like that, so maybe it might work for some time, but might broke in a very unexpected way one day. Race conditions are incredibly hard to spot and debug, so I'd rather avoid that.