Skip to content

Add Folia scheduler support to Bukkit platform#142

Open
bridgelol wants to merge 2 commits into
Cubxity:dev/0.3.xfrom
bridgelol:agent/folia-support
Open

Add Folia scheduler support to Bukkit platform#142
bridgelol wants to merge 2 commits into
Cubxity:dev/0.3.xfrom
bridgelol:agent/folia-support

Conversation

@bridgelol

Copy link
Copy Markdown

Adds explicit Folia support while preserving the existing Bukkit 1.8+ linkage through reflection.

Changes:

  • detect Folia and dispatch collection work through the global region scheduler
  • use the public ScheduledTask interface for delayed-task cancellation
  • mark the Bukkit plugin as folia-supported
  • skip the single-global-tick collector on Folia, where that metric is not meaningful
  • keep server, world, event, and system collectors enabled
  • make join/quit counters atomic

Verified with:
./gradlew --configure-on-demand :unifiedmetrics-platform-bukkit:assemble -x signArchives

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