Skip to content

GUIs and Tooltips

Wonder extracts GUI definitions to config/wonder/guis/ and tooltip fragments to config/wonder/tooltips/.

Default GUI files:

FilePurpose
wonder_main.confMain Wonder hub with channel selector, trade, results, history, and cancel actions.
wonder_trade_party.confParty-based trade picker.
wonder_trade_pc.confPC-based trade picker.
wonder_history.confPaginated Wonder history view.
wonder_status.confQueue, result, summary, pool, and admin status view.

Wonder loads GUI definitions from config/wonder/guis/ on startup. There is no runtime GUI reload command in the current code path.

Default tooltip fragments:

FilePurpose
party_pokemon.confTooltip for Pokemon the player is about to submit.
result_pokemon.confTooltip for the ready result item.
history_pokemon.confTooltip for Wonder history entries.

Unlike GUIs, tooltips are reloaded through /wonder reload.

Wonder tooltip fragments can target structured data through selectors like:

  • result.payload.displayData.name
  • result.attributes.form
  • history.attributes.iv_total

Wonder also registers custom selector and MoLang support through WonderTooltipSelector and WonderTooltipMolang, so tooltip conditions can react to Wonder-specific payload fields.