Folia is a Paper fork that groups chunks into regions, each with its own tick loop, to scale spread-out player workloads across CPU cores.
Overview
Folia is a fork of the Paper Minecraft server that adds regionised multithreading to the dedicated server. Nearby loaded chunks are grouped into independent regions, and each region runs its own 20 TPS tick loop on a thread pool instead of a single global main thread.
The design targets servers where players are geographically spread across the world, such as survival multiplayer or skyblock, and benefits when many cores are available. Documentation on the PaperMC site explains chunk grouping rules. Folia is maintained as a separate project and is not planned to merge into Paper soon.
Plugin compatibility is expected to be poor because most Bukkit plugins assume one main thread; authors must mark support with folia-supported: true in plugin.yml to load. New schedulers such as RegionScheduler and EntityScheduler replace classic Bukkit scheduling, and plugins must avoid cross-region data access to prevent corruption.
Operators tune Netty IO, chunk system, GC, and tick thread counts based on player counts and whether worlds were pre-generated. Hardware guidance suggests at least sixteen physical cores for large deployments.
Key features
- Parallel per-region tick loops
- Paper-based dedicated server
- Region, entity, and global schedulers
- Thread ownership checks for plugins
- Configurable tick thread pool size
- Pre-generation tuning guidance
- Async teleport APIs
- Explicit plugin compatibility flag
Use cases
- Large SMP worlds with spread-out players
- Skyblock servers with isolated islands
- High-core-count dedicated hosts
- Experimenting with multithreaded Minecraft hosting