Skip to content

feat(war): hide War & Territory category and disable its features for observers - #73

Merged
burgerfan41 merged 2 commits into
EdenGuild:masterfrom
Good627:feat/hide-war-from-observers
Dec 2, 2026
Merged

burgerfan41 merged 2 commits into
EdenGuild:masterfrom
Good627:feat/hide-war-from-observers

Conversation

@Good627

@Good627 Good627 commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Hides the War & Territory category and all of its settings from observers (\BridgeStatus.UNKNOWN, \NOT_LINKED, \NOT_MEMBER) while keeping Travelers and verified Members unchanged, and disables every War & Territory runtime feature for observers:

Summary

  • Observer helper: Added \EdenModClient.isObserverStatus(BridgeStatus)\ / \isObserver()\ (!isFullMember() && !isTraveler()).
  • Config UI (\BridgeConfigScreen): Omitted \Category.WAR\ from the category dropdown, reset \selectedCategory\ from \WAR\ to \ALL\ for observers, and wrapped all \Category.WAR\ rows in \if (!observer). Saved config values remain intact once linked/verified.
  • Runtime feature gating for observers:
    • \EdenModClient: gated \WarHud.render, \BeaconManager.render, \WarDPS.onTick/onChat, \RadianceTracker.onClientTick/onChat, \AttackTimerMenu.onTick/onChat/intakeChat, \TerritoryLossTracker.onChat, \WarStartPingTracker.onChat, and \TerritoryManageMapScreen.tickExternalManageFallback.
    • \ChatScreenMixin\ & \ClientPacketListenerMixin: gated \AttackTimerMenu.mouseClicked\ and \hideEconomyMessages\ chat filtering.
    • \TerritoryManageMapScreen, \TerritoryMenuPanel, & \AbstractContainerScreenMixin: gated custom territory management screen interception, Wynntils screen cancel, and territory preset bars/guides.
  • Tests: Added \observersExcludeOnlyVerifiedMembersAndTravelers()\ in \BridgeConfigTest.java.

Verification

  • .\gradlew.bat build --console=plain\ passed (\577\ JUnit tests, \

@burgerfan41
burgerfan41 merged commit 72d8987 into EdenGuild:master Dec 2, 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.

2 participants