GrzybcioRynek

History

Transaction history — always saved, /market history gated by history.enabled, retention only COMPLETED.

Compatible with: GrzybcioRynek 1.0.3Minecraft 26.2Web 0.1.0

Based on GrzybcioRynek 1.0.3 and web 0.1.0 source.

Every transaction from buyItem (and rollback/refund) lands in market-data.ymltransactions. history.enabled does not disable saving.

Flag vs GUI

yaml
history:
  enabled: true
  retention-days: 30
EntryChecks history.enabled?
/market history / historiaYes — when false, hardcoded: Historia transakcji jest wyłączona.
Browse button slot 53 (BOOK)No — always opens HistoryGUI

market.history from plugin.yml is not checked in Java.

GUI

HistoryGUI — 54 slots.

SlotRole
3Purchases tab (gui.history.tab-purchases)
5Sales tab (gui.history.tab-sales)
10–16, 19–25, 28–34Records
45Back
48 / 49 / 50Pagination

Empty: gui.history.empty on 22.

Lore: price, seller/buyer, fee, age. When ratings.enabled and TX unrated — gui.history.lore.rate; click starts rating on chat.

Retention

ExtendedDataStore.pruneHistory() removes records that are both:

  • older than retention-days,
  • in state COMPLETED.

ROLLED_BACK, FAILED and other states remain — needed for refunds and diagnostics.

Persistence

Always after purchase commit (addTransaction). Independent of history.enabled and stats.enabled.