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.yml → ratings. Entry: ChatInputManager.requestRating.
Flag
yaml
ratings:
enabled: trueWhen 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
- After
COMPLETEDinbuyItem, ifratings.enabled— immediately on the buyer's chat. - Click a record in
HistoryGUI(purchases tab) when the TX is not yet rated.
Text: messages.rating.prompt ({seller}).
Validation
| Input | Result |
|---|---|
1 … 5 | rating.success ({stars}, {seller}), save |
| other number / text | rating.invalid |
| TX already rated | rating.already |
cancel / anuluj | rating.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).