Skip to content

Fix Pladdon loading: quote description in plugin.yml - #41

Merged
tastybento merged 3 commits into
developfrom
fix/plugin-yml-description
Aug 17, 2026
Merged

Fix Pladdon loading: quote description in plugin.yml#41
tastybento merged 3 commits into
developfrom
fix/plugin-yml-description

Conversation

@tastybento

Copy link
Copy Markdown
Member

Summary

  • The ${project.description} placeholder was interpolated unquoted into plugin.yml, and the colon in "gamemode: a" caused SnakeYAML to throw InvalidDescriptionException
  • This silently prevented ChunkBlock from registering as a Bukkit plugin (Pladdon) — it fell back to pure addon loading
  • Same YAML parse failure caused Hangar to reject the JAR as "metadata not present"
  • Fix: wrap the value in quotes so the colon is treated as literal text

Test plan

  • Rebuilt and deployed to test server — confirmed [BentoBox-ChunkBlock] Loading server plugin now appears in the log
  • Upload JAR to Hangar and verify it accepts the metadata

🤖 Generated with Claude Code

https://claude.ai/code/session_01B94CWZDoiM9VevWtXb4RxF

tastybento and others added 3 commits August 16, 2026 16:45
The project description contains a colon ("gamemode: a") which
SnakeYAML interprets as a YAML mapping separator when unquoted,
causing InvalidDescriptionException. This prevented the addon from
registering as a Bukkit plugin (Pladdon) and caused Hangar to reject
the JAR as missing metadata.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B94CWZDoiM9VevWtXb4RxF
@tastybento
tastybento merged commit a8da2db into develop Aug 17, 2026
1 check passed
@tastybento
tastybento deleted the fix/plugin-yml-description branch August 17, 2026 00:37
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant