🪁Items
Before you start configuring the plugin itemstack, make sure you are using the correct material for your version of the game. Each button must be accompanied by an itemstack (except in certain specific cases).
Material
The material of the item. You can use a placeholder to display a material.
Supported material values:
Material - Example:
material: STONE
Placeholder value - Example:
material: %your_placeholder_material%
FREE - zHead RECOMMENDED (zhd:<id>) Example:
material: "zhd:<id>"
PAID - zItems (ztems:<item name>) Example:
material: "zitems:<id>"
PAID - HeadDatabase (hdb:<id>) Example:
material: "hdb:<id>"
PAID - Oraxen (oraxen:<item name>) Example:
material: "oraxen:<item name>"
PAID - ItemAdder (itemsadder:<item name>) Example:
material: "itemsadder:<item name>"
FREE - SlimeFun (slimefun:<item name>) Example:
material: "slimefun:<item name>"
FREE - Nova (nova:<item/block name>) Example:
material: "nova:<item/block name>"
Base64 (base64:<item in base64) Retrieve this value in base64 with the command
/zm save <item name> base64
PlayerHead (playerHead: <player name>) Displays the head of a player. Example:
playerHead: "%player%"
Displays the head of the player who opens the inventory
Amount
The amount of the itemstack. You can use a placeholder to have a dynamic amount.
Data
The material data, only available for versions between 1.8 and 1.12. By default, it's 0.
Durability
The durability of the item, by default, is 0.
Url
Allows you to display a head with a URL in base64. You can find the values of the heads on the site minecraft-head.com.
You must take the content in the "Value" field under the "Other" category.
Example
Name
The name that will be displayed on the item. You can use PlaceholderAPI to make the name dynamic.
If your server has Kyori Adventure, you can use the mini message format.
Lore
Allows you to display the lore of the item. You can use PlaceholderAPI to make the lore dynamic.
Potion
Allows you to create a potion. Check potion effect types here for more details.
Warning: A potion cannot be extended and have a level 2 at the same time.
Glow
Allows the item to shine. Add random enchant and HIDE_ENCHANT itemflag.
ModelID
Allows you to put a custom model id on the item.
Enchantments
Allows you to add enchantments. You need to specify the name of the enchantment followed by the level of the enchantment, in the format: ENCHANT,ENCHANT_LEVEL
.
List of enchantments
damage_all
alldamage, alldmg, sharpness, sharp, dal
damage_arthropods
ardmg, baneofarthropods, baneofarthropod, arthropod, dar
damage_undead
undeaddamage, smite, du
dig_speed
digspeed, efficiency, minespeed, cutspeed, ds, eff
durability
durability, dura, unbreaking, d
thorns
thorns, highcrit, thorn, highercrit, t
fire_aspect
fireaspect, fire, meleefire, meleeflame, fa
knockback
knockback, kback, kb, k
loot_bonus_blocks
blockslootbonus, fortune, fort, lbb
loot_bonus_mobs
mobslootbonus, mobloot, looting, lbm
oxygen
oxygen, respiration, breathing, breath, o
protection_environmental
protection, prot, protect, p
protection_explosions
explosionsprotection, explosionprotection, expprot, blastprotection, bprotection, bprotect, blastprotect, pe
protection_fall
fallprotection, fallprot, featherfall, featherfalling, pfa
protection_fire
fireprotection, flameprotection, fireprotect, flameprotect, fireprot, flameprot, pf
protection_projectile
projectileprotection, projprot, pp
silk_touch
silktouch, softtouch, st
water_worker
waterworker, aquaaffinity, watermine, ww
arrow_fire
firearrow, flame, flamearrow, af
arrow_damage
arrowdamage, power, arrowpower, ad
arrow_knockback
arrowknockback, arrowkb, punch, arrowpunch, ak
arrow_infinite
infinitearrows, infarrows, infinity, infinite, unlimited, unlimitedarrows, ai
luck
luck, luckofsea, luckofseas, rodluck
lure
lure, rodlure
depth_strider
depthstrider, depth, strider
frost_walker
frostwalker, frost, walker
mending
mending
binding_curse
bindingcurse, bindcurse, binding, bind
vanishing_curse
vanishingcurse, vanishcurse, vanishing, vanish
sweeping_edge
sweepingedge, sweepedge, sweeping
loyalty
loyalty, loyal, return
impaling
impaling, impale, oceandamage, oceandmg
riptide
riptide, rip, tide, launch
channeling
channelling, chanelling, channeling, chaneling, channel
multishot
multishot, tripleshot
quick_charge
quickcharge, quickdraw, fastcharge, fastdraw
piercing
piercing
soul_speed
soulspeed, soilspeed, sandspeed
swift_sneak
swiftsneak
breach
breach
density
density
wind_burst
windburst, wind, burst
Flags
List of flags: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/inventory/ItemFlag.html
Color
Set the RGB color (Red, Green, Blue) for leather armor. The format is as follows:
<Red>,<Green>,<Blue>
For example, to set a color with 255 red, 100 green, and 50 blue, you would use:
255,100,50
You can also add an alpha value in the color to have ARGB (Alpha, Red, Green, Blue). The format is as follows:
<Alpha>,<Red>,<Green>,<Blue>
For example, to set a color with 128 alpha (semi-transparent), 255 red, 100 green, and 50 blue, you would use:
128,255,100,50
The color format for fireworks, banners, and potions follows the same ARGB format:
<Alpha>,<Red>,<Green>,<Blue>
For example:
Fireworks: To set a color with 255 alpha (fully opaque), 200 red, 150 green, and 100 blue, you would use:
255,200,150,100
.Banners: To set a color with 255 alpha, 100 red, 200 green, and 50 blue, you would use:
255,100,200,50
.Potions: To set a color with 128 alpha (semi-transparent), 255 red, 50 green, and 50 blue, you would use:
128,255,50,50
.
For further details, check the Javadocs for Color here.
Firework
Firework type: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/FireworkEffect.Type.html
Banner
Allows you to create a banner. Pattern list: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/block/banner/PatternType.html
Translated Name
Allows to translate the name of the item in several languages
Translated Lore
Allows to translate the lore of the item in several languages
Max Stack Size
Overrides the default maximum stack size of this item. Choose a number between 1 and 99. max-stack-size must be 1 if max-damage is set.
Only available for 1.21 and above
Max Damage
Controls the maximum amount of damage an item can take. If not present, the item cannot be damaged. For this to work, you need to make this item a tool if it is not already and then set it's initial damage (usually 0). max-stack-size must be 1 if max-damage is set.
Only available for 1.21 and above
Damage
The absolute amount of damage or use this item has taken.
Only available for 1.21 and above
Repair Cost
Number of enchantment levels to add to the base level cost when repairing, combining, or renaming this item with an Anvil.
Only available for 1.21 and above
Unbreakable
Tools, armor and weapons set with this won't lose durability when used.
Only available for 1.21 and above
Unbreakable Show In Tooltip
If false, an 'Unbreakable' line will not be included in the tooltip. Default is True.
Only available for 1.21 and above
Fire Resistant
If true, this item will not burn in fire
Only available for 1.21 and above
Item Rarity
Determines the default color of its name. This enum is ordered from least rare to most rare.
COMMON
- White item name.EPIC
- Light purple item name.RARE
- Aqua item name.UNCOMMON
- Yellow item name.
Only available for 1.21 and above
Hide Tooltip
If present, it will completely hide whole item tooltip (that includes item name). The tooltip will be still visible and searchable in creative mode.
Only available for 1.21 and above
Hide additional tooltip
If true, disables 'additional' tooltip part which comes from the item type.
Only available for 1.21 and above
Enchantment Glint
If true, the item will glint, even without enchantments; if false, the item will not glint, even with enchantments. If null, the override will be cleared.
Only available for 1.21 and above
Enchantment Show In Tooltip
If false, no enchantments will be shown in the item tooltip. Default is true.
Only available for 1.21 and above
Attribute Show In Tooltip
If false. The attributes will not show on the item tooltip. Default is true.
Only available for 1.21 and above
Trim
Allows to define an armor trim, only usable on armor
Only available for 1.21 and above
Last updated