- Hỗ trợ phiên bản
- 1.8
- 1.9
- 1.10
- 1.11
- 1.12
- 1.13
- 1.14
- 1.15
- 1.16
- 1.17
- 1.18
- 1.19
- Người đóng góp
- FIP
Check nếu player có 1 item nào đó theo ý mình
Commands:
- /iteminventory help
- /iteminventory để check tất cả người chơi trong server có item không
- /iteminventory check (nameplayer) để check xem người chơi này có item không
- /iteminventory để reload config
Permissions:
- iteminventory
- iteminventory.reload
- iteminventory.check
config.yml:
Commands:
- /iteminventory help
- /iteminventory để check tất cả người chơi trong server có item không
- /iteminventory check (nameplayer) để check xem người chơi này có item không
- /iteminventory để reload config
Permissions:
- iteminventory
- iteminventory.reload
- iteminventory.check
config.yml:
Mã:
#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"
