SPluginsSPlugins

Condition 1 between 5 different armor pieces

Let's say, we have 5 helmets, they are explained right here:

  • "1"
    • lore: "Fire helmet"
  • "2"
    • lore: "Ice helmet"
  • "3"
    • lore: "Dirt helmet"
  • "4"
    • lore: "Lava helmet"
  • "5"
    • lore: "Stone helmet"

And you would like to create an activator that triggers if you have any of these armor (like the condition of OR), you'd need the CheckItem expansion of PlaceholderAPI and take a look at this placeholderCondition:

  placeholdersConditions:
      plchCdt0:
        type: PLAYER_PLAYER
        comparator: IS_CONTAINED_IN
        part1: '%checkitem_inslot:39,lorecontains:“Fire helmet”%<OR>%checkitem_inslot:39,lorecontains:“Ice helmet”%<OR>%checkitem_inslot:39,lorecontains:“Dirt helmet”%<OR>%checkitem_inslot:39,lorecontains:“Lava helmet”%<OR>%checkitem_inslot:39,lorecontains:“Stone helmet”%'
        part2: 'yes'
        cancelEventIfNotValid: false
        messageIfNotValid: 'You dont have any of the armor pieces needed to make this work'
        messageIfNotValidForTarget: ''
Info

This is a way to use it, but you can do the same with different weapons, or different armor pieces, this is just an idea, use it as you want.

Try it now

Copy this into ExecutableItems and reload

Taken from this page. Paste it into a config, run the plugin's reload command, and you have a working starting point to edit.

  placeholdersConditions:
      plchCdt0:
        type: PLAYER_PLAYER
        comparator: IS_CONTAINED_IN
        part1: '%checkitem_inslot:39,lorecontains:“Fire helmet”%<OR>%checkitem_inslot:39,lorecontains:“Ice helmet”%<OR>%checkitem_inslot:39,lorecontains:“Dirt helmet”%<OR>%checkitem_inslot:39,lorecontains:“Lava helmet”%<OR>%checkitem_inslot:39,lorecontains:“Stone helmet”%'
        part2: 'yes'
        cancelEventIfNotValid: false
        messageIfNotValid: 'You dont have any of the armor pieces needed to make this work'
        messageIfNotValidForTarget: ''
ExecutableItems

Plugin used on this page

ExecutableItems

Custom items with abilities, activators and commands — no code.

  • 5.0/5 from 10 reviews
  • 3.2K servers running it right now (bStats)
  • 51 downloads on SPlugins

€19.99

one-time, lifetime updates

Created Oct 26, 2025Last updated Oct 26, 2025 by Ssomar
Edit this page on GitHub