GrzybcioRynek

GUI problems

Empty listing-slots, no listings, search filter, and hardcoded browse bar 45–53.

Compatible with: GrzybcioRynek 1.0.3Minecraft 26.2Web 0.1.0

Based on GrzybcioRynek 1.0.3 and web 0.1.0 source.

GUI is a Bukkit inventory. An empty view has three real causes in 1.0.3.

1. Bad listing-slots

gui.ymlbrowse.listing-slots (default 10–16, 19–25, 28–34). GuiConfigManager places listings only in those slots.

If the array is empty or slots are outside browse.size (default 54), the listing grid is empty even with data in listings.yml.

Action bar 45–53 is hardcoded in MarketBrowseGUI. Putting listings on 45–53 overlaps Search / Sort / Categories / …

settings.gui-rows does not control size — only browse.size.

2. No listings

ListingQueryService reads StorageManager.getAllListings(). Zero listings = empty slots + filler (when filler.enabled).

Check startup log: Załadowano <n> aktywnych ofert. and /market admin list.

3. Search filter

/market search <query> or the Search button sets BrowseContext.searchQuery. ItemSearchUtil.matches requires a hit on:

  • Material.name or spaced name,
  • display name / lore (no colors),
  • nexoId / oraxenId,
  • seller nick,
  • #id or bare number.

No hit: empty GUI, possibly search.no-results for the command. Cancel chat: cancel / anuluj.

Category filter (MarketCategory) also hides listings (axes are in WEAPONS).

Filler and border

browse.filler.enabled: false disables glass empty slots. That does not hide listings — only the background.

/market reload reloads gui.yml (GuiConfigManager.reload). Reload is blocked while listings are reserved.

Click does nothing

InventoryGUI.onClick cancels the event and handles only the top inventory. Clicks in the player inventory are ignored. Unhandled slots (filler) have an empty consumer.

History from GUI vs command

history.enabled: false blocks /market history (hardcoded Historia transakcji jest wyłączona.). The History button on browse (slot 53) does not check that flag.