This plugin can check if a playerinventory has a custom item
commands:
- /iteminventory help
- /iteminventory check to check all player if has this item
- /iteminventory check nameplayer to check this player if has this item
- /iteminventory reload to reload config file
permissions:
- iteminventory
- iteminventory.reload
- iteminventory.check
config.yml:
Code (Text):
#Slot you want to check for example: hotbar has slot from 0-8
slot:
start: 0
end: 8
#if lore or display name is none, this item don't have lore or display name
itemlist:
STICK:
lore: "none"
displayname: "test"
STONE:
lore: "none"
displayname: "test"
# if player has one of these item above do a command
command:
- "say %player test"
- "say %op %item"
# if set to true this plugin will always check all item of a player each 1 second
auto-check: false
message: "&5You don't have permission"