// voxen field notes

Folia Plugin Compatibility: Why Plugins Break and How to Port Them (2026)

· 7 min read · [ GUIDE ] · by Matteo Orazietti

Folia ticks different parts of the same world on several threads at once. Most plugins assume one main thread, so they refuse to load on Folia or break when they touch the wrong part of the world. This post covers what changes, how to tell if a plugin supports Folia, what breaks, and how to port it.

What Folia changes

Folia is PaperMC's fork of Paper. Instead of ticking the whole world in one sequence, it splits the loaded chunks into regions. Each region ticks on its own, and regions tick in parallel on multiple threads. One global region handles game time, weather, the world border, game rules and console commands.

The rule that breaks plugins is simple. Only the thread that ticks a region may touch that region's data. If your code edits an entity, block or chunk in another region, it has to hand that work to a scheduler instead.

Should your server run Folia?

Most servers should not. PaperMC says Folia "won't be useful for the majority of servers". It is aimed at very high player counts and at gamemodes that spread players out across the map. The same project says it "will break most public plugins" and is "by no means a drop-in replacement for Paper". At the time of writing (November 2026), Folia has builds for 26.1.2, 26.2 and 26.3, plus older builds from 1.19.4 to 1.21.11.

AspectPaperFolia
World tickingOne main server threadRegions tick in parallel on several threads
Plugin compatibilityThe usual Bukkit, Spigot and Paper APIOnly plugins written for Folia; others break or refuse to load
Best fitAlmost every serverVery high player counts and spread-out gamemodes

How to tell if a plugin supports Folia

A plugin loads on Folia only when its plugin.yml or paper-plugin.yml contains folia-supported: true. Without the flag, Folia does not load it.

terminal — plugin.yml
name: ExamplePlugin
version: 1.0.0
main: com.example.exampleplugin.ExamplePlugin
folia-supported: true
The flag is a declaration, not proof. The code still has to follow the region rules above.
  • Open the yml inside the jar. A jar is a zip file, so any archive tool can open it.
  • A download page that says "Folia supported" is the author's claim. Test it before you trust it.

The same flag works in paper-plugin.yml, covered in Paper Plugins vs Bukkit Plugins. Check the general version first with Is My Plugin Compatible With Minecraft 26.x?.

What breaks on Folia

  • BukkitScheduler. Bukkit.getScheduler().runTask, runTaskTimer and BukkitRunnable throw UnsupportedOperationException on Folia. Search the source for them.
  • Cross-region access. Reading or changing an entity, block or chunk from a thread that does not own its region. Code that works on Paper because everything runs on one thread can fail here.
  • Global state. Static maps or counters touched from several regions or async tasks, without synchronization.

Error messages and their causes are listed in How to Fix Minecraft Plugin Errors.

Porting a plugin to Folia

Replace each scheduler call with the one that matches what the code touches. These calls also work on normal Paper, where Paper handles them internally, so one codebase can run on both.

Old callFolia replacementUse it for
Bukkit.getScheduler().runTaskgetServer().getGlobalRegionScheduler().runWork not tied to a place, such as a broadcast
runTaskLatergetServer().getGlobalRegionScheduler().runDelayedA global task after a delay
runTaskTimergetServer().getGlobalRegionScheduler().runAtFixedRateA repeating global task
Changing blocks or chunks at a locationgetServer().getRegionScheduler() with run or executeThe region that owns the location, not entities
Acting on a player or entityentity.getScheduler() with runWork that must follow the entity across regions
Database, HTTP, file workgetServer().getAsyncScheduler() with runNowAnything that should stay off the tick
terminal — Java
// Before: throws UnsupportedOperationException on Folia
Bukkit.getScheduler().runTaskTimer(this, () -> {
    Bukkit.broadcastMessage("Announcement");
}, 0L, 20L * 60);

// After: works on Folia and on Paper (20 ticks is one second)
getServer().getGlobalRegionScheduler().runAtFixedRate(this, task -> {
    Bukkit.broadcastMessage("Announcement");
}, 1L, 20L * 60);

// Before: a delayed action on one player
Bukkit.getScheduler().runTaskLater(this, () -> {
    player.sendMessage("Welcome back");
}, 20L);

// After: the task follows the player across regions
player.getScheduler().runDelayed(this, task -> {
    player.sendMessage("Welcome back");
}, null, 20L); // null: no callback if the player is removed first

Test before you ship

  1. Boot a Folia test server on one of the builds named above, with the plugin and its dependencies, on a copy of your world.
  2. Read the startup log for the plugin's enable message and any refusal or UnsupportedOperationException.
  3. Run every command with at least two players in different parts of the world, at the same time if you can.
  4. Trigger each timer and delayed task, and confirm it fires once, in the right place, while players cross region borders.
  5. Restart the server and check that the plugin's config and data files are intact.

When the plugin is abandoned

If the author has stopped updating the plugin and you only have the .jar, a Folia port means changing scheduler calls in code you may not have. Voxen Engine's Plugin Porter takes a .jar or the source, decompiles it, migrates the code with AI and recompiles it for the version you pick, from 1.8.8 up to 26.3, on Spigot, Paper or Purpur (Java 25 for 26.x). Folia is not one of its targets, so check the scheduler calls against the table above. The full walkthrough is in How to Update a Minecraft Plugin to 1.21 and 26.x.

For a new plugin, Voxen Engine writes the Java code from a plain-language description and compiles it in the cloud into a .jar. Ask for region and entity schedulers in the prompt, then test the jar on a Folia server. Five generations are free, with no card.