Permissions
Permissions from plugin.yml and which ones MarketCommand actually checks.
Compatible with: GrzybcioRynek 1.0.3Minecraft 26.2Web 0.1.0
Based on GrzybcioRynek 1.0.3 and web 0.1.0 source.
Source: PLugin/src/main/resources/plugin.yml. Defaults: true = everyone, op = operators.
Table
| Permission | YAML description | Default | Checked in Java |
|---|---|---|---|
market.use | basic market features | true | yes — entry to /market, /aukcje |
market.sell | listing | true | yes — /market sell, /wystaw |
market.history | transaction history | true | no |
market.mailbox | mailbox | true | no |
market.alerts | price alerts | true | no |
market.reload | reload configuration | op | yes — /market reload |
market.admin | market management | op | yes — /market admin, remove others’ listings |
market.admin has children: market.reload, market.history, market.mailbox, market.alerts (all true). Children do not replace checks — history / mailbox / alerts still only need market.use.
Where the check is
| Place | Check |
|---|---|
MarketCommand.onCommand start | market.use |
handleSell | market.sell |
handleReload | market.reload or market.admin |
handleAdmin | market.admin |
MarketManager.removeListing | owner or market.admin |
WystawCommand | market.use and market.sell |
AukcjeCommand | market.use |
| Tab-complete | without market.use → empty list; admin only with market.admin |
No permission: messages.no-permission → Nie masz uprawnień do tego!
Config flags vs permission
favorites.enabled, price-alerts.enabled, history.enabled, mailbox.enabled, ratings.enabled are not permissions. They disable the feature for everyone.
history.enabled: false blocks the /market history command, not the GUI button (slot 53).