This file contains the settings for items.
The items.yml file contains a list of configuration nodes for each item
Example:
-
menu: name: '&8<3> &6Menu &8<3> &7(Right button)' material: SIGN slot: 1 commands: - 'player: menu' delay: 5 permission: superlobby.items.menu
-
game: name: '&8<3> &6Game Modes &8<3> &7(Right button)' material: MILK_BUCKET slot: 2 commands: - 'player: game' delay: 5 permission: superlobby.items.game
-
profile: name: '&8<3> &6Profile &a<player> &8<3> &7(Right button)' material: SKULL_ITEM:3 slot: 3 skull: <player> commands: - 'player: profile' delay: 5 permission: 'superlobby.items.profile'
Items nodes configuration.
name:
- Any string value.
- Example: &b&lGame modes
- The name of the item.
material:
- Any text string value for the material.
- Example: PLAYER_HEAD
- The material of the item. Put the name a valid material for Minecraft version 1.13 or higher. (1.13 – 1.14 – 1.15 – 1.16 – 1.17 – 1.18 – 1.19).
material-old:
- Any text string value for the material.
- Example: DIODE
- Example with data: SKULL_ITEM:3
- The material of the item. Put the name of the valid material for the version of minecraft lower than 1.13. (1.8.8 – 1.9 – 1.10 – 1.11 – 1.12).
slot:
- Any integer value.
- Example: 12
- Location in the inventory of the item.
skull:
- Any string value.
- Example: PedroJM96
- To use heads with skin. Skulls format.
commands:
- List of string values.
- Example:
-
- 'open: game'
-
- 'server: survival'
-
- 'player: say hola'
-
- (List) Command that is executed when clicking. (Command format).
delay:
- Any integer value.
- Example: 5
- Waiting time in seconds to reuse the item. Place -1 to disable.
lore:
- List of string values.
- Example:
-
- '&b&m--------------------'
-
- '&7Modalities of game'
-
- '&7that we have available.'
-
- '&b&m--------------------'
-
- The description of the item.
permission:
- Any string value.
- Example: superlobby.item.game
- Permission to use the item.
enchant-glow:
- Boolean value true or false.
- Example: true
- To add enchantment colors to the items. default false.
version-check:
- Boolean value true or false.
- Example: true
- To check if it is the correct version of minecraft. default false (Requires ViaVersion).
version-list:
- List of string values.
- Example:
-
- '1.8.8'
-
- '1.8.9'
-
- '1.9.1'
-
- List of versions to check in check version.
no-version-message:
- Any string value.
-
Example: "&7[&9&l>&7] Only available in the versions <version>."
- Message to show if the version is not compatible. Use <version> to show compatible versions in the message.
To create more elements, simply copy the previous one and paste it in an empty place.