GrzybcioRynek

Uprawnienia

Uprawnienia z plugin.yml i to, które MarketCommand naprawdę sprawdza.

Kompatybilne z: GrzybcioRynek 1.0.3Minecraft 26.2Web 0.1.0

Na podstawie kodu GrzybcioRynek 1.0.3 i web 0.1.0.

Źródło: PLugin/src/main/resources/plugin.yml. Domyślne: true = wszyscy, op = operatorzy.

Tabela

UprawnienieOpis w YAMLDefaultSprawdzane w Javie
market.usepodstawowe funkcje rynkutruetak — wejście do /market, /aukcje
market.sellwystawianietruetak — /market sell, /wystaw
market.historyhistoria transakcjitruenie
market.mailboxskrzynkatruenie
market.alertsalerty cenowetruenie
market.reloadprzeładowanie konfiguracjioptak — /market reload
market.adminzarządzanie rynkiemoptak — /market admin, usuwanie cudzych ofert

market.admin ma children: market.reload, market.history, market.mailbox, market.alerts (wszystkie true). Children nie zastępują checków — history / mailbox / alerts i tak wymagają tylko market.use.

Gdzie jest check

MiejsceCheck
MarketCommand.onCommand startmarket.use
handleSellmarket.sell
handleReloadmarket.reload lub market.admin
handleAdminmarket.admin
MarketManager.removeListingwłaściciel lub market.admin
WystawCommandmarket.use i market.sell
AukcjeCommandmarket.use
Tab-completebez market.use → pusta lista; admin tylko z market.admin

Brak uprawnienia: messages.no-permissionNie masz uprawnień do tego!

Flagi config vs permission

favorites.enabled, price-alerts.enabled, history.enabled, mailbox.enabled, ratings.enabled to nie uprawnienia. Wyłączają funkcję dla wszystkich.

history.enabled: false blokuje komendę /market history, nie przycisk GUI (slot 53).