web/docs/design/INGAME-GUI-FUTURE.md
2026-11-21 20:22:37 +01:00

2.6 KiB

Future ingame GUI extension

User specification, 17 November 2026. Deferred until the ingame phase. This is not approval to implement, install, upgrade servers or deploy. Continue the current website work first. Existing implementation reference: Native GUI.

Scope and sequence

Extend the existing DuneRealms GUI. Inspect gui-common, NativeMenus, MenuSession and current menu integrations before planning changes. Inventory the actions that actually exist; planned functions must not appear operational. Ingame exposes basic functions; advanced administration opens the website.

Before implementation, prepare updated Java and Bedrock wireframes without artwork and obtain design approval. Any production installation or deployment requires a separate instruction.

Shared player menu

  1. Transportation: world travel, homes, spawn and teleport requests.
  2. Communication: chat channels, private messages and replies.
  3. Exchange: browse, offer and buy items.
  4. Faction: local Home Block, claims and war gameplay.
  5. Separate payment action: /pay <player> <amount> <reference>.
  6. Website buttons for advanced management.

Two renderers, one action system

Keep existing native Floodgate forms for Bedrock. Investigate MC GUI as an optional HTML/CSS renderer for Java, retaining native Java dialogs as fallback. Check current MC GUI version and resource-pack requirements against the actual server version at that time. Do not automatically upgrade the server.

Both renderers share menu definitions, data, actions and permission checks. Reuse existing gameplay and authority systems. Keep colours, labels, category order, supported artwork and navigation consistent; pixel-identical screens are not required.

Interaction and appearance

Every action must work with one ordinary click or tap. No required right-click, shift-click, hover or drag-and-drop. Show details after selecting an entry. Provide visible quantity, confirm and cancel buttons, with consistent Back and Close positions. Purchases and other consequential actions need explicit confirmation screens.

After design approval, Java can have suitable backgrounds, frames, category art, item cards, active tabs and recognisable locked buttons. Keep animation and sound subtle.

Authority and execution

Use LuckPerms-compatible dunegui.* nodes per category and action. Visibility never grants authority: the existing action rechecks permissions, deeds, ownership, balance and all other domain conditions. Retain owner-bound sessions and prevent duplicate execution. Do not create a second gameplay or permission system for the richer renderer.