Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Developer Guide for Writing Folia Plugins #287

Open
SergioK29 opened this issue Sep 7, 2024 · 0 comments
Open

Developer Guide for Writing Folia Plugins #287

SergioK29 opened this issue Sep 7, 2024 · 0 comments
Labels
status: needs triage type: feature Request for a new Feature.

Comments

@SergioK29
Copy link

SergioK29 commented Sep 7, 2024

Is your feature request related to a problem?
It's challenging for plugin developers to understand the do's and don'ts 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:

how is the thread for which a command is executed on decided? the region of executing player?
how is the thread which an event listener will run on decided? region of where the event took place?
how is the thread of a bukkit runnable decided? can it be changed or is it fixed from when it is created? What if the ticking region owning the runnable is destroyed?
Is there a way to use folia schedulers for folia servers but falling back to bukkit scheduler for regular paper servers?
What are tick thread locks? when do regions resize? will this cause issues if a region resizes while we are in the middle of something?

@SergioK29 SergioK29 added status: needs triage type: feature Request for a new Feature. labels Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage type: feature Request for a new Feature.
Projects
None yet
Development

No branches or pull requests

1 participant