Skip to content

Aspect and emerald in-game opt-out - #39

Merged
burgerfan41 merged 1 commit into
EdenGuild:masterfrom
Good627:FINALV1REWARDSOPTOUT
Oct 23, 2026
Merged

burgerfan41 merged 1 commit into
EdenGuild:masterfrom
Good627:FINALV1REWARDSOPTOUT

Conversation

@Good627

@Good627 Good627 commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Allow members to self-service opt out of or in to aspects in-game.
  • Allow members to self-service opt out of or in to emeralds in-game.
  • Allow members to check their status relating to aspects and emeralds in-game.

Details

  • Commands:
    • Added /eden aspects optout [true|false]\ and /eden aspects optin\ to toggle aspect reward opt-out.
    • Added /eden emeralds optout [true|false]\ and /eden emeralds optin\ to toggle emerald reward opt-out.
    • Added /eden aspects status, /eden emeralds status, and /eden rewards [status]\ to query current opt-out states and pending rewards.
  • Protocol:
    • Added
      ewardStatusRequest\ query and
      ewardStatusReply\ inbound handler in \BridgeWebSocketClient.
    • Added
      ewardOptOutRequest\ dispatch and
      ewardOptOutReply\ inbound handler in \BridgeWebSocketClient.
  • User Feedback & Safety:
    • Displays red failure warnings if disconnected or on 4-second request timeout (\Failed to fetch reward status, \Failed to opt in to rewards, \Failed to opt out of rewards).
    • Displays yellow warning messages when attempting to opt in or out of a state the player is already in (\You are already opted out of <aspects|emeralds> from guild raids., \You are already opted in to <aspects|emeralds> from guild raids.).
    • Performs silent status pre-fetch on initial bridge connection (\onBridgeConnected) to track opt-out states cleanly across sessions.
  • Help:
    • Updated /eden help\ command catalog with reward and opt-out commands.

Testing

  • Added unit tests in \ est/tel/eden/mod/net/BridgeWebSocketClientOptOutTest.java\ verifying payload structure.
  • Passed ./gradlew test\ and ./gradlew spotlessJavaCheck.
  • Verified in-game commands on Wynncraft client.

@Good627
Good627 force-pushed the FINALV1REWARDSOPTOUT branch from 2925ecb to c9ed5e3 Compare October 23, 2026 13:29
@burgerfan41
burgerfan41 merged commit d2a3cad into EdenGuild:master Oct 23, 2026
1 check 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.

2 participants