# Clear inventory # Allows you to delete the player's inventory on opening and return it on closing clearInventory: false
# List of buttons items: # Will display an item that has no action on the different slots slots: isPermanent: true # Allows you to set the button as permanent closeInventory: true # Allows you to close the inventory when clicking sound: ENTITY_COW_HURT # Sound played during the click pitch: 1.5 # Sound pitch volume: 0.5 # Sound volume item: # Item to be displayed # For the material please take the right material according to your version of the game # More informations here: https://zmenu.groupez.dev/configurations/informations material: GRAY_STAINED_GLASS_PANE name: "&e" slots: # List of slots to display the button - 0-9 - 18 - 27 - 17 - 26 - 35 - 36 - 44 - 46 - 47 - 49 - 51-53 example2: type: INVENTORY # Button type slot: 45 # Button slot isPermanent: true inventory: "example2"# Name of the inventory to be opened plugin: "zMenu"# You can specify the name of the plugin to be on the right inventory item: # Item to be displayed material: CHEST name: "&fClick to access" lore: - "&7to another inventory" shop: type: INVENTORY slot: 46 inventory: "example_shop" plugin: "zMenu" item: material: PAPER name: "&fSHOP" testPlaceholderHead: slot: 21 playerHead: "%player%" item: material: PLAYER_HEAD name: "&3%player_name%'s head" lore: - "&fPlayer name with PAPI eCloud Player" - "&7/papi ecloud download Player" clickActionExample: slot: 23 closeInventory: true messages: # Messages sent to the player when clicking - "&8(&6zMenu&8) &fAdd your server to the site &3Serveur Minecraft Vote" - "&8(&6zMenu&8) %link% &d!"# The %link% will be replaced by the value in openLink.message openLink: # Allows to display a link in the messages sent to the player link: "https://serveur-minecraft-vote.fr/utiliser/un/code/cadeau?code=ZMENU"# Link that will be used message: "&b&lClick here"# Message to be replaced replace: "%link%"# Text to be replaced hover: # Messages when the player will hover the text - "&bClick here !" item: material: PLAYER_HEAD # Texture of a head in base64 # Check on https://minecraft-heads.com/ url: "ewogICJ0aW1lc3RhbXAiIDogMTY1NTEwNjkxNjU3OSwKICAicHJvZmlsZUlkIiA6ICJhM2I2ZjRmOTU2ODg0YWUxYmQzYTBhYzBjY2ZiYmYxZCIsCiAgInByb2ZpbGVOYW1lIiA6ICJNYXhsZWdvMDgiLAogICJzaWduYXR1cmVSZXF1aXJlZCIgOiB0cnVlLAogICJ0ZXh0dXJlcyIgOiB7CiAgICAiU0tJTiIgOiB7CiAgICAgICJ1cmwiIDogImh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMjJmNzhiODhlMzBkYjU5MjY1Yzc0YzMwYjc1M2M1N2M0YzVkNzEwM2M5NWFjYWQ4MzJmYjI2OTNiYmFjNmNlMiIKICAgIH0KICB9Cn0=" name: "Maxlego08's head" lore: - "&fGo to &b&nhttps://serveur-minecraft-vote.fr/" - "&fClick to access the site and earn &c5€&f credits." testPage: slot: 13 page: 2 closeInventory: true # Commands sent when clicked consoleCommands: - "bc %player% is too beautiful" consoleLeftCommands: - "bc The left click" consoleRightCommands: - "bc The right click" item: material: DIAMOND name: "&fI am on page 2" messages: - "&8(&6Groupe&fZ&8) &7You have just clicked on a button" testPage2: slot: "2-22"# Shows the button on page 2 and slot 22 item: material: BOOK name: "&3Example 2" next: type: NEXT isPermanent: true slot: 50 item: material: ARROW name: "&fNext" else: #Displays another button if there is no next page. slot: 50 type: NONE isPermanent: true item: material: GRAY_STAINED_GLASS_PANE name: "&aNop" previous: type: PREVIOUS isPermanent: true slot: 48 item: material: ARROW name: "&fPrevious" else: #Displays another button if there is no previous page. slot: 48 type: NONE isPermanent: true item: material: GRAY_STAINED_GLASS_PANE name: "&aNop" # Example of a button that will use the placeholder permissions system and that will use several else button testPlaceHolder: slot: 40 item: material: IRON_INGOT name: "&fYES" placeHolder: "%player_level%" action: LOWER_OR_EQUAL value: 5 else: type: NONE slot: 40 item: material: GOLD_INGOT name: "&3YES" placeHolder: "%player_level%" action: LOWER_OR_EQUAL value: 10 else: type: NONE slot: 40 item: material: DIAMOND name: "&dYES"