Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- title: '&b&lExample Menu (%player%)'
- size: 9
- commands: examplemenu
- # optional
- permission: myperm.examplemenu
- noPermission: '&cWell.. This is too exclusive for your eyes :)'
- cooldown: 200 # 200 ticks = 10 seconds (200/20=10)
- cooldownMessage: '&cYou can only open this menu once per 10 seconds. You have to wait for another %time%'
- openActions:
- - '[msg]&aYou opened the menu :)'
- closeActions:
- - '[msg]&cYou closed the menu :('
- # menu items
- content:
- '1': # slot 1
- material: STONE
- data: 0
- amount: 2
- displayName: '&7Some random &lStone'
- lore:
- - ''
- - '&7This stone could be yours, &b%player%'
- - '&7This another lore item :)'
- enchantments:
- - DURABILITY:3
- - FIRE_ASPECT:10
- - MENDING
- itemFlags:
- - HIDE_ATTRIBUTES
- - HIDE_DESTROYS
- - HIDE_ENCHANTS
- - HIDE_PLACED_ON
- - HIDE_POTION_EFFECTS
- - HIDE_UNBREAKABLE
- unbreakable: true
- left_click_actions:
- - '[msg]&7You left-clicked a random stone'
- right_click_actions:
- - '[msg]&7You right-clicked a random stone'
- '2':
- material: head-%player%
- amount: 1
- displayName: '&b&lYour head'
- lore:
- - ''
- - '&7This is your own head'
- - '&7Don''t worry. It is not chopped off'
- itemFlags:
- - HIDE_ATTRIBUTES
- - HIDE_DESTROYS
- - HIDE_ENCHANTS
- - HIDE_PLACED_ON
- - HIDE_POTION_EFFECTS
- - HIDE_UNBREAKABLE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement