Hi folks, I’m a contributor to a Spigot plugin that manages and keeps selected chunks loaded at all times.
Now and then, it is possible that 500+ chunks may be set to force load at the same time, which obviously can cause performance issues and crashes. I’d like to make this behavior asynchronous, but I’m having difficulty understanding how to accomplish this given that Bukkit API calls cannot be made async (specifically org.bukkit.world.setForceLoaded() ).
Is there an effective way to accomplish this with Paper? I’m assuming that Paper asynchronously load chunks without any sort of written async routine in main?