GrzybcioRynek

Economy problems

Insufficient funds, fees, sink-account, and anti-abuse limits when listing and buying.

Compatible with: GrzybcioRynek 1.0.3Minecraft 26.2Web 0.1.0

Based on GrzybcioRynek 1.0.3 and web 0.1.0 source.

Economy = Vault + provider. The plugin has no balance of its own.

Cannot afford a purchase

Message buy.not-enough-money: Nie masz wystarczająco pieniędzy! Potrzebujesz {price}.

VaultHook.has(buyer, price) before withdraw. Price is rounded to 2 places. If has passes but withdraw fails: restore listing, WITHDRAW_FAILED.

Cannot afford listing fee

When market-fee.enabled and listing-fee-percent > 0:

text
Nie stać Cię na prowizję wystawienia ({fee}).

Failed fee withdraw returns the item to the hand.

Defaults: listing-fee-percent: 0.0, sale-fee-percent: 5.0. With enabled: false both fees = 0.

Sale fee

Buyer pays the full price. Seller receives price - fee (sellerReceived). Empty sink-account = fee burned. Non-empty: depositAccount. Sink fail does not roll back TX.

Confirm GUI shows fee.sale-preview / gui.confirm.fee and seller-net.

Anti-abuse

When anti-abuse.enabled: true:

MessageCause
Odczekaj {seconds}s przed kolejnym wystawieniem.5 s cooldown (default)
Wartość transakcji przekracza limit ({max}).price > max-transaction-value (10_000_000)
Osiągnięto limit zakupów od tego gracza ({limit}).20 purchases from that UUID in a 86400 s window

Counters are in memory — a server restart clears them.

Own listing / bad price

  • Nie możesz kupić własnego przedmiotu!
  • Nieprawidłowa cena! Cena musi być między {min} a {max} — also NaN / infinity (selftest checks this).

Offline seller

Deposit still goes to OfflinePlayer by UUID. Nick is not used. If the provider does not create offline accounts, see Vault.