-
Notifications
You must be signed in to change notification settings - Fork 51
menu.yml
Cervinakuy edited this page Nov 11, 2020
·
4 revisions
The default built-in menu feature to easily access and select kits.
For those interested in a more advanced menu experience, plugins such as DeluxeMenus, AnimatedMenu, or ChestCommands can offer that functionality. KitPvP only features a simple and streamlined menu experience. Please see the Items section for more details on incorporating an alternative menu system.
A copy of the default menu.yml can be found here.
Title of the kit menu. Supports color codes.
Title: 'Kits'
Size of the kit menu. Valid values: 9, 18, 27, 36, 45, 54. Each one adds a new GUI line.
Size: 54
This section holds all the individual menu item sections.
-
<slot number>
- the section header is the menu slot number, with 0 being the first slot-
Name
- name displayed in the menu -
Material
- material of the menu item -
Lore
- lore of the menu item -
Commands
- commands section
-
25:
Name: '&a&lExample Kit'
Material: WOOD_SWORD
Lore:
- '&7This is the example of a custom'
- '&7kit you can create using KitPvP.'
- '&7You can make a custom kit using your'
- '&7own inventory, potion effects, and enchantments'
- '&7using /kp create kitName. Make sure to add it to'
- '&7the menu.yml!'
Commands:
Left-Click:
- 'player: kp kit Example'
Right-Click:
- 'player: kp preview Example'