Skip to content

feat: add native Dialog input and RGB invite codes - #21

Merged
Command1264 merged 1 commit into
developfrom
codex/feat/dialog-rich-text
Sep 22, 2026
Merged

Command1264 merged 1 commit into
developfrom
codex/feat/dialog-rich-text

Conversation

@Command1264

Copy link
Copy Markdown
Owner

Issue #11 requires modern servers to provide native Invite Code input while preserving one Java 8 compatible JAR for legacy Spigot and Paper. This change adds runtime-detected Paper and Spigot Dialog adapters, routes successful submissions through the existing validation and confirmation flow, and falls back to private chat whenever the native API is absent or fails.

Six-character HEX invite codes now use their exact RGB value when the runtime exposes Bungee RGB colors, with the existing nearest legacy color retained on older servers. /invitecode admin doctor reports the selected Dialog provider and RGB capability.

Validation:

  • mise exec java@local-8 -- .\gradlew.bat clean check shadowJar
  • Spigot 1.8.8: Dialog=NONE, RGB=false
  • Paper 1.21.8: Dialog=PAPER, RGB=true
  • Spigot 26.2: Dialog=SPIGOT, RGB=true
  • Paper 26.2 build 128: Dialog=PAPER, RGB=true
  • All four TestLab instances started and stopped cleanly without InviteCode linkage errors or unhandled exceptions

Actual client Dialog rendering, buttons, Escape behavior, and client-side RGB appearance remain scheduled for the consolidated final human acceptance pass documented by the project test strategy.

Closes #11

@Command1264
Command1264 merged commit 575b0f8 into develop Sep 22, 2026
4 checks passed
@Command1264
Command1264 deleted the codex/feat/dialog-rich-text branch September 22, 2026 18:11
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