Skip to content

items.yml

The items.yml file allows you to define the visual and functional properties of items used within Advanced Parkour, such as the checkpoint return item, reset item, or leave item.


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

game-items:
teleport-to-last-checkpoint-item:
name: "<#3bff6a><bold>Teleport to Last Checkpoint"
material: HEAVY_WEIGHTED_PRESSURE_PLATE
slot: 3
lore:
- "<#C0C0C0>Right-click to instantly return"
- "<#C0C0C0>to your last reached checkpoint."

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

KeyDescriptionExample
materialThe material name for the item.DIAMOND_SWORD
amountThe quantity of the item in the stack.1
nameThe display name of the item.<gold>Reset
loreA list of lines for the item’s description.- "<gray>Line 1"
custom-model-dataSets the CustomModelData integer for resource pack models.12345
glowIf true, adds an enchantment glow without visible enchants.true
enchantsA list of enchantments and levels.SHARPNESS:5
item-flagsHides certain item attributes (e.g., attributes, enchants).HIDE_ENCHANTS
unbreakablePrevents the item from losing durability.true
durabilitySets the remaining durability of the item.100
hide-tooltipHides the default Minecraft tooltip for the item.true
dataUsed for specific legacy data values.1
Custom KeysRepresents any other arbitrary keys not listed above.my-custom-tag: "value"

Santa Says documents native Oraxen usage on this page, but Advanced Parkour’s current sources and bundled configs do not show a native Oraxen integration for items.yml.

Unless you have added your own item parser support elsewhere, use standard Bukkit material values in this file.


game-items:
teleport-to-last-checkpoint-item:
name: "<#3bff6a><bold>Teleport to Last Checkpoint"
material: HEAVY_WEIGHTED_PRESSURE_PLATE
slot: 3
lore:
- "<#C0C0C0>Right-click to instantly return"
- "<#C0C0C0>to your last reached checkpoint."
reset-item:
name: "<#ffd93b><bold>Reset"
material: OAK_DOOR
slot: 4
lore:
- "<#C0C0C0>Right-click to restart the"
- "<#C0C0C0>parkour from the very beginning."
leave-item:
name: "<#ff3b3b><bold>Leave"
material: RED_BED
slot: 5
lore:
- "<#C0C0C0>Right-click to leave the arena."

One of the best features of the item system is that you don’t need to restart your server to see changes. Simply modify the file and use the reload command to see your updates instantly:

Terminal window
/ap reload