Skip to content

feat(fancyworlds): add Folia support#212

Open
yunuservices wants to merge 3 commits intoFancyInnovations:mainfrom
yunuservices:feat/folia-support
Open

feat(fancyworlds): add Folia support#212
yunuservices wants to merge 3 commits intoFancyInnovations:mainfrom
yunuservices:feat/folia-support

Conversation

@yunuservices
Copy link
Copy Markdown

This PR adds Folia support to FancyWorlds by moving world lifecycle operations behind Paper/Folia-specific implementations.

What changed

  • add runtime Folia detection
  • add a platform abstraction for world create/unload logic
  • implement Paper and Folia world lifecycle handlers
  • update world create, world load, and world unload to use the new platform layer
  • switch forced player moves to teleportAsync
  • add Folia-safe global scheduling helpers
  • mark the plugin as Folia-supported
  • use the Folia dev bundle for compilation

Verification

Built successfully with:

  • ./gradlew :plugins:fancyworlds:compileJava
  • ./gradlew :plugins:fancyworlds:shadowJar

Note

A live Folia smoke test is still recommended before merging.

@yunuservices yunuservices marked this pull request as ready for review March 20, 2026 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant