GrzybcioRynek

Ratings

Rating 1–5 once per transaction — chat prompt after purchase or click in history.

Compatible with: GrzybcioRynek 1.0.3Minecraft 26.2Web 0.1.0

Based on GrzybcioRynek 1.0.3 and web 0.1.0 source.

Seller rating: number 1–5, one per transaction. Storage: market-data.ymlratings. Entry: ChatInputManager.requestRating.

Flag

yaml
ratings:
  enabled: true

When false, there is no prompt after purchase. History does not show “click to rate”. Existing ratings stay in YAML and on the seller profile.

When the prompt appears

  1. After COMPLETED in buyItem, if ratings.enabled — immediately on the buyer's chat.
  2. Click a record in HistoryGUI (purchases tab) when the TX is not yet rated.

Text: messages.rating.prompt ({seller}).

Validation

InputResult
15rating.success ({stars}, {seller}), save
other number / textrating.invalid
TX already ratedrating.already
cancel / anulujrating.cancelled

Data

One rating = seller UUID + transaction ID + stars + timestamp. Profile (SellerProfileGUI slot 14) shows average and {count}.

There is no player edit or delete of a rating. Admin has no separate command to clear ratings — only manual edit of market-data.yml (not recommended while the server is running).