Identify Paper Configuration Files and World Overrides
Paper does not use one general last-file-wins rule. Identify the setting and the Paper-version-specific path first, then compare only the supported default and world override layers that apply to it.
There is no general rule in Paper that says the last configuration file read simply wins. Each file has its own purpose; only explicitly supported settings can override a world or default setting. First check the exact setting name, then find the path that applies to your Paper version.
Which file applies?
| File | Purpose | World scope |
|---|---|---|
server.properties |
Java server settings such as MOTD and connections | Usually server-wide; individual Paper settings may have their own overrides elsewhere. |
config/paper-global.yml |
Paper settings that apply to the server as a whole | Not a general world-override layer. |
config/paper-world-defaults.yml |
Default values for Paper settings that can be set per world | Applies to worlds without their own value. |
paper-world.yml |
Different Paper settings for an individual world | Only supported keys entered here override the Paper default. |
bukkit.yml |
Bukkit settings, such as spawn limits | According to the Paper reference, certain values can be overridden by Paper world configuration. |
spigot.yml |
Spigot settings and some world values | Supported values use world-settings.default and an optional entry for the world's folder name. |
Paper places paper-global.yml in the config/ folder. In the current reference, paper-world-defaults.yml is there too; an individual world gets its overrides in paper-world.yml in the world folder. The documented current structure uses, for example, world/dimensions/<namespace>/<key>/paper-world.yml. Check the actual path in the documentation for the Paper build you are running: older versions and other forks may arrange the files differently. The Paper configuration overview shows the files and world paths.
The default paths apply only if the startup command does not select different files. With -c or --config, Paper can load a different server.properties; with -b or --bukkit-settings, a different bukkit.yml; with -S or --spigot-settings, a different spigot.yml; and with --paper-dir, a different Paper configuration directory. -w or --world sets the world name; -W or --world-dir changes the parent world folder. Check these values in the startup profile or panel before editing a file. Paper also documents that startup options which directly correspond to entries in server.properties override the value stored there. This is a specific rule for those corresponding options, not a precedence order for all configuration files. Paper lists the startup options, their default paths, and precedence behavior.
--paper or --paper-settings is the path to the old Paper configuration (default: paper.yml) and, according to Paper, is intended only for migrating it to the new format, not for new servers. Do not treat _version in paper-world.yml or internal config-version fields as freely selectable version numbers.
How Paper overrides fit together
Worlds initially inherit settings from paper-world-defaults.yml in Paper. An individual paper-world.yml changes only the keys you explicitly enter there. Everything else remains inherited from the default. By default, the per-world file contains only the version marker _version; do not copy the entire default block into every world. This keeps the intended differences visible. Paper describes this inheritance path and provides an example.
Bukkit values can also be part of this chain: the Paper reference lists spawn-limits in bukkit.yml and notes that Paper world configuration can override these values. For spigot.yml, add a key under world-settings with the world's level name for supported options. An entry for a specific world is the targeted override to the default setting there. This applies to those documented keys; it is not a precedence rule for every file. The Paper references for bukkit.yml and spigot.yml describe these exceptions and world overrides.
One familiar example is view-distance: Paper can provide per-world values for it in spigot.yml. The values, fallback rules, and separate simulation-distance are explained in the guide to view and simulation distance. This article covers only the path and origin of a value.
Find the effective value safely
- Identify the version and instance. Note Java or Bedrock, Paper or a fork, the exact server version, and the world folder in use. A file in an old test folder does not change the active instance.
- Record the full setting path. Write down the key and section, for example
entities.spawning.spawn-limits.monster. Search for that exact path in the documentation for your server version. Not every option inpaper-global.ymlcan be changed per world. - Compare only the relevant layer. For a Paper world option, first read the entry in
paper-world-defaults.yml, then the same key inpaper-world.ymlfor the affected world. For aspigot.ymloption, compareworld-settings.defaultwith the entry for the exact world folder. Check other files only when the applicable reference explicitly names them. - Keep a way back before changing anything. Stop the server cleanly and back up the affected configuration files. Change a setting at the documented location. Leave
_versionorconfig-versionfields unchanged, and do not copy a complete example configuration from another Paper version. - Check the result after startup. Check the startup output for YAML or version notices and check the feature where the value should take effect. If nothing changes, first check the active folder, exact key, and correct world. Restore the backed-up file if the server does not start correctly after the change.
A common mistake is changing a value in server.properties and assuming it applies everywhere. Paper or Spigot options can provide a more specific value for supported settings. Conversely, a file does not automatically override every setting with the same name in another system. If you only need to edit the simple text file, see Edit Minecraft server.properties correctly. For a subsequent startup failure, use the separate procedure in Minecraft server will not start.
Sources
Did this guide help? We are happy to help personally.