Skip to content

items.yml

The items.yml file allows you to define the visual and functional properties of items used during the game, such as the double jump item, lobby leave item, and play-again item.


Every item in the configuration follows a standard format. Here is an example of the default lobby leave item:

items:
leave-item:
name: "<#FF5252><bold>Return to Lobby"
material: RED_BED
slot: 8
lore:
- "<#B0BEC5>Right-click to leave the game"
- "<#B0BEC5>and return to the hub."

You can use the following keys to further customize your items:

KeyDescriptionExample
materialThe Bukkit material name for the item.FEATHER
amountThe quantity of the item in the stack.1
slotThe inventory slot where the item appears.8
nameThe display name of the item.<gold>Double Jump
loreA list of lines for the item’s description.- "<gray>Line 1"
actionsClick actions that trigger the item behavior.RIGHT_CLICK
glowIf true, adds an enchantment glow without visible enchants.true
item-flagsHides certain item attributes, such as enchants.HIDE_ATTRIBUTES
hide-tooltipHides the default Minecraft tooltip for the item.true

Players receive this item during the in-game phase. Right-clicking it triggers a double jump if the player has jumps remaining and is not on cooldown.

double-jump:
name: "<#00E676><bold>Double Jump"
material: FEATHER
slot: 0
actions:
- RIGHT_CLICK

The play-again item tries to move the player into another ready arena that is waiting or starting and still has room.

play-again:
name: "<#00E5FF><bold>Play Again"
material: PAPER
slot: 7

The leave item returns players to the arena end location. If instant-leave is disabled in config.yml, it uses a short confirmation flow.

leave-item:
name: "<#FF5252><bold>Return to Lobby"
material: RED_BED
slot: 8

After editing gameplay items, reload the plugin to apply the new names, materials, lore, and click behavior:

Terminal window
/tntrun reload