GrzybcioRynek

GUI

All GrzybcioRynek 1.0.3 menus — slots, what is in gui.yml, and what is hardcoded.

Compatible with: GrzybcioRynek 1.0.3Minecraft 26.2Web 0.1.0

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.

GUIClassSizeSlot configuration
BrowseMarketBrowseGUIgui.yml browse.size (54)listings, border, pagination, filler — YAML; bar 45–53 — Java
CategoriesMarketCategoryGUI54 hardcodedcategory slots from browse.categories
DetailMarketDetailGUI27 hardcoded4 / 11 / 13 / 15 / 22
ConfirmMarketConfirmGUIgui.yml confirm.size (27)confirm.slots
My listingsMyListingsGUI54 hardcodedlistings 10–16, 19–25, 28–34
Manage listingMyListingsGUI.Manage27 hardcodeditem 13, remove 11, cancel 15
FavoritesFavoritesGUI54 hardcodedsame listing slots
HistoryHistoryGUI54 hardcodedtabs 3 / 5, listings as above
MailboxMailboxGUI54 hardcodedclaim-all 49, page 53
AlertsAlertsGUI54 hardcodedadd 49
StatisticsStatsGUI27 hardcoded10–16 + back 22
Seller profileSellerProfileGUI27 hardcoded4 / 11–15 / 22

Browse (MarketBrowseGUI)

Size from browse.size. Listings in browse.listing-slots21 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:

SlotMaterialActionFlag
45COMPASSSearch (chat)
46HOPPERSort (cycle SortMode)
47CHESTCategories
48CHEST_MINECARTMailboxGUI always; delivery depends on mailbox.enabled
49EMERALDStatisticsstats.enabled UNUSED
50BELLAlertsprice-alerts.enabled
51GOLDEN_APPLEFavoritesfavorites.enabled
52PLAYER_HEADMy listings
53BOOKHistorydoes not check history.enabled
Warning

Moving pagination in gui.yml to slots 45–53 overlaps the action bar. The plugin does not detect collisions.

Sorting (hopper click, cycle): CHEAPESTEXPENSIVENEWESTOLDESTMOST_AMOUNTLEAST_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

SlotRole
4Favorites (toggle) — when favorites.enabled
11Buy (not own listing) → Confirm
13Item preview
15Cancel / return to browse
22Seller 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:

yaml
confirm:
  size: 27
  slots:
    confirm: 11
    item: 13
    cancel: 15
  confirm-material: LIME_CONCRETE
  cancel-material: RED_CONCRETE

Confirm 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

  1. 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

  1. Add slot 49 (chat: phrase, then max price). Click alert = remove. Pagination 48/50, page on 53, back 45.

Statistics — 27

SlotMetric
10Active listings (whole market)
11Your listings
12Sales (market)
13Market volume
14Your spending
15Your earnings
16Your sales
22Back

StatsManager.getTopSoldItems, getMostExpensive, getTopSellers, getPriceSummary are not in this GUI. stats.enabled UNUSED.

Seller profile — 27

Entry: Detail slot 22.

SlotContent
4Name (PLAYER_HEAD)
11Active listings
12Sold
13Earned
14Rating + rating count
15Show player's listings (browse with seller filter)
22Back

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.