commands-and-permissions

Commands & permissions

/ap
Open to all players. Lists commands that specific player has permissions for.
/ap select
Permission node: autoprice.shops.shopname. Lists shops available to this player.
/ap select shopname
Permission node: autoprice.shops.shopname. Sets chosen shop as active for this player.
/ap shop
Permission node: autoprice.shops.shopname. Opens the shop GUI.
/ap shop [shop name]
Permission node: autoprice.shops.shopname. Sets active shop and opens shop if successful.
/ap name newname
Permission node: autoprice.rename. Renames the material you are holding. The name will be displayed in messages displayed after each trade and can also be configured to be displayed while hovering over a material in the shop.
/ap enable
Permission node: autoprice.enableItems. Enables (to be traded) the material you are currently holding.
/ap disable
Permission node: autoprice.disableItems. Disables (from trading) the material you are currently holding.
/ap reload
Permission node: autoprice.reload. Reads all the configurations from the file. Can be used if you made some changes to the configuration file and the plugin did not overwrite them yet. Option "ticksBetweenPriceUpdates" however is only considered while enabling the plugin (starting the server).
/ap save
Permission node: autoprice.save. Manually saves the prices and any changed information into the configuration file. This is also done automatically every time something changes and when plugin is being disabled (server shutting down).

Buy&sell permissions

  • autoprice.shops.<shop name>.sell.material.<internal material name>
  • autoprice.shops.<shop name>.buy.material.<internal material name>

Examples

  • Allow player/group to enter a shop named “default”: autoprice.shops.default
  • Allow player/group to sell “diamond axe” in shop named default: autoprice.shops.default.sell.material.DIAMOND_AXE
  • Allow player/group to buy any material in shop named “two”: autoprice.shops.two.buy.material.*
  • Allow player/group to sell any material in any shop: autoprice.shops.*.sell.material.*

Comments

Posts Quoted:
Reply
Clear All Quotes