WebStats icon indicating copy to clipboard operation
WebStats copied to clipboard

Folia support

Open Dantevg opened this issue 2 years ago • 0 comments

Folia is a new fork of Paper centred around multithreading, and it seems to still be at an experimental stage right now. Once plugins that WebStats depends on support it, WebStats should also have support for Folia.

However, support for Folia should not come at the expense of support for Paper, as I expect the grand majority of servers will stay running Paper.

Thanks to radeon on Discord for the suggestion!

Stats sources support

  • Scoreboard: ❌ not supported

    ALL scoreboard API is considered broken (this is global state that I've not figured out how to properly implement yet)

  • Database: ✔️ probably fine
  • PlaceholderAPI: ⏳ in-progress branch

Resources

  • Note on plugin compatibility and API plans: https://github.com/PaperMC/Folia#plugin-compatibility
  • Prior art
    • LuckPerms: https://github.com/LuckPerms/LuckPerms/pull/3615/files
    • Chunky: https://github.com/pop4959/Chunky/pull/256/files
    • EssentialsX: https://github.com/EssentialsX/Essentials/pull/5291/files

To do

  • [ ] Add folia-supported: true to plugin.yml
  • [ ] Change scheduler to use one of the Folia schedulers
  • [ ] Wait for either PlaceholderAPI or the scoreboard API to start working
  • [ ] ???

Dantevg avatar Apr 17 '23 12:04 Dantevg