forked from unimatrix/web
49 lines
2.5 KiB
Markdown
49 lines
2.5 KiB
Markdown
# DuneRealms market menus
|
||
|
||
Uses [MC GUI by resourcepack.ai](https://github.com/resourcepack-ai/mcgui),
|
||
unmodified release 0.8.6 (`ab8df61f0fd754008a4bf5bde37dbaa6d1911be5`).
|
||
MCGUI remains a separate plugin. Its renderer, shaders and framework are not
|
||
bundled or renamed as DuneRealms code.
|
||
|
||
The shared market presentation covers the Codex, House selector, Mentat, Guild
|
||
travel, organisation panels, quest cards, Exchange and saved item previews.
|
||
It follows the bundled market's shelves and large selected-item showcase, with
|
||
DuneRealms artwork, compact season logo, green/gold borders and buttons. Ingame
|
||
quests retain their blue accent. All text is escaped; page content cannot
|
||
introduce commands or permissions.
|
||
|
||
Cards select a preview. Only the showcase action button executes the existing
|
||
menu callback. The original player/world/session gate still enforces one action.
|
||
Purchases, research samples, quests, House changes and claims keep their existing
|
||
Jarvis authorization and transactions. Prices are still entered through chat.
|
||
|
||
Enable only after installing MCGUI and its current resource pack:
|
||
|
||
```yaml
|
||
# plugins/DunerealmsGUI/config.yml
|
||
mcgui:
|
||
enabled: true
|
||
```
|
||
|
||
Open the new menu with `/menu`. `/drgui pack` requests both the item artwork
|
||
and the MCGUI pack without removing either from the client's pack stack.
|
||
Java players who have not loaded the new pack are offered it rather than
|
||
silently opening the old menu. Without MCGUI, or on Floodgate/Bedrock,
|
||
the current inventory menus or Bedrock forms remain available. MC GUI requires
|
||
a 1.21.11+ server. The initial rollout is the lobby only; no world regeneration.
|
||
|
||
Home and Back stay in the header. Trade quantity presets (16/32/64) and
|
||
price +/- controls act directly, without first selecting a showcase card.
|
||
Price changes are bounded to 0.01–1,000,000 DM; listing confirmation still
|
||
uses the existing central transaction. Exact private text entry is optional.
|
||
The Java runtime needs fontconfig, HarfBuzz and a system font installed.
|
||
|
||
`art-manifest.json` pins existing DuneRealms PNG artwork for the runtime's
|
||
`plugins/DunerealmsGUI/mcgui/art/` folder. Vanilla icon PNGs come from the existing
|
||
Minecraft 1.21.8 client assets; no external browser or second Jarvis connection
|
||
is introduced.
|
||
|
||
Validation uses the actual MCGUI HTML renderer, including its hit testing, plus
|
||
the normal GUI build/session tests. An isolated Paper probe checked the current
|
||
network inventory stream through 1.21.8 → 1.21.11 → 1.21.8 with three sample
|
||
items. This is a compatibility sample, not a claim that every item was tested.
|

Staff