Repository navigation
Detect newer paper config versions - #192
Merged
Merged
Conversation
JulianVennen
approved these changes
Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Paper logs this when a config file has a higher
_versionthan the server supports, usually after a downgrade.Nothing was detected before.
This PR adds a problem that names the affected config and both config versions.
It suggests backing up and deleting the file, or installing the newer Paper version again.
The global and world defaults configs are reported with their path.
A single world's config is reported by world name only.
Its location depends on the Paper version: up to 1.21 it was
world_nether/paper-world.yml, but since 26.1 it isworld/dimensions/minecraft/the_nether/paper-world.yml, while the log still saysworld_nether.Newer builds name the world by its key (
minecraft:the_nether), so both forms are matched.The reset solution is deliberately not automatable, because deleting the file loses all settings in it.
VersionDowngradeSolutionis not reused, because config versions also change between Paper builds of the same Minecraft version.A custom config folder (
--paper-settings-directory) is not covered: the paths always assumeconfig/.Changes
NewerConfigVersionProblemto the Paper analyserPaperConfigResetSolution,PaperWorldConfigResetSolutionandPaperInstallNewerVersionSolutionpaper-newer-config-version-26-3.log(global, world defaults, world key)paper-newer-world-config-version-26-1-1.log(world defaults, world name)