Closed SergioK29 closed 1 week ago
I'm pretty sure your runOnEachRegion
example would require locking the regions while it runs to prevent them from merging or splitting in the middle, all regions would have to stop ticking to process this.
Also, this is like 3-8 issues in one, you should split it up in to API requests, documentation requests, and server feature requests (the flag).
I'm pretty sure your
runOnEachRegion
example would require locking the regions while it runs to prevent them from merging or splitting in the middle, all regions would have to stop ticking to process this.Also, this is like 3-8 issues in one, you should split it up in to API requests, documentation requests, and server feature requests (the flag).
done
Is your feature request related to a problem?
It's kinda hard as a plugin developer to tell what the do's and don'ts are of writing a folia plugin
Describe the solution you'd like.
A guide for plugin developers, with code snippets for paper vs folia version of code and answering questions such as:
Also more api for async stuff maybe like instead of:
could be like this:
also a mode with strict thread checks everywhere, ensuring we are doing things correctly to avoid race conditions. For example thread checks EVERYWHERE where cross region access occurs, maybe plugin scanning for non thread-safe collections (silly idea maybe), stuff like that.
Describe alternatives you've considered.
idk
Other
No response