ShopGUIPlus/Commands & permissions

From brc plugins wiki
Revision as of 16:44, 18 August 2018 by Brc (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
ShopGUIPlus Logo


Command reference

Command Description Required permission
/shop Open the main shop menu shopguiplus.shop
/shop reload Reload the configuration shopguiplus.reload
/shop [shop name] Directly open the specified shop shopguiplus.shops.<shop name> (see the paragraph below this table)
/shop [player] [shop name] Open the specified shop (or main one if none specificed) for specified player shopguiplus.others
/sell hand [quantity] Sells the item held in your hand shopguiplus.sell.hand
/sell handall Sells all items inventory which are the same as the one being held in your hand shopguiplus.sell.hand.all
/sell all Sells all items from your inventory shopguiplus.sell.all
/shop addmodifier item <player> <shop> <item> <value> [buy|sell] Add item-specific price modifier shopguiplus.shop.addmodifier
/shop addmodifier shop <player> <shop> <value> [buy|sell] Add shop-specific price modifier shopguiplus.shop.addmodifier
/shop addmodifier global <player> <value> [buy|sell] Add global price modifier shopguiplus.shop.addmodifier
/shop resetmodifier item <player> <shop> <item> [buy|sell] Reset player's item-specific price modifier shopguiplus.shop.resetmodifier
/shop resetmodifier shop <player> <shop> [buy|sell] Reset player's shop-specific price modifier shopguiplus.shop.resetmodifier
/shop resetmodifier global <player> <value> [buy|sell] Reset player's global price modifier shopguiplus.shop.resetmodifier
/shop checkmodifiers <player> Check player's current price modifiers shopguiplus.shop.checkmodifiers


Permissions

All command permissions have been listed above. However, players need additional permissions to access each shop.

You can give or revoke access to particular shops by using the shopguiplus.shops.SHOP_ID permission node where SHOP_ID is the shop id from shops.yml (for example shopguiplus.shops.food, shopguiplus.shops.armor etc.).

You can use the wildcard permission node shopguiplus.shops.* only if you are using PermissionsEx (other plugins doesn't support it). Otherwise you have to manually add permissions to access each shop.

In order to ban player from accessing particular shop just negate the corresponding permission node.


Additional permissions:

Permission Description Default for players
shopguiplus.bypassgamemode Allows to access the shop when in banned gamemode false
shopguiplus.bypassworld Allows to access the shop when in banned world false
shopguiplus.buymore Allows to use the "Buy more" feature true
shopguiplus.sellmore Allows to use the "Sell more" feature true