Repository navigation
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 throws this when it creates the configuration of a new world and
config/paper-world-defaults.ymldoes not exist.The file is created again on startup and on
/paper reload, so this happens when the file is removed while the server is running and a plugin then creates a world.Before, only the generic
PluginRuntimeProblemmatched, which blamed the plugin that created the world and suggested removing it.This PR adds
WorldDefaultsMissingProblemwith a solution to restore the file from a backup or restart the server, which creates it again with default values.PluginRuntimeProblemnow skips scheduled tasks whose exception is this one, so the plugin is no longer reported as the cause.The Bukkit class references the Paper constant for that, which is harmless on Spigot because the line never appears there.
The solution does not suggest regenerating worlds, because a restart is enough and nothing in the worlds is broken.
Not covered: if a plugin creates the world inside an event handler, the exception is wrapped in an
EventExceptionand only appears asCaused by:.The new problem is still reported in that case, but the generic "Could not pass event" problem is reported as well.
Changes
WorldDefaultsMissingProblemand register it inPaperAnalyserWorldDefaultsRestoreSolutionPluginRuntimeProblempaper-world-defaults-missing-problemandpaper-world-defaults-restore-solutionpaper-world-defaults-missing-26-3.logfrom a real Paper 26.3 run