Add Support Folia by Euphillya · Pull Request #6476 · EssentialsX/Essentials

Information

This PR replaces #5291.

Details

Proposed feature:
I'm proposing full Folia support for Essentials.

To avoid breaking Spigot/Bukkit, I've added classes so you can use either:

  • Bukkit schedulers
  • Folia schedulers

However, I've disabled the tps function in /gc because in Folia, you can add it by iterating through the TPS of each chunk and providing information similar to Folia's /tps function, such as the highest, lowest, and median TPS.

I haven't made the modules compatible yet, as I'd like your initial feedback on whether to continue in the same direction or not.

Environments tested:

OS: Pterodactyl on Debian 13

Java version: openjdk version "25.0.2" 2026-01-20
OpenJDK Runtime Environment GraalVM CE 25.0.2+10.1 (build 25.0.2+10-jvmci-b01)
OpenJDK 64-Bit Server VM GraalVM CE 25.0.2+10.1 (build 25.0.2+10-jvmci-b01, mixed mode, sharing)

  • Folia version 1.21.11-13-ver/1.21.11@e9e85fd (2026-02-15T20:15:31Z)
  • Most recent Paper version (1.XX.Y, git-Paper-BUILD)
  • CraftBukkit/Spigot/Paper 1.12.2
  • CraftBukkit 1.8.8

Demonstration:

image