Skip to content

Add Mythic build profile and Discord integration - #19

Merged
Innygr merged 11 commits into
mainfrom
build/mythic-version-flag
Oct 17, 2026
Merged

Innygr merged 11 commits into
mainfrom
build/mythic-version-flag

Conversation

@Innygr

@Innygr Innygr commented Oct 17, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add the validated is_Mythic_version Gradle property (default false) and expose the variant in the JAR manifest.
  • Add a manual GitHub Actions boolean input and label build artifacts by variant.
  • Exclude the entire Mythic integration package from the regular public build; use reflection for optional server lifecycle hooks so the public JAR has no compile-time Mythic dependency.
  • Add server-only Discord webhook notifications for server lifecycle and player join/leave events, plus hooks for missile launch/impact/interception events.
  • Add a server-side FTB team ID → display-name/Discord-role mapping file and document configuration and limitations.

Build

  • gradle --no-daemon -Pis_Mythic_version=true build
  • gradle --no-daemon -Pis_Mythic_version=false build

Important scope note

The current Discord transport is a webhook configured on the dedicated server; it does not embed bot credentials or send secrets to clients. Missile event hooks need to be called by the future missile flight/defence handlers. FTB team mappings are currently server-admin-managed; connecting the existing bot's account-link and approval queue requires a matching authenticated API endpoint in the bot process.

@Innygr Innygr changed the title Add Mythic build flag Add Mythic build profile and Discord integration Oct 17, 2026
@Innygr
Innygr merged commit a9cf2fa into main Oct 17, 2026
2 checks passed
@Innygr
Innygr deleted the build/mythic-version-flag branch October 17, 2026 05:00
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