Skip to content

Add Custom Territory Management Screen on Eden Map - #68

Closed
Good627 wants to merge 13 commits into
EdenGuild:masterfrom
Good627:feat/territory-management-screen
Closed

Good627 wants to merge 13 commits into
EdenGuild:masterfrom
Good627:feat/territory-management-screen

Conversation

@Good627

@Good627 Good627 commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Stacked on PR #66 (\ eat/territory-map). Adds a toggleable Eden Map-based custom territory management screen modeled after Wynntils' container protocol.

  • Config toggle: Adds \Custom territory management screen\ (enabled by default, visible to all players under War & Territory in Mod Menu / Config, persisted via \customTerritoryManagementScreen\ & \ erritoryManagementLegend\ in \BridgeConfig).
  • Wynntils override & Shift-bypass: Intercepts <Guild>: Territories\ and \Select Territories\ at \Minecraft.setScreen\ HEAD before Wynntils' \WrappedScreenHandler\ runs (and suppresses \TerritoryManagementScreen\ if it tries to open while enabled). Holding Shift (via \QUICK_MOVE\ or Shift key held) bypasses directly to the raw vanilla chest menu.
  • Guild management map UI (\TerritoryManageMapScreen\ & \TerritoryManagementSession):
    • Reuses Eden Map's framed border, WASD movement pass-through, Tier-0/Tier-1 map tiles, smooth zoom/pan/fly, and middle-click compass ping.
    • Displays only the guild's managed territories (auto-paged across all server container pages), auto-fitted on HQ and restoring camera across territory menu round-trips until disconnect.
    • Left-click immediately manages or queues selection toggles across pages; hover displays live container stats, storage/production bars, upgrades, and alerts.
    • Includes native Eden Territory Preset Helper bar + pulsing guide targets, collapsible bottom-left Guild Economy panel (total storage + production vs. upgrade upkeep), \Back\ / \Loadouts\ / \Apply\ (disabled/unconfirmed/confirmed state machine), \Info\ modes (\Defense/\Production/\Treasury/\Seeking), \Def/\Tres\ filters, and toggleable Highlight Color Legend.
  • Tests: \TerritoryManagementSessionTest\ (5 unit tests covering titles, multi-page slot math, lore/upkeep parsing, connection BFS, and cross-page manage/selection stepping). Verified full ./gradlew build\ (\84\ suites, \551\ tests, \

@Good627 Good627 closed this Dec 1, 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.

1 participant