Buttons
All information about the buttons
Last updated
All information about the buttons
Last updated
Before starting the configuration of the plugin, it is important to understand how zMenu works. For this you can look at this: Here you will find all the important information about how zMenu works.
All button functions can also be used here:
zShop add 9 new buttons. Tout les boutons de zShop vont avoir le prefix ZSHOP.
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.
ZSHOP_ITEM_CONFIRM
allows you to sell orders and need to confirm before purchase. To buy grades or permissions this can be very interesting
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)
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)
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.
ZSHOP_CONFIRM_PURCHASE
confirms a purchase.
ZSHOP_CONFIRM_SELL
confirms a sale.
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.
ZSHOP_SHOW_CONFIRM
will display the item that the player will purchase. Is used to confirm a purchase of a ZSHOP_ITEM_CONFIRM
.