Buttons
All information about the buttons
Before starting the configuration of the plugin, it is important to understand how zMenu works. For this you can look at this: https://docs.zmenu.dev/plugins-files#basic_inventory.yml Here you will find all the important information about how zMenu works.
All button functions can also be used here: https://docs.zmenu.dev/configurations/buttons
zShop add 9 new buttons. Tout les boutons de zShop vont avoir le prefix ZSHOP.
Items
ZSHOP_ITEM
Allows you to sell or buy items.
You can specify the economy for an entire configuration file by specifying the economy at the root of your file.
Items Confirm
ZSHOP_ITEM_CONFIRM
allows you to sell orders and need to confirm before purchase. To buy grades or permissions this can be very interesting
Add
ZSHOP_ADD
is used in the inventory to choose the number of items to buy or sell. It increases the number of items desired. You can choose the number, or put a placeholder (as the default plugin does)
Remove
ZSHOP_REMOVE
is used in the inventory to choose the number of items to buy or sell. It decreases the number of items desired. You can choose the number, or put a placeholder (as the default plugin does)
Buy More
ZSHOP_BUY_MORE
is used in the inventory to buy additional stacks. You have to put in there the number of items the player will buy. In the default configuration it is directly a multiple of 64, but you can put anything else.
Confirm Buy
ZSHOP_CONFIRM_PURCHASE
confirms a purchase.
Confirm Sell
ZSHOP_CONFIRM_SELL
confirms a sale.
Show
ZSHOP_SHOW
displays the item that the player will buy or sell, it will be displayed in the inventory to choose the number of items.
Show Confirm
ZSHOP_SHOW_CONFIRM
will display the item that the player will purchase. Is used to confirm a purchase of a ZSHOP_ITEM_CONFIRM
.
Last updated