Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # smore GUI menu configuration
- #
- # configuration layout:
- #
- # menu_title: '<title of menu goes here>'
- # inventory_type: '<add this option if you want to create a menu of a different InventoryType aside from chest>'
- # command: <command to open this menu goes here>
- # open_requirement:
- # requirements:
- # <unique name for this requirement>:
- # type: <type for this requirement>
- # <unique options per requirement type would go here>
- # deny_commands:
- # - '[message] you do not meet requirements to open this menu'
- # size: <size of this menu, increments of 9, max size is 54>
- # update_interval: <time in seconds this gui should update for a player if an item is set to uodate placeholders>
- # items:
- # <item identifier>:
- # material: <name or id>
- # material: head-<name of player>
- # material: hdb-<HeadDatabase id> (requires plugin HeadDatabase)
- # entitytype: <name of entity type for mob eggs> https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html'>
- # data: <integer, used for data values for wool etc>
- # amount: <amount of this item to show>
- # slot: <slot number to put this item, slots start at 0 and end at 53 for a size 54 inventory>
- # priority: <this is used if you have multiple items set for the same slot>
- # view_requirement: <see item view requirement info below. The lowest priority item a player meets all view requirements for will be shown>
- # update: <true/false if this item should update placeholders on the interval set for the gui menu this item is in>
- # hide_attributes: <true/false if this item should display item attributes>
- # hide_enchantments: <true/false if this item should display item enchantment / level> (useful for 'enchantment glow' items)
- # hide_effects: <true/false if this item should display item effect attributes>
- # hide_unbreakable: <true/false if this item should display item unbreakable attributes>
- # display_name: <display name to show for this item>
- # banner_meta: (this is used if you want to display a custom banner with specific patterns)
- # - <dyecolor>;<PatternType> (more information on where to find DyeColor and PatternType names below)
- # - 'RED;BASE'
- # - 'WHITE;CREEPER'
- # lore:
- # - 'placeholders can be used in the name and lore'
- # - '%<any placeholder from Papi>% shows the viewer values'
- # enchantments: valid enchantment names can be found here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html
- # - '<ENCHANTMENT>;<LEVEL>'
- # - 'SILK_TOUCH;1'
- # left_click_commands:
- # - '[close]'
- # left_click_requirement: <see how to use this option below>
- # right_click_commands:
- # - '[player] spawn'
- # right_click_requirement: <see how to use this option below>
- #
- # All keys aside from update_interval are required for this menu to be valid and loaded!
- # The only options for an item to be considered valid are material and slot!
- #
- # banner_meta must be listed with a specific format:
- # banner_meta:
- # - <DyeColor>;<PatternType>
- #
- # Valid DyeColor names can be found here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/DyeColor.html
- # Valid PatternTypes can be found here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/banner/PatternType.html
- # ==============================================================
- #
- # Requirement information
- #
- # Requirements can be set as the following:
- #
- # open_requirement: This requirement is checked when a menu is opened
- # view_requirement: This requirement determines if an item should be set in a menu slot
- # left_click_requirement: This requirement is checked when an item is left clicked
- # right_click_requirement: This requirement is checked when an item is right clicked
- #
- # Requirement types:
- # javascript - Evaluates a javascript expression that must return true or false
- # configuration options:
- # expression
- #
- # has item - Checks if a player has a specific item
- # configuration options:
- # material
- # amount
- # data
- # name
- # lore
- #
- # has money - Checks if a player has enough money (Vault required)
- # configuration options:
- # amount
- #
- # has permission - Checks if a player has a specific permission
- # configuration options:
- # permission
- #
- # string contains - Checks if a string contains another string
- # configuration options:
- # input
- # output
- #
- # string equals - Checks if a string equals another string
- # configuration options:
- # input
- # output
- #
- # stringequalsignorecase - Checks if a string equals another string ignoring case
- # configuration options:
- # input
- # output
- #
- # > - Checks if a number is greater than another number
- # configuration options:
- # input
- # output
- #
- # >= - Checks if a number is greater than or equal to another number
- # configuration options:
- # input
- # output
- #
- # == - Checks if a number is equal to another number
- # configuration options:
- # input
- # output
- #
- # <= - Checks if a number is less than or equal to another number
- # configuration options:
- # input
- # output
- #
- # < - Checks if a number is less than another number
- # configuration options:
- # input
- # output
- #
- #
- #
- # So why would we want to use requirements?
- # By default, DeluxeMenus does not require a player meet any conditions to open your menu.
- # If you want to require a menu need a certain permission node for it to be accessed, or a certain amount of money
- # for a menu to be opened, You do that with an 'open_requirement'.
- # Below is an example of how you would deny opening a menu if the viewer does not have permission:
- #
- # menu_title: 'Menu that requires permission to open'
- # open_command: testmenu
- # size: 9
- # open_requirement:
- # requirements:
- # this_requirement_name:
- # type: has permission
- # permission: 'testmenu.open'
- # deny_commands:
- # - '[message] you do not have permission to open testmenu'
- #
- #
- # Below is a full example of use cases for requirements:
- #
- # menu_title: 'Menu that requires permission to open'
- # open_command: testmenu
- # size: 9
- # open_requirement:
- # requirements:
- # this_requirement_name:
- # type: has permission
- # permission: 'testmenu.open'
- # deny_commands:
- # - '[message] you do not have permission to open testmenu'
- # items:
- # mymenuitem:
- # priority: 2
- # material: DIRT
- # slot: 0
- # name 'You dont have 100 diamonds to view this item'
- # mymenuitem:
- # priority: 1
- # material: DIAMOND
- # slot: 0
- # name 'You have lots of diamonds so you can see this item'
- # view_requirement:
- # requirements:
- # diamond_requirement:
- # type: has item
- # material: diamond
- # amount: 100
- # left_click_requirement:
- # requirements:
- # money_requirement:
- # type: '>='
- # input: '%vault_eco_balance_fixed%'
- # output: 1000
- # deny_commands:
- # - '[message] you only have %vault_eco_balance_fixed%'
- # left_click_commands:
- # - '[message] you have over 1000 dollars!'
- # right_click_requirement:
- # requirements:
- # staff_requirement:
- # type: string equals
- # input: '%vault_rank%'
- # output: staff
- # deny_commands:
- # - '[message] you are not staff'
- # right_click_commands:
- # - '[message] you are staff'
- #
- # deny_commands: are optional and will be executed if the requirement is not met.
- # ==============================================================
- menu_title: ' &b&lMORE'
- open_command:
- - moreshopdada
- - mshopadadad
- size: 53
- open_requirement:
- requirements:
- permission:
- type: has permission
- permission: mine224.perm
- deny_commands:
- - '[message] You dont have permission to open menu: smore'
- items:
- 'svukhi':
- material: 'basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNTBkZmM4YTM1NjNiZjk5NmY1YzFiNzRiMGIwMTViMmNjZWIyZDA0Zjk0YmJjZGFmYjIyOTlkOGE1OTc5ZmFjMSJ9fX0='
- slot: 9
- display_name: '&c&lVũ khí'
- lore:
- - '&b&oClick &fĐể mở Shop VŨ KHÍ'
- - ''
- - '&a&l✔'
- left_click_commands:
- - ''
- right_click_commands:
- - ''
- 'stool':
- material: 'basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjRiYTQ5Mzg0ZGJhN2I3YWNkYjRmNzBlOTM2MWU2ZDU3Y2JiY2JmNzIwY2Y0ZjE2YzJiYjgzZTQ1NTcifX19'
- slot: 18
- display_name: '&c&lTools'
- lore:
- - '&b&oClick &fĐể mở Shop TOOLS'
- - ''
- - '&c&l✖'
- left_click_commands:
- - '[openguimenu] stools'
- right_click_commands:
- - '[openguimenu] stools'
- 'sweapon':
- material: 'basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNmRlNGZlNGJiNWUzNmM5ZWFjOWYyYTc5ZGQ4NjljMTM4NmNhODUzZWYzZDljOWJjYmNiZjA3YTRjY2ZjZDViIn19fQ=='
- slot: 27
- display_name: '&c&lGiáp'
- lore:
- - '&b&oClick &fĐể mở Shop GIÁP'
- - ''
- - '&c&l✖'
- left_click_commands:
- - '[openguimenu] sgiap'
- right_click_commands:
- - '[openguimenu] sgiap'
- 'sgift':
- material: 'basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2IzYzE3YjJkZGVjMmI3MjZkNzE3YThiNWE3ZDY4Yjc3NzJmYmQ5YzA5YTNmZjRiZDJhNDEyZDI0Y2NkNDkxYyJ9fX0='
- slot: 36
- display_name: '&c&lKhác'
- lore:
- - '&b&oClick &fĐể mở Shop KHÁC'
- - ''
- - '&c&l✖'
- left_click_commands:
- - '[openguimenu] skhac'
- right_click_commands:
- - '[openguimenu] skhac'
- 'ixanh':
- material: 'basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNjBhMWNlZWRmNzI5YzRjMjFkMzVhYzQ5YTE4YWEyNWZiM2JmMTU5OGJiNjAwNjI3MzdiODc4NThlNGI1YzAwMiJ9fX0='
- slot: 10
- display_name: ''
- lore:
- - ''
- left_click_commands:
- - ''
- right_click_commands:
- - ''
- 'ixam':
- material: 'basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZDBkNzJkN2VjZmYzMmYzOWU3MDA0Yjc1OGE1M2IxNzljZmZjMTcwMzUwNGY4MzdmNTUwOTA1NzJiODgxMzkwYiJ9fX0='
- slots:
- - 19
- - 28
- - 37
- display_name: ''
- lore:
- - ''
- left_click_commands:
- - ''
- right_click_commands:
- - ''
- 'glass':
- material: '160'
- data: 7
- slots:
- - 0
- - 1
- - 2
- - 11
- - 20
- - 29
- - 39
- - 47
- - 46
- - 45
- - 48
- - 49
- - 50
- - 51
- - 52
- - 53
- display_name: '&7[...]'
- lore:
- - ''
- left_click_commands:
- - ''
- right_click_commands:
- - ''
- 'aleftXam':
- material: 'basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNTQyZmRlOGI4MmU4YzFiOGMyMmIyMjY3OTk4M2ZlMzVjYjc2YTc5Nzc4NDI5YmRhZGFiYzM5N2ZkMTUwNjEifX19'
- slots:
- - 39
- display_name: '&7⇦'
- lore:
- - ''
- left_click_commands:
- - ''
- right_click_commands:
- - ''
- 'arightXanh':
- material: 'basehead-eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNGVmMzU2YWQyYWE3YjE2NzhhZWNiODgyOTBlNWZhNWEzNDI3ZTVlNDU2ZmY0MmZiNTE1NjkwYzY3NTE3YjgifX19'
- slots:
- - 44
- display_name: '&7⇨'
- lore:
- - ''
- left_click_commands:
- - ''
- right_click_commands:
- - ''
Advertisement
Add Comment
Please, Sign In to add comment