Placeholder:
%checkitem_<modifier1>,<modifier2>,<...>%- Returns if user has the item%checkitem_amount_<modifier1>,<modifier2>,<...>%- Returns amount of items the user has%checkitem_remove_<modifier1>,<modifier2>,<...>%- Removes the items from the players inventory - Can be used with amount, it just has to be after. (Ex.%checkitem_amount_remove_<...>%)%checkitem_give_<modifier1>,<modifier2>,<...>%- Gives the player an item. Returns yes if successful, returns amount of items NOT given if unsuccessful.
Modifiers:
namecontains:<string>namestartswith:<string>nameequals:<string>*mat:<material>*amt:<integer>*data:<integer>*custommodeldata:<integer>*lorecontains:<string>loreequals:<string>(Separate lines with|)*matcontains:<string>enchantments:<enchantment=lvl>;<enchantment>(=lvlis optional)*enchantedpotiontype:<potiontype>*potionextended:<boolean>*potionupgraded:<boolean>*strictinhandinslot:<integer>Valid Slots
Ex: %checkitem_mat:STONE,amt:1,data:2,nameequals:&6Test%
To use commas in strings, escape them with \ (Ex: nameequals:This\, is a test)
PAPI Placeholders work, you just need to put them in {} instead of %%
*Works with give placeholder.