Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /menu:
- trigger:
- open chest with 3 row named "テストメニュー" to player
- format slot 0 of player with stone named "&aてすと" with lore "&eてすと" to be unstealable
- format slot 8 of player with oak door named "&a閉じる" with lore "&eクリックでメニューを閉じます" to be unstealable
- on inventory click:
- if name of player's current inventory contains "テストメニュー":
- cancel event
- if clicked slot is 0:
- send "&aクリックしました"
- if clicked slot is 8:
- close player's inventory
- send "&aメニューを閉じました"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement