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: trueThe key is loaded (ConfigManager.statsEnabled) and never read anywhere in Java. false disables nothing.
What you see in the GUI
| Slot | Message key | Source |
|---|---|---|
| 10 | gui.stats.active-listings | listing count in listings.yml |
| 11 | gui.stats.your-listings | player's listings |
| 12 | gui.stats.total-sales | count of TX COMPLETED |
| 13 | gui.stats.total-volume | sum of price for completed TX |
| 14 | gui.stats.spent | sum of price as buyer |
| 15 | gui.stats.earned | sum of sellerReceived as seller |
| 16 | gui.stats.your-sales | player's sales count |
| 22 | gui.button.back | return 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 inStatsGUI
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.