Does paper break chunk loaders?
I built a chunk loader in my paper server using the latest version and it doesnt work. It just sends minecarts back and forth through portals pretty much. Does paper fix this or something? How can I bring this functionality back?
9 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by toil_ette#0
Also the chunk loader works its just like the basic principle of the loader
You could use WorldGuard along with WorldGuard Extra Flags to disable chunk unloading. The way it works is it adds a chunk ticket internally, which will prevent Spigot from unloading the chunk unless that ticket is specifically removed. This is part of the Spigot API, so it works pretty well
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Chunk.html#addPluginChunkTicket(org.bukkit.plugin.Plugin)
Chunk (Spigot-API 1.20.1-R0.1-SNAPSHOT API)
declaration: package: org.bukkit, interface: Chunk
u could also just use /forceload
I would prefer a method that keeps chunkloaders instead of using a simple (and easily exploitable) command
Because everyone on my server needs the option for this, but a malicious actor could just use /forceload and do a substantial number of chunks and bring the server down to its knees
you could remove the specific patch and rebuild paper yourself 🤷
i guess my question becomes then where is it lol
I think they have some documentation on it on their site but if not ask in the papermc discord
why didnt i think of that im stupid 💀