DeerFolia · Configuration overview
Find DeerFolia configuration files, edit them safely, and apply changes.
Configuration files
DeerFolia stores its configuration files in the server root config/ directory:
| File | Purpose | Loaded by DeerFolia |
|---|---|---|
| deer-folia.yml | Core optimization groups: Dynamic Activation, async pathfinding, network, Lithium, POI, and AFK network | On every server start |
| kaiiju-entity-throttling.yml | Per-entity and per-region ticking limits and removal thresholds | When entity throttling is enabled in deer-folia.yml |
Folia and Paper own files such as global, world-defaults, spigot, and bukkit. Follow the upstream configuration rules for those files. DeerFolia reads the files listed above.
How the files are generated
DeerFolia creates deer-folia.yml during the first configuration load. When kaiiju-entity-throttling is true, the Kaiiju limiter also creates kaiiju-entity-throttling.yml. The file starts with entries for ZombifiedPiglin and Axolotl.
The configuration manager converts Java field names to kebab-case keys. For example, asyncPathfindingMaxThreads becomes async-pathfinding-max-threads. The manager restores missing known keys during startup. An unknown key does not enable a feature.
Recommended edit order
- Stop the server. Wait for the world save to finish.
- Copy the file you will edit. Add a date to the backup name.
- Change one feature group or one entity type.
- Check YAML indentation, colons, quotes, and list syntax.
- Start a test server. Read the complete log.
- Test with players, an entity-heavy area, or an AFK account.
- Copy the tested change to production.
How changes take effect
DeerFolia loads these files during server startup. Restart the server after every edit. Do not use Bukkit or Paper reload as a configuration reload. Restarting is required for Lithium optimizations and async pathfinding.
YAML editing notes
- Use spaces. Never use Tab.
- Write booleans as
trueorfalse. Do not quote them. - Use a dash for a list entry. Use
[]for an empty list. - Quote messages that contain colons, hashes, braces, or color symbols.
- Do not delete an unfamiliar section to hide an error. Restore the last known-good backup.
- Check the field unit before you change a value. Units can be ticks, distance, entity count, or bytes.
Continue
- DeerFolia configuration: defaults and field descriptions for
deer-folia.yml. - Entity throttling: file format, thresholds, and risks for
kaiiju-entity-throttling.yml.