Skip to content

feat(motd): show project + push id, attribute on second line#2

Merged
hbrombeer merged 2 commits intomainfrom
feat/motd-format
May 6, 2026
Merged

feat(motd): show project + push id, attribute on second line#2
hbrombeer merged 2 commits intomainfrom
feat/motd-format

Conversation

@hbrombeer
Copy link
Copy Markdown
Member

Summary

Restructures the in-pod MOTD format per operator preference:

  • Line 1: §f<projectName> §8<short pushId> (project name in white, 8-char push id tail dim)
  • Line 2: §8powered by Grounds Developer Platform

PlatformEnv gains an optional pushId field sourced from GROUNDS_PUSH_ID (already set by forge's renderer for every MC workload). Whitelist sync is unaffected — pushId is purely cosmetic.

Test plan

  • ./gradlew test green (4 new MotdSetter cases)
  • ./gradlew shadowJar clean
  • After merge + new image: confirm MOTD on demo-arena reads Test Project + push-id tail / attribution

🤖 Generated with Claude Code

hbrombeer added 2 commits May 6, 2026 19:50
Restructures the in-pod MOTD per operator preference:
  Line 1: §f<projectName> §8<short pushId>
  Line 2: §8powered by Grounds Developer Platform

PlatformEnv gains an optional pushId field sourced from
GROUNDS_PUSH_ID (already wired by forge's renderer for every MC
workload). Whitelist sync is unaffected — pushId is purely cosmetic.

Adds MotdSetterTest covering the formatting + the null-pushId
fallback. testImplementation paper-api so Mockito can proxy
org.bukkit.Server at runtime.
@hbrombeer hbrombeer merged commit 6d84ef0 into main May 6, 2026
2 checks passed
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