GUI
All GrzybcioRynek 1.0.3 menus — slots, what is in gui.yml, and what is hardcoded.
Based on GrzybcioRynek 1.0.3 and web 0.1.0 source.
Configurable in gui.yml are only browse (browse) and purchase confirm (confirm). Other menus have size and slots in inventory.impl.* classes.
settings.gui-rows in config.yml is UNUSED.
Menu map
| GUI | Class | Size | Slot configuration |
|---|---|---|---|
| Browse | MarketBrowseGUI | gui.yml browse.size (54) | listings, border, pagination, filler — YAML; bar 45–53 — Java |
| Categories | MarketCategoryGUI | 54 hardcoded | category slots from browse.categories |
| Detail | MarketDetailGUI | 27 hardcoded | 4 / 11 / 13 / 15 / 22 |
| Confirm | MarketConfirmGUI | gui.yml confirm.size (27) | confirm.slots |
| My listings | MyListingsGUI | 54 hardcoded | listings 10–16, 19–25, 28–34 |
| Manage listing | MyListingsGUI.Manage | 27 hardcoded | item 13, remove 11, cancel 15 |
| Favorites | FavoritesGUI | 54 hardcoded | same listing slots |
| History | HistoryGUI | 54 hardcoded | tabs 3 / 5, listings as above |
| Mailbox | MailboxGUI | 54 hardcoded | claim-all 49, page 53 |
| Alerts | AlertsGUI | 54 hardcoded | add 49 |
| Statistics | StatsGUI | 27 hardcoded | 10–16 + back 22 |
| Seller profile | SellerProfileGUI | 27 hardcoded | 4 / 11–15 / 22 |
Browse (MarketBrowseGUI)
Size from browse.size. Listings in browse.listing-slots — 21 per page (10–16, 19–25, 28–34). Click listing → MarketDetailGUI.
Pagination from YAML: previous 39, page 40, next 41.
Action bar — NOT in gui.yml
Hardcoded in MarketBrowseGUI:
| Slot | Material | Action | Flag |
|---|---|---|---|
| 45 | COMPASS | Search (chat) | — |
| 46 | HOPPER | Sort (cycle SortMode) | — |
| 47 | CHEST | Categories | — |
| 48 | CHEST_MINECART | Mailbox | GUI always; delivery depends on mailbox.enabled |
| 49 | EMERALD | Statistics | stats.enabled UNUSED |
| 50 | BELL | Alerts | price-alerts.enabled |
| 51 | GOLDEN_APPLE | Favorites | favorites.enabled |
| 52 | PLAYER_HEAD | My listings | — |
| 53 | BOOK | History | does not check history.enabled |
Moving pagination in gui.yml to slots 45–53 overlaps the action bar. The plugin does not detect collisions.
Sorting (hopper click, cycle): CHEAPEST → EXPENSIVE → NEWEST → OLDEST → MOST_AMOUNT → LEAST_AMOUNT → back. Texts: messages.gui.sort.*.
Categories (MarketCategoryGUI)
54 slots. Buttons from browse.categories (slot + material). Back: slot 49 (ARROW). Selection sets category in BrowseContext and returns to browse. Enum: Categories.
Detail (MarketDetailGUI) — 27, hardcoded
| Slot | Role |
|---|---|
| 4 | Favorites (toggle) — when favorites.enabled |
| 11 | Buy (not own listing) → Confirm |
| 13 | Item preview |
| 15 | Cancel / return to browse |
| 22 | Seller profile → SellerProfileGUI |
Missing listing: barrier on 13 + cancel. Buying your own listing is blocked (buy.own-listing on attempt in buyItem; Buy button is not placed for the owner).
Confirm (MarketConfirmGUI)
From gui.yml:
confirm:
size: 27
slots:
confirm: 11
item: 13
cancel: 15
confirm-material: LIME_CONCRETE
cancel-material: RED_CONCRETEConfirm calls MarketManager.buyItem. Cancel returns to Detail.
My listings
MyListingsGUI 54. Listings in the same 21 slots as browse (hardcoded). Pagination: prev 48, page 49, next 50, back 45. Click listing → sub-GUI 27: item 13, remove 11 (/market remove logic), cancel 15.
Favorites / History
Both 54, same 21 listing slots, back 45, pagination 48/49/50.
History: Purchases tab slot 3, Sales tab slot 5. Click transaction (when ratings.enabled) starts rating on chat.
history.enabled does not disable this GUI from the browse button — only the /market history command.
Mailbox
- Claim-all slot 49. Page indicator slot 53. Prev/next 48/50, back 45. Click = claim one entry. Shift+click = relist (price on chat,
messages.relist.prompt).
Reasons in lore: expired, removed, admin-removed, admin-refund, purchase-overflow.
Alerts
- Add slot 49 (chat: phrase, then max price). Click alert = remove. Pagination 48/50, page on 53, back 45.
Statistics — 27
| Slot | Metric |
|---|---|
| 10 | Active listings (whole market) |
| 11 | Your listings |
| 12 | Sales (market) |
| 13 | Market volume |
| 14 | Your spending |
| 15 | Your earnings |
| 16 | Your sales |
| 22 | Back |
StatsManager.getTopSoldItems, getMostExpensive, getTopSellers, getPriceSummary are not in this GUI. stats.enabled UNUSED.
Seller profile — 27
Entry: Detail slot 22.
| Slot | Content |
|---|---|
| 4 | Name (PLAYER_HEAD) |
| 11 | Active listings |
| 12 | Sold |
| 13 | Earned |
| 14 | Rating + rating count |
| 15 | Show player's listings (browse with seller filter) |
| 22 | Back |
What you can and cannot
You can in YAML: browse listing slots, border, filler, category icons, browse pagination, browse/confirm size, confirm slots and materials.
You cannot in YAML: bar 45–53, Detail, My/Manage, Favorites, History, Mailbox, Alerts, Stats, SellerProfile — change requires Java edits.
Full gui.yml layout: gui.yml.