Change GUI size
Market browse size is set in gui.yml browse.size — settings.gui-rows is unused.
Based on GrzybcioRynek 1.0.3 and web 0.1.0 source.
Browse inventory size comes from gui.yml, not from config.yml.
Correct key
browse:
size: 5454 = 6 rows × 9 slots. Other legal Bukkit sizes are multiples of 9 (e.g. 27, 36, 45, 54).
Listing slots and border are listed beside it:
browse:
size: 54
listing-slots:
- 10
- 11
# ...
- 34If you shrink size below the highest used slot, clicks / items outside the range will break. With size: 54 the action bar 45–53 fits in the window.
Key that does NOT work
settings:
gui-rows: 6ConfigManager loads this into field guiRows. No GUI code reads it. Changing gui-rows and /market reload will not change the row count.
Do not edit settings.gui-rows expecting GUI changes. It is a dead key (loaded, unused).
Purchase confirm
Separate size:
confirm:
size: 27That is 3 rows. Slots 11 / 13 / 15 must fit inside it.
How to apply
- Edit
plugins/GrzybcioRynek/gui.yml. /market reload(or restart)./market— check slot count.
When changing size, adjust border-slots, listing-slots and remember the bar 45–53 is hardcoded — with size < 54 those buttons will not fit in the inventory.