Adding Folia Support #70
GeorgeV220
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
Another solution is to drop 1.8-1.16.5, there are forks of paper/spigot that work with Java 17/21 but plugins won't play nicely with newer java versions |
Beta Was this translation helpful? Give feedback.
0 replies
-
We could create an interface on the holoeasy-core module and create other module as spigot and folia with their custom implementation. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The main downside is that we need Java 21, which is required for both the Folia API and the newer iterations of the Paper API.
To support older versions, we could consider leveraging JvmDowngrader as a potential solution for maintaining compatibility with earlier Java versions. However, it is important to note that this route could introduce additional complexities, particularly regarding the publishing of the downgraded JAR on JitPack.
Alternatively, I suggest structuring the project so that the core module remains compatible with Java 1.8 while implementing schedulers as separate modules. The Bukkit scheduler would serve as the default, with the Folia scheduler available as an optional addition.
Beta Was this translation helpful? Give feedback.
All reactions