Skip to content

upgrades.yml

Every direct child under upgrades is a named recipe. Recipe keys are used by the admin item command and must be unique.

KeyDefaultPurpose
from.itemRequiredVanilla material or supported custom-item identifier.
from.nameEmptyExact legacy display name used with the material to select the recipe.
from.amount1Amount reserved and consumed by the attempt. Minimum is one.
KeyDefaultPurpose
to.itemRequiredResult material or custom item.
to.nameProvider/default nameResult display name. Supports %price% and %chance%.
to.loreEmptyResult lore. Supports %price%, %needed_coins%, and %chance%.
to.amount1Result stack amount. Minimum is one.
to.item-flagsEmptyBukkit item flags applied to the result.
to.unbreakablefalseMarks the result unbreakable.
to.hide-tooltipfalseHides the tooltip on supported server versions and overrides visible flags.
to.decoration-onlyfalseMakes only decorative text visible on supported versions.
to.custom-model-dataUnsetApplies integer custom model data when the server supports it.

Supported item flags include HIDE_ENCHANTS, HIDE_ATTRIBUTES, HIDE_UNBREAKABLE, HIDE_DESTROYS, HIDE_PLACED_ON, and HIDE_POTION_EFFECTS.

KeyPurpose
chanceSuccess threshold from the random 1-100 roll. Values below one are normalized to one.
coinVault price withdrawn only after success. A missing economy makes balance checks and withdrawals inactive.
enchantmentsResult enchantments in NAME:LEVEL format. Modern namespaced lookups are attempted when legacy names do not resolve.
reset-enchantsWhen false, source enchantments are copied and merged into the result. When true, only configured result enchantments remain.
disallowed-enchantmentsSource enchantments that block the menu before an attempt.

When both the source and result define the same enchantment and merging is enabled, the item builder preserves the effective higher level.

Each entry can require a material, exact name, amount, exact lore, and minimum enchantment levels. no-required-items-found is the recipe-specific rejection message.

See Required Items for matching and removal details.