Skip to content

Add Paper 26.1.1 support#2897

Merged
tastybento merged 1 commit into
developfrom
feature/paper-26.1.1-support
Apr 4, 2026
Merged

Add Paper 26.1.1 support#2897
tastybento merged 1 commit into
developfrom
feature/paper-26.1.1-support

Conversation

@tastybento
Copy link
Copy Markdown
Member

Summary

  • Add V26_1_1 as COMPATIBLE to the ServerVersion enum so BentoBox no longer shows a compatibility warning on Paper 26.1.1
  • Fix getServerVersion() to handle Paper 26+'s new version string format (26.1.1.build.14-alpha) by stripping the .build.N suffix before parsing
  • No build dependency changes — Paper dependency stays at 1.21.11 since MockBukkit doesn't support 26.1.1 yet

Test plan

  • ./gradlew clean build passes (all tests green)
  • Deployed to Paper 26.1.1 server — no compatibility warning on startup, BentoBox enables normally
  • Verified backward compatibility: old version strings (e.g. 1.21.11-R0.1-SNAPSHOT) are unaffected by the regex

🤖 Generated with Claude Code

Paper 26.1.1 uses a new year-based versioning scheme (YY.N.P) and its
getBukkitVersion() returns "26.1.1.build.14-alpha" instead of the old
"1.21.11-R0.1-SNAPSHOT" format. The ".build.N" suffix broke version
parsing, causing a compatibility warning on startup.

- Add V26_1_1 enum entry as COMPATIBLE
- Strip ".build.N" suffix before parsing the version string

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@tastybento tastybento merged commit 63160e0 into develop Apr 4, 2026
1 check passed
@tastybento tastybento deleted the feature/paper-26.1.1-support branch April 4, 2026 02:55
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Apr 4, 2026

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