GrzybcioRynek

gui.yml

Detailed browse and confirm slot layout — the only menus configurable in YAML.

Compatible with: GrzybcioRynek 1.0.3Minecraft 26.2Web 0.1.0

Based on GrzybcioRynek 1.0.3 and web 0.1.0 source.

File: plugins/GrzybcioRynek/gui.yml. Class: GuiConfigManager. Slots numbered from 0.

You configure only browse and confirm. Browse action bar 45–53 and all other GUIs are in Java — changing YAML will not move them.

browse.size

Typeint (must be a legal Bukkit size: 9, 18, …, 54)
Default54
EffectBukkit.createInventory(..., size, title) in MarketBrowseGUI.

Default 54 = 6 rows. settings.gui-rows does not override this (UNUSED).

With size: 36 slots 36–53 do not exist — YAML pagination (39–41) and Java bar (45–53) will fall outside the inventory. Do not shrink without also changing slots and the bar code.

browse.border-slots

Default:

0–9, 17, 18, 26, 27, 35, 36–44

This is the list of slots treated as border for decoration. Filler (browse.filler) still fills every unused slot in range 0 … size-1.

browse.listing-slots

Default 21 slots per page:

Row 2: 10 11 12 13 14 15 16 Row 3: 19 20 21 22 23 24 25 Row 4: 28 29 30 31 32 33 34

Click → MarketDetailGUI. Slot count = items per page (getItemsPerPage()).

browse.categories

Used in MarketCategoryGUI (category GUI size = 54 hardcoded). Each entry: slot + material.

KeySlotMaterialEnum
all10NETHER_STARALL
tools11DIAMOND_PICKAXETOOLS
weapons12DIAMOND_SWORDWEAPONS
armor13DIAMOND_CHESTPLATEARMOR
blocks14GRASS_BLOCKBLOCKS
food15COOKED_BEEFFOOD
farming16WHEATFARMING
redstone19REDSTONEREDSTONE
decorations20PAINTINGDECORATIONS
potions21POTIONPOTIONS
enchanted_books22ENCHANTED_BOOKENCHANTED_BOOKS
other23CHESTOTHER

You can move a button and change the icon. You cannot add a new category — the key must be MarketCategory.configKey(). Back in this GUI: slot 49 (Java).

browse.pagination

KeyDefaultRole
previous39Previous page (ARROW / gray glass when inactive)
page40Indicator gui.page-indicator ({page} {total})
next41Next page
Warning

Default pagination (39–41) sits in border-slots (36–44). It works because buttons are placed before filler. Do not set 45–53 — those slots are taken by the hardcoded action bar.

Browse action bar — NOT in this file

MarketBrowseGUI:

SlotItemAction
45COMPASSSearch (chat)
46HOPPERSort
47CHESTCategories
48CHEST_MINECARTMailbox
49EMERALDStatistics
50BELLAlerts
51GOLDEN_APPLEFavorites
52PLAYER_HEADMy listings
53BOOKHistory

Change requires Java edits.

browse.filler

yaml
filler:
  enabled: true
  material: BLACK_STAINED_GLASS_PANE
  name: " "

enabled: false — empty slots stay empty (still unmovable, button no-op). name is the pane display name.

confirm

KeyDefaultEffect
size27MarketConfirmGUI size
slots.confirm11Buy button → buyItem
slots.item13Stack preview
slots.cancel15Return to Detail
confirm-materialLIME_CONCRETEConfirm icon
cancel-materialRED_CONCRETECancel icon
filler.enabledtruePanes in empty slots
filler.materialBLACK_STAINED_GLASS_PANEPane material
filler.name" "Pane name

Button texts: messages.gui.confirm.*, not gui.yml.

Default 54-slot browse map

0 1 2 3 4 5 6 7 8 border 9 17 border 10 11 12 13 14 15 16 listings 18 26 border 19 20 21 22 23 24 25 listings 27 35 border 28 29 30 31 32 33 34 listings 36 37 38 39 40 41 42 43 44 border + pagination 39/40/41 45 46 47 48 49 50 51 52 53 action bar (Java)

What is missing here

Detail, MyListings, Manage, Favorites, History, Mailbox, Alerts, Stats, SellerProfile, Category (size 54) — slots in code. See GUI.