GrzybcioRynek

First Test

First market test — /market, /wystaw, Detail→Confirm purchase, and /market admin selftest.

Compatible with: GrzybcioRynek 1.0.3Minecraft 26.2Web 0.1.0

Based on GrzybcioRynek 1.0.3 and web 0.1.0 source.

After installing the ready JAR, verify the full path: open the GUI, list an item, buy with confirmation, optionally run the admin selftest.

Prerequisites

  • Paper 26.2, plugin enabled.
  • Vault + economy, test balance on a UUID account.
  • Permissions: market.use and market.sell (default true). For selftest: market.admin.

1. Open the browser

/market

Aliases: /ah, /rynek. Same GUI: /market browse, /aukcje.

The market inventory should open (size from gui.ymlbrowse.size, default 54). The bottom bar (slots 45–53) includes search, sort, categories, mailbox, stats, alerts, favorites, my listings, history.

2. List an item

Take an item in the main hand (not air — sell.air-item).

/wystaw 25

or /market sell 25. Success: message messages.sell.success with {item} and {price} ($25). The listing appears in /market and /market my.

Price outside min-pricemax-pricesell.invalid-price. Listing limit → sell.limit-reached. 5 s cooldown (anti-abuse.listing-cooldown-seconds) → anti-abuse.cooldown.

3. Buy via GUI (Detail → Confirm)

With a second account (you cannot buy your own listing — buy.own-listing):

  1. Click the listing in the browser → Detail (MarketDetailGUI).
  2. Click buy → Confirm (MarketConfirmGUI).
  3. Confirm slot defaults to 11, cancel 15, item 13 (gui.ymlconfirm.slots).

After confirmation: buy.success, the seller receives net (minus sale-fee-percent, default 5%). With a full inventory the item may go to the mailbox (mailbox).

Example

Player A: diamond in hand, /wystaw 100. Player B opens /market, clicks the listing, Buy, Yes. B's balance drops by $100, A receives $95 at 5% fee and empty sink-account (5 burned).

4. Admin selftest

/market admin selftest

Without nicknames the plugin tries to spawn FakePlayer SellerBot and BuyerBot. If spawn fails:

/market admin selftest <seller> <buyer>

Both must be online and different. Selftest runs MarketSelfTest.run and despawns the bots at the end if it created them.

Warning

Selftest moves real economy and storage. Run it on a test server.

5. Other quick checks

CommandExpectation
/market myYour listing on the list
/market search diamentGUI with filter
/market mailboxempty or an expired item
/market admin list#id + price + type
/market admin inspect <id>UUID, Nexo/Oraxen, reservation
/market reloadreload.success (when no reserved listings)

Cancel chat prompt: cancel / anuluj.