Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Kits 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:
- # expression: 'BukkitPlayer.hasPermission("some.permission");'
- # deny_commands:
- # - '[message] &cYou dont have permission to view that 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, for player heads use the format 'head;<players name/%player_name%>'>
- # 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>
- # permission: <the lowest priority item a player has permission for ex: 1, 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>
- # 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]'
- # right_click_commands:
- # - '[player] spawn'
- #
- # 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
- # ==============================================================
- #
- # Click requirement information
- #
- # You can now add 'click requirements' to left and right click commands!'
- # These are defined per item and must follow a specific format:
- #
- # 'item_one':
- # material: DIAMOND
- # slot: 3
- # left_click_commands:
- # - '[close]'
- # - '[message] You were charged 100 dollars for clicking that item!'
- # - '[console] eco take %player% 100'
- # left_click_requirement:
- # expression: '%vaulteco_balance% > 100'
- # deny_commands:
- # - '[close]'
- # - '[message] &cYou dont have 100 dollars to click that item'
- # right_click_commands:
- # - '[close]'
- # - '[message] You had permission to click that item!'
- # right_click_requirement:
- # expression: 'BukkitPlayer.hasPermission("some.permission.toclick")'
- # deny_commands:
- # - '[close]'
- # - '[message] &cYou dont have permission to click that item'
- #
- # Every left/right_click_requirement MUST have an expression specified that would return a boolean (true/false)
- # These expressions must also follow JavaScript format as they are all javascript based!
- #
- # deny_commands: are optional and will be executed if the expression returns false.
- # You may use placeholders in your Javascript expressions to evaluate if the player meets the requirement or not.
- # You may also use a few keywords which give you access to the Player class and Bukkit.Server class if you understand the Bukkit API
- #
- # BukkitPlayer - references the Player object your expression is evaluating.
- # BukkitServer - references Bukkit.getServer() in the Bukkit API.
- #
- # The choice to use this system to evaluate if a player meets requirements to click an item was an easy choice.
- # This way I do not have to hook into every plugin to check if a player meets the requirement to click an item successfully.
- # You can simply use placeholders, or the keywords provided to give you access to the Player and Server objects.
- # If you want to check if a player has enough money, simply use an expression like so:
- #
- # expression: '%vaulteco_balance% >= 100' (checks if players balance is greater than or equal to 100)
- # If you want to charge the player, simply run the economy command to take the amount from the players balance in your click_commands
- # which will be executed if the player meets the requirement!
- # ==============================================================
- #
- # View requirement information
- #
- # You can add a 'view requirement' to an item if it has a priority value set for it
- # The view requirement has replaced the 'permission' entry for items
- # This allows you to specify a specific requirement in javascript for the item to be shown
- # In order to use view requirements, the item must have a priority value and a valid javascript expression
- # that returns true or false.
- #
- # 'item_one':
- # material: DIAMOND
- # slot: 3
- # priority: 1
- # view_requirement: '%vaulteco_balance% > 100'
- # 'item_two':
- # material: IRON_INGOT
- # slot: 3
- # priority: 2
- # view_requirement: 'BukkitPlayer.hasPermission("some.permission")'
- # 'item_three':
- # material: STONE
- # slot: 3
- # priority: 3
- #
- # In the example above, the priority 1 item view requirement will be checked first, if a player has over 100 dollars, that item will be shown.
- # If the player does not meet the requirement for the first item, the item with priority 2 will be checked. If the player does not have the permission
- # node some.permission, the final item 'item_three' will be set to slot 3 as the player did not meet the requirement for the first 2 items with
- # a higher priority.
- #
- # You may use placeholders in your Javascript expressions to evaluate if the player meets the requirement or not.
- # You may also use a few keywords which give you access to the Player class and Bukkit.Server class if you understand the Bukkit API
- #
- # BukkitPlayer - references the Player object your expression is evaluating.
- # BukkitServer - references Bukkit.getServer() in the Bukkit API.
- #
- # The choice to use this system to evaluate if a player meets requirements to click an item was an easy choice.
- # This way I do not have to hook into every plugin to check if a player meets the requirement to click an item successfully.
- # You can simply use placeholders, or the keywords provided to give you access to the Player and Server objects.
- # If you want to check if a player has enough money, simply use an expression like so:
- #
- # view_requirement: '%vaulteco_balance% >= 100' (checks if players balance is greater than or equal to 100)
- # ==============================================================
- menu_title: ' &8&l--[&b&lSkyCrush&8&l]--'
- menu_title_update_interval: 12
- open_command:
- - kit
- - kits
- - ekit
- - ekits
- size: 54
- update_interval: 1
- items:
- items:
- '1':
- material: 160
- data: 7
- slot: 0
- display_name: '&7'
- '2':
- material: 160
- data: 7
- slot: 1
- display_name: '&7'
- '3':
- material: 160
- data: 7
- slot: 2
- display_name: '&7'
- '4':
- material: 160
- data: 7
- slot: 3
- display_name: '&7'
- '5':
- material: 160
- data: 7
- slot: 4
- display_name: '&7'
- '6':
- material: 160
- data: 7
- slot: 5
- display_name: '&7'
- '7':
- material: 160
- data: 7
- slot: 6
- display_name: '&7'
- '8':
- material: 160
- data: 7
- slot: 7
- display_name: '&7'
- '9':
- material: 160
- data: 7
- slot: 8
- display_name: '&7'
- '10':
- material: 160
- data: 7
- slot: 45
- display_name: '&7'
- '11':
- material: 160
- data: 7
- slot: 46
- display_name: '&7'
- '12':
- material: 160
- data: 7
- slot: 47
- display_name: '&7'
- '13':
- material: 160
- data: 7
- slot: 48
- display_name: '&7'
- '14':
- material: 166
- slot: 49
- display_name: '&c&m----&8&m[--&r &cClose menu &8&m--]&c&m----'
- enchantments:
- - DURABILITY;1
- hide_enchantments: true
- hide_attributes: true
- left_click_commands:
- - '[close]'
- right_click_commands:
- - '[close]'
- '15':
- material: 160
- data: 7
- slot: 50
- display_name: '&7'
- '16':
- material: 160
- data: 7
- slot: 51
- display_name: '&7'
- '17':
- material: 160
- data: 7
- slot: 52
- display_name: '&7'
- '18':
- material: 160
- data: 7
- slot: 53
- display_name: '&7'
- '19':
- material: 160
- data: 7
- slot: 9
- display_name: '&7'
- '20':
- material: 160
- data: 7
- slot: 17
- display_name: '&7'
- '21':
- material: 160
- data: 7
- slot: 18
- display_name: '&7'
- '22':
- material: 160
- data: 7
- slot: 26
- display_name: '&7'
- '23':
- material: 160
- data: 7
- slot: 27
- display_name: '&7'
- '24':
- material: 160
- data: 7
- slot: 35
- display_name: '&7'
- '25':
- material: 160
- data: 7
- slot: 36
- display_name: '&7'
- '26':
- material: 160
- data: 7
- slot: 44
- display_name: '&7'
- 'memberon':
- material: 25
- slot: 13
- priority: 1
- update: true
- hide_attributes: true
- view_requirement: '"%essentials_kit_is_available_member%".equalsIgnoreCase("yes")'
- display_name: '&8Member &7Kit'
- lore:
- - ''
- - '&7Left-Click to claim kit.'
- - '&7Right-Click to preview Kit.'
- - ''
- - '&e(2 days cooldown)'
- left_click_commands:
- - '[player] kit member'
- - '[close]'
- right_click_commands:
- - '[player] hi'
- - '[close]'
- 'memberoff':
- material: barrier
- slot: 13
- priority: 2
- update: true
- display_name: '&8Member &7Kit'
- lore:
- - ''
- - '&cThis kit is on cooldown!'
- - ''
- - '&7You must wait &e%essentials_kit_time_until_available_member%'
- - '&7Before you can use this kit again.'
- 'heroon':
- material: 35
- data: 11
- slot: 29
- priority: 1
- update: true
- hide_attributes: true
- view_requirement: '"%essentials_kit_is_available_hero%".equalsIgnoreCase("yes")'
- display_name: '&9Hero &7Kit'
- lore:
- - ''
- - '&7Left-Click to claim kit.'
- - '&7Right-Click to preview Kit.'
- - ''
- - '&e(2 days cooldown)'
- left_click_commands:
- - '[player] kit hero'
- - '[close]'
- right_click_commands:
- - '[player] hi'
- - '[close]'
- 'herooff':
- material: barrier
- slot: 29
- priority: 2
- update: true
- display_name: '&9Hero &7Kit'
- lore:
- - ''
- - '&cThis kit is on cooldown!'
- - ''
- - '&7You must wait &e%essentials_kit_time_until_available_hero%'
- - '&7Before you can use this kit again.'
- 'masteron':
- material: 35
- data: 9
- slot: 30
- priority: 1
- update: true
- hide_attributes: true
- view_requirement: '"%essentials_kit_is_available_master%".equalsIgnoreCase("yes")'
- display_name: '&3Master &7Kit'
- lore:
- - ''
- - '&7Left-Click to claim kit.'
- - '&7Right-Click to preview Kit.'
- - ''
- - '&e(2 days cooldown)'
- left_click_commands:
- - '[player] kit master'
- - '[close]'
- right_click_commands:
- - '[player] hi'
- - '[close]'
- 'masteroff':
- material: barrier
- slot: 30
- priority: 2
- update: true
- display_name: '&3Master &7Kit'
- lore:
- - ''
- - '&cThis kit is on cooldown!'
- - ''
- - '&7You must wait &e%essentials_kit_time_until_available_master%'
- - '&7Before you can use this kit again.'
- 'championon':
- material: 35
- data: 10
- slot: 31
- priority: 1
- update: true
- hide_attributes: true
- view_requirement: '"%essentials_kit_is_available_champion%".equalsIgnoreCase("yes")'
- display_name: '&5Champion &7Kit'
- lore:
- - ''
- - '&7Left-Click to claim kit.'
- - '&7Right-Click to preview Kit.'
- - ''
- - '&e(2 days cooldown)'
- left_click_commands:
- - '[player] kit champion'
- - '[close]'
- right_click_commands:
- - '[player] hi'
- - '[close]'
- 'championoff':
- material: barrier
- slot: 31
- priority: 2
- update: true
- display_name: '&5Champion &7Kit'
- lore:
- - ''
- - '&cThis kit is on cooldown!'
- - ''
- - '&7You must wait &e%essentials_kit_time_until_available_champion%'
- - '&7Before you can use this kit again.'
- 'legendon':
- material: 35
- data: 1
- slot: 32
- priority: 1
- update: true
- hide_attributes: true
- view_requirement: '"%essentials_kit_is_available_legend%".equalsIgnoreCase("yes")'
- display_name: '&6Legend &7Kit'
- lore:
- - ''
- - '&7Left-Click to claim kit.'
- - '&7Right-Click to preview Kit.'
- - ''
- - '&e(2 days cooldown)'
- left_click_commands:
- - '[player] kit legend'
- - '[close]'
- right_click_commands:
- - '[player] hi'
- - '[close]'
- 'legendoff':
- material: barrier
- slot: 32
- priority: 2
- update: true
- display_name: '&6Legend &7Kit'
- lore:
- - ''
- - '&cThis kit is on cooldown!'
- - ''
- - '&7You must wait &e%essentials_kit_time_until_available_legend%'
- - '&7Before you can use this kit again.'
- 'crusheron':
- material: 35
- data: 5
- slot: 33
- priority: 1
- update: true
- hide_attributes: true
- view_requirement: '"%essentials_kit_is_available_crusher%".equalsIgnoreCase("yes")'
- display_name: '&aCrusher &7Kit'
- lore:
- - ''
- - '&7Left-Click to claim kit.'
- - '&7Right-Click to preview Kit.'
- - ''
- - '&e(2 days cooldown)'
- left_click_commands:
- - '[player] kit crusher'
- - '[close]'
- right_click_commands:
- - '[player] hi'
- - '[close]'
- 'crusheroff':
- material: barrier
- slot: 33
- priority: 2
- update: true
- display_name: '&aCrusher &7Kit'
- lore:
- - ''
- - '&cThis kit is on cooldown!'
- - ''
- - '&7You must wait &e%essentials_kit_time_until_available_crusher%'
- - '&7Before you can use this kit again.'
Advertisement
Add Comment
Please, Sign In to add comment