Closed Boy0000 closed 1 year ago
We're aware of Folia! We have some plans to look at supporting Folia after 9.0.0's release. Since Folia is currently a fairly new project with no official releases yet, as well as (at the time of writing), no support for datapacks (via the /datapack
command for example), Folia support is not a high priority if the work required to support it turns out to be exceptionally great.
Basic Folia support has been added and will be included in the 9.0.1 release.
This Folia support doesn't support datapacks and skips the CommandAPI's datapack reloading sequence. Basic command registration works and basic arguments seem to work with no problems. Arguments that require complex (possibly thread-unsafe operations, such as the function argument, possibly anything to do with the location argument any other cross-region or world directory lookups) may not work, but these haven't been tested or explored to compile a full list of "this feature works" and "this feature doesn't work".
Implemented in the 9.0.1 release.
CommandAPI version
8.8.0
Minecraft version
1.19.3
Are you shading the CommandAPI?
Yes
What I did
Trying to load my plugin on Folia, but it fails due to CommandAPI's use of schedulers
What actually happened
CommandAPI uses schedulers in a non-supported way
What should have happened
Shouldnt have failed
Server logs and CommandAPI config
No response
Other
No response