#on equip

1 messages · Page 1 of 1 (latest)

neon jungle
#
on craft of diamond helmet, leather cap, iron helmet, diamond helmet, netherite helmet, netherite chestplate, netherite leggings, netherite boots, netherite sword, netherite axe, netherite shovel, netherite pickaxe, netherite hoe, or turtle shell:
    cancel event

# disables the equip of all helmet types
on equip:
    if event-item is diamond helmet, leather cap, iron helmet, diamond helmet, netherite helmet, chain helmet, or turtle shell:
        cancel event

# disables the crafting of strength, weakness, or poison potions
on craft of lingering potion of strength, splash potion of strength, potion of strength, or tipped arrow of strength:
    cancel event
on craft of lingering potion of poison, splash potion of poison, potion of poison, or tipped arrow of poison:
    cancel event
on craft of lingering potion of weakness, splash potion of weakness, potion of weakness, or tipped arrow of weakness:
    cancel event
on craft of lingering potion of harming, splash potion of harming, potion of harming, or tipped arrow of harming:
    cancel event ```
raven flame
#
neon jungle
raven flame
#

Documentation

#

It will help you learn skript, if you just read the little overview thingy instead of pinging me to ask what it is you could figure it out for your self

neon jungle
#

could i do something like if helmet equipped, unequip helmet

#

since cancelling on equip doesnt work

neon jungle
#

ok i figured it out

#

i could use "on armor change"