GrzybcioRynek

Statistics

StatsGUI shows 7 metrics; StatsManager has more methods the GUI does not use. stats.enabled is UNUSED.

Compatible with: GrzybcioRynek 1.0.3Minecraft 26.2Web 0.1.0

Based on GrzybcioRynek 1.0.3 and web 0.1.0 source.

GUI: StatsGUI (27 slots). Data: StatsManager from active listings + completed transactions. Entry: /market stats / statystyki or emerald in browse (slot 49).

stats.enabled — UNUSED

yaml
stats:
  enabled: true

The key is loaded (ConfigManager.statsEnabled) and never read anywhere in Java. false disables nothing.

What you see in the GUI

SlotMessage keySource
10gui.stats.active-listingslisting count in listings.yml
11gui.stats.your-listingsplayer's listings
12gui.stats.total-salescount of TX COMPLETED
13gui.stats.total-volumesum of price for completed TX
14gui.stats.spentsum of price as buyer
15gui.stats.earnedsum of sellerReceived as seller
16gui.stats.your-salesplayer's sales count
22gui.button.backreturn to browse

Value in lore: gui.stats.value ({value}).

Methods outside the GUI

StatsManager also has:

  • getTopSoldItems(limit)
  • getMostExpensive(limit)
  • getTopSellers(limit)
  • getPriceSummary(material, nexoId, oraxenId) — used for the hint after listing (messages.price-hint / price-hint-none), not in StatsGUI

These rankings are not rendered in the stats menu.

Price hint

After a successful sellItem the player gets min / average / max from history for that item (material or Nexo/Oraxen ID). That is the only place where getPriceSummary reaches the player.