Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # DeluxeMenus 1.3.3 main configuration file
- #
- # check_updates: <true/false>
- # Should DeluxeMenus check if there are any updates available on Spigot and inform ops there is an update available.
- #
- # click_menu_options.crouch_to_open: <true/false>
- # Should players need to sneak to open a click menu
- #
- # ==============================================================
- # Click menu configuration:
- #
- # You can create as many click menus you like.
- # Click menus are the only menus that require a priority set for each menu.
- # The highest priority menu you have permission for will be applied when you click a player.
- # Highest priority is 1, Lowest priority is 2147483647
- # Players must have permission for a click menu to open one!
- # All click menu permissions default to false so this even applies to Ops.
- # Permission for a click menu is: deluxemenus.clickmenu.<menuName>
- # Permission to open a click menu by command is: deluxemenus.clickmenucommand
- #
- # Click menus configuration layout:
- #
- # click_menus:
- # <menuName>:
- # menu_title: <title of menu goes here>
- # priority: <priority of this menu>
- # size: <size of this menu, increments of 9, max size is 54>
- # items:
- # <item identifier>:
- # material: <name or id>
- # 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>
- # display_name: <display name to show for this item>
- # lore:
- # - 'placeholders can be used in the name and lore'
- # - '%viewer% shows the menu viewers name'
- # - '%<any placeholder from pAPI>% shows the targets values'
- # click_commands:
- # - '[player] runs this command as a player'
- # - '[player] tpa %player%'
- # - '[console] runs this command from the console'
- # - '[console] ban %player%'
- # - '[connect] connects the viewer to the specified bungee server'
- # - '[connect] Hub'
- # - '[close] closes the click menu'
- # - '[close]'
- #
- # You do not need to specify item options that you don't use!
- # The only required entries for a click menu item to be valid are:
- #
- # A valid material
- # A valid slot
- #
- # Every item in the items list must have a unique <item identifier>
- #
- # ==============================================================
- #
- # PER ITEM PERMISSION AND PRIORITY INFO:
- #
- # Per item permissions and priorities are optional.
- # High priority = 1, Lowest priority = 2147483647.
- # This allows you to show different items for a specific menu slot depending on the highest priority
- # item permission a player has. This makes your menus very dynamic :)
- #
- # You CAN NOT specify a permission without a priority!
- # You CAN specify a priority without a permission.
- # You should always create a low priority item without a permission which will act as the no permission
- # item if a player does not have permission for any of the items that require permission, otherwise
- # no item will be set in the slot if a player does not have permission for any of the permission items.
- #
- # ==============================================================
- #
- # GUI menu configuration:
- #
- # As of DeluxeMenus v1.3.3 GUI menus are a bit more advanced and
- # contain many more features than click menus. Most of these features will be implemented in click menus soon!
- #
- # You can create as many GUI menus you like.
- # Every menu name must be unique. There can not be duplicate menu names!
- # Players must have permission for a GUI menu to open one!
- # Ops should automatically have permission for any GUI menu.
- #
- # Permission to open a GUI menu is: deluxemenus.guimenu.<menuName>
- #
- # You specify the command which opens the GUI menu. Make sure this command
- # does not conflict with any existing commands on your server!
- # A GUI menu without an open command specified will not be loaded!
- #
- # GUI menus configuration layout:
- #
- # gui_menus:
- # <menuName>:
- # menu_title:
- # - '<title of menu goes here>'
- # - '<If using 1.8 you can specify many menu title frames and create animations>'
- # - '<in order for animations to work you must specify a menu_title_update_interval: ##>'
- # menu_title_update_interval: <amount of ticks to change title frames ex: 10, this is only needed if you have multiple frames>
- # command: <command to open this menu goes here>
- # 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>
- # 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'
- # display_name: <display name to show for this item>
- # 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'
- #
- #
- # You can specify if a GUI menu should be loaded from another file:
- #
- # gui_menus:
- # <menuName>:
- # file: 'menuName.yml'
- #
- # This allows you to keep your config clean and not have tons of GUI menus cluttering it.
- # The file format the GUI menu is loaded from must end in .yml
- # GUI menus loaded from other configuration files must follow a specific format as well...
- # To get started loading GUI menus from different files, simply create a GUI menu in this config and specify the file it will load from.
- # After that is done, use /dm reload and DeluxeMenus will create a folder and file specific to the GUI menu you specified.
- # If the file specified is created by DeluxeMenus (because it did not exist), a default GUI menu layout will be saved to that file.
- # From here you can edit it to your liking and use /dm reload to update your GUI menu!
- #
- # This loading from external config files is only available for gui menus and will not work for click menus yet....
- #
- # 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!
- # ==============================================================
- #
- #
- # You do not need to specify item options that you don't use!
- # The only required entries for a gui menu item to be valid are:
- #
- # A valid material
- # A valid slot
- #
- # Every item in the items list must have a unique <item identifier>
- #
- # If you choose to update placeholders for a specific item, you must specify update_interval: <time>
- # in the GUI menu options for the specific GUI menu.
- # Only GUI menus with at least one item that has update: true will update those specific items placeholders.
- #
- # Every click_command must start with a specific identifier to know what to do for the execution.
- # Valid click_command identifiers:
- #
- # [console] - Execute a command from the console
- # Usage: - '[console] <command with no slash>'
- #
- # [player] - Execute a command for the menu viewer
- # Usage: - '[player] <command with no slash>'
- #
- # [message] - Send a message to the menu viewer
- # Usage: - [message] <message to send to the player
- #
- # [close] - Close the viewers open menu
- # Usage: - '[close]
- #
- # [openguimenu] - Open a GUI menu (can only be used in GUI menu click_commands)
- # Usage: - '[openguimenu] <guiMenuName>'
- #
- # [openclickmenu] - Open a different click menu for the viewer and target (can only be used in click menu click_commands)
- # Usage: - '[openclickmenu] <clickMenuName>'
- #
- # [connect] - Connect to the specified bungee server
- # Usage: - '[connect] <serverName>'
- #
- # [commandevent] - Fire a PlayerCommandPreprocessEvent for commands that do not use the bukkit command system
- # Usage: - '[commandevent] <command with no slash>'
- #
- #
- # A NOTE WHEN EDITING THIS OR ANY DeluxeMenus CONFIGURATION FILE:
- # This config is sensitive to yaml formatting errors
- # KEEP A BACKUP WHEN EDITING YOUR FILE BEFORE UPLOADING TO YOUR SERVER!!!
- # Make sure every String you modify or add is enclosed in 'apostrophes
- check_updates: true
- click_menu_options:
- sneak_to_open: flase
- gui_menus:
- Manu-Warps:
- menu_title: '&b&lCrystal&c&lCraft Warps'
- open_command: Warp
- priority: 1
- size: 45
- items:
- '1':
- material: 57
- data: 7
- slot: 10
- display_name: '&b&lMine Warps'
- lore:
- - '&a&lClick here to access mines that is unlocked by your prison rank!'
- left_click_commands:
- - '[openguimenu] WarpRank'
- right_click_commands:
- - '[openguimenu] WarpRank'
- '2':
- material: 57
- data: 7
- slot: 11
- display_name: '&b&lDonor Warps'
- lore:
- - '&a&lClick here to access mines that is unlocked by your Donor rank!'
- left_click_commands:
- - '[openguimenu] WarpDonor'
- right_click_commands:
- - '[openguimenu] WarpDonor'
- WarpDonor:
- menu_title: '&b&lCrystal&c&lCraft DonorWarps'
- open_command: WarpRank_RanksCrystal
- priority: 1
- size: 45
- items:
- '1':
- material: 57
- data: 7
- slot: 1
- display_name: '&b&lDonorWarps'
- lore:
- - '&a&lClick here to access mines that is unlocked by your Donor rank!'
- left_click_commands:
- - '[player] Warp UnKnown'
- right_click_commands:
- - '[player] Warp UnKnown'
- WarpRank:
- menu_title: '&b&lCrystal&c&lCraft Ranks'
- open_command: WarpRank_RanksCrystalCraftRanks
- priority: 1
- size: 45
- items:
- '1':
- material: 57
- data: 7
- slot: 0
- display_name: '&a&l A'
- lore:
- - '&a&lWarps you to the A-Mine'
- left_click_commands:
- - '[player] Warp A'
- right_click_commands:
- - '[player] Warp A'
- '2':
- material: 57
- data: 0
- slot: 1
- display_name: '&9&lMine &a&lB'
- lore:
- - '&a&lClick This to go to Mine B'
- left_click_commands:
- - '[player] Warp b'
- right_click_commands:
- - '[player] Warp b'
- '3':
- material: 35
- data: 7
- slot: 2
- display_name: '&9&lMine &a&lC'
- lore:
- - '&a&lClick This to go to Mine C'
- left_click_commands:
- - '[player] Warp c'
- right_click_commands:
- - '[player] Warp c'
- '4':
- material: 57
- data: 0
- slot: 3
- display_name: '&9&lMine &a&lD'
- lore:
- - '&a&lClick This to go to Mine D'
- left_click_commands:
- - '[player] Warp d'
- right_click_commands:
- - '[player] Warp d'
- '5':
- material: 35
- data: 7
- slot: 4
- display_name: '&9&lMine &a&lE'
- lore:
- - '&a&lClick This to go to Mine E'
- left_click_commands:
- - '[player] Warp e'
- right_click_commands:
- - '[player] Warp e'
- '6':
- material: 57
- data: 0
- slot: 5
- display_name: '&9&lMine &a&lF'
- lore:
- - '&a&lClick This to go to Mine F'
- left_click_commands:
- - '[player] Warp f'
- right_click_commands:
- - '[player] Warp f'
- '7':
- material: barrier
- data: 0
- slot: 7
- display_name: '&c&lCLOSE'
- lore:
- - '&a&lClick This to go Back the the Main Menu'
- left_click_commands:
- - '[close]'
- right_click_commands:
- - '[close]'
- '8':
- material: 35
- data: 11
- slot: 9
- display_name: '&9&lMine &a&lG'
- lore:
- - '&a&lClick This to go to Mine G'
- left_click_commands:
- - '[player] Warp g'
- right_click_commands:
- - '[player] Warp g'
- '9':
- material: 133
- data: 0
- slot: 10
- display_name: '&9&lMine &a&lH'
- lore:
- - '&a&lClick This to go to Mine H'
- left_click_commands:
- - '[player] Warp h'
- right_click_commands:
- - '[player] Warp h'
- '10':
- material: 35
- data: 11
- slot: 11
- display_name: '&9&lMine &a&lI'
- lore:
- - '&a&lClick This to go to Mine I'
- left_click_commands:
- - '[player] Warp i'
- right_click_commands:
- - '[player] Warp i'
- '11':
- material: 133
- data: 0
- slot: 12
- display_name: '&9&lMine &a&lJ'
- lore:
- - '&a&lClick This to go to Mine J'
- left_click_commands:
- - '[player] Warp j'
- right_click_commands:
- - '[player] Warp j'
- '12':
- material: 35
- data: 11
- slot: 13
- display_name: '&9&lMine &a&lK'
- lore:
- - '&a&lClick This to go to Mine K'
- left_click_commands:
- - '[player] Warp k'
- right_click_commands:
- - '[player] Warp k'
- '17':
- material: 57
- data: 0
- slot: 18
- display_name: '&9&lMine &a&lL'
- lore:
- - '&a&lClick This to go to Mine L'
- left_click_commands:
- - '[player] Warp l'
- right_click_commands:
- - '[player] Warp l'
- '18':
- material: 35
- data: 5
- slot: 19
- display_name: '&9&lMine &a&lM'
- lore:
- - '&a&lClick This to go to Mine M'
- left_click_commands:
- - '[player] Warp m'
- right_click_commands:
- - '[player] Warp m'
- '19':
- material: 57
- data: 0
- slot: 20
- display_name: '&9&lMine &a&lN'
- lore:
- - '&a&lClick This to go to Mine N'
- left_click_commands:
- - '[player] Warp n'
- right_click_commands:
- - '[player] Warp n'
- '20':
- material: 35
- data: 5
- slot: 21
- display_name: '&9&lMine &a&lO'
- lore:
- - '&a&lClick This to go to Mine O'
- left_click_commands:
- - '[player] Warp o'
- right_click_commands:
- - '[player] Warp o'
- '21':
- material: 57
- data: 0
- slot: 22
- display_name: '&9&lMine &a&lP'
- lore:
- - '&a&lClick This to go to Mine P'
- left_click_commands:
- - '[player] Warp p'
- right_click_commands:
- - '[player] Warp p'
- '22':
- material: 35
- data: 11
- slot: 27
- display_name: '&9&lMine &a&lQ'
- lore:
- - '&a&lClick This to go to Mine Q'
- left_click_commands:
- - '[player] Warp q'
- right_click_commands:
- - '[player] Warp q'
- '23':
- material: 133
- data: 0
- slot: 28
- display_name: '&9&lMine &a&lR'
- lore:
- - '&a&lClick This to go to Mine R'
- left_click_commands:
- - '[player] Warp r'
- right_click_commands:
- - '[player] Warp r'
- '24':
- material: 35
- data: 11
- slot: 29
- display_name: '&9&lMine &a&lS'
- lore:
- - '&a&lClick This to go to Mine S'
- left_click_commands:
- - '[player] Warp s'
- right_click_commands:
- - '[player] Warp s'
- '25':
- material: 133
- data: 0
- slot: 30
- display_name: '&9&lMine &a&lT'
- lore:
- - '&a&lClick This to go to Mine T'
- left_click_commands:
- - '[player] Warp t'
- right_click_commands:
- - '[player] Warp t'
- '26':
- material: 35
- data: 11
- slot: 31
- display_name: '&9&lMine &a&lU'
- lore:
- - '&a&lClick This to go to Mine U'
- left_click_commands:
- - '[player] Warp u'
- right_click_commands:
- - '[player] Warp u'
- '27':
- material: 35
- data: 7
- slot: 36
- display_name: '&9&lMine &a&lV'
- lore:
- - '&a&lClick This to go to Mine V'
- left_click_commands:
- - '[player] Warp v'
- right_click_commands:
- - '[player] Warp v'
- '28':
- material: 57
- data: 0
- slot: 37
- display_name: '&9&lMine &a&lW'
- lore:
- - '&a&lClick This to go to Mine W'
- left_click_commands:
- - '[player] Warp w'
- right_click_commands:
- - '[player] Warp w'
- '29':
- material: 35
- data: 7
- slot: 38
- display_name: '&9&lMine &a&lX'
- lore:
- - '&a&lClick This to go to Mine X'
- left_click_commands:
- - '[player] Warp x'
- right_click_commands:
- - '[player] Warp x'
- '30':
- material: 57
- data: 0
- slot: 39
- display_name: '&9&lMine &a&lY'
- lore:
- - '&a&lClick This to go to Mine Y'
- left_click_commands:
- - '[player] Warp y'
- right_click_commands:
- - '[player] Warp y'
- '31':
- material: 35
- data: 7
- slot: 40
- display_name: '&9&lMine &a&lZ'
- lore:
- - '&a&lClick This to go to Mine Z'
- left_click_commands:
- - '[player] Warp z'
- right_click_commands:
- - '[player] Warp z'
- '32':
- material: 57
- data: 0
- slot: 41
- display_name: '&9&lMine &a&lFREE'
- lore:
- - '&a&lClick This to go to Mine FREE'
- left_click_commands:
- - '[player] Warp free'
- right_click_commands:
- - '[player] Warp free'
- '33':
- material: barrier
- data: 0
- slot: 43
- display_name: '&c&lCLOSE'
- lore:
- - '&a&lClick This to go to Close Menu'
- left_click_commands:
- - '[close]'
- right_click_commands:
- - '[close]'
- '34':
- material: 331
- data: 0
- slot: 8
- display_name: '&9&lPredtige &a&l1'
- lore:
- - '&a&lClick This to go to Prestige 1'
- left_click_commands:
- - '[player] (your Command)'
- right_click_commands:
- - '[player] (your Command)'
- '35':
- material: 331
- data: 0
- slot: 17
- display_name: '&9&lPredtige &a&l2'
- lore:
- - '&a&lClick This to go to Prestige 2'
- left_click_commands:
- - '[player] (your Command)'
- right_click_commands:
- - '[player] (your Command)'
- '36':
- material: 331
- data: 0
- slot: 26
- display_name: '&9&lPredtige &a&l3'
- lore:
- - '&a&lClick This to go to Prestige 3'
- left_click_commands:
- - '[player] (your Command)'
- right_click_commands:
- - '[player] (your Command)'
- '37':
- material: 331
- data: 0
- slot: 35
- display_name: '&9&lPredtige &a&l4'
- lore:
- - '&a&lClick This to go to Prestige 4'
- left_click_commands:
- - '[player] (your Command)'
- right_click_commands:
- - '[player] (your Command)'
- '38':
- material: 331
- data: 0
- slot: 44
- display_name: '&9&lPredtige &a&l5'
- lore:
- - '&a&lClick This to go to Prestige 5'
- left_click_commands:
- - '[player] (your Command)'
- right_click_commands:
- - '[player] (your Command)'
- click_menus:
- example:
- menu_title: '&aExample menu'
- priority: 1
- size: 9
- items:
- '1':
- material: DIAMOND_BLOCK
- data: 0
- amount: 1
- slot: 0
- display_name: '&aHey &f%viewer%'
- lore:
- - '&aYou opened a click menu'
- - '&afor player: &f%player_name%'
- click_commands:
- - '[close]'
- '2':
- material: 368
- data: 0
- amount: 1
- slot: 1
- priority: 1
- permission: examplemenu.item.teleport
- display_name: '&bTeleport to player'
- lore:
- - '&bClick to teleport to player &f%player_name%'
- click_commands:
- - '[player] tp %player_name%'
- - '[close]'
- '3':
- material: 381
- data: 0
- amount: 1
- slot: 1
- priority: 2
- permission: examplemenu.item.tpa
- display_name: '&bRequest teleport to player'
- lore:
- - '&bClick to request to'
- - '&bteleport to &f%player_name%'
- click_commands:
- - '[player] tpa %player_name%'
- - '[close]'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement