Advertisement
taktie0304

Untitled

Jun 22nd, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. command /menu:
  2. trigger:
  3. open chest with 3 row named "テストメニュー" to player
  4. format slot 0 of player with stone named "&aてすと" with lore "&eてすと" to be unstealable
  5. format slot 8 of player with oak door named "&a閉じる" with lore "&eクリックでメニューを閉じます" to be unstealable
  6.  
  7. on inventory click:
  8. if name of player's current inventory contains "テストメニュー":
  9. cancel event
  10. if clicked slot is 0:
  11. send "&aクリックしました"
  12. if clicked slot is 8:
  13. close player's inventory
  14. send "&aメニューを閉じました"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement