Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on click on ender_chest:
- set {_p} to "%player%" parsed as player
- open chest with 3 rows named "&a&lopen &6&lchest" to player
- format slot 0 of player with skull of {_p} named "&7Player &8: &f%player%" with lore "&aClick to see your stats" to close then run []
- command /openchest <text>:
- permission: admin
- trigger:
- if arg-1 is "normal":
- if {chest.normal.%player%} is more than or equal to 1:
- send "&bチェストを開けます..." to player
- else:
- send "&cあなたはチェストを持っていません。" to player
- if arg-1 is "super":
- if {chest.super.%player%} is more than or equal to 1:
- send "&bチェストを開けます..." to player
- else:
- send "&cあなたはチェストを持っていません。" to player
- if arg-1 is "legendary":
- if {chest.legendary.%player%} is more than or equal to 1:
- send "&bチェストを開けます..." to player
- else:
- send "&cあなたはチェストを持っていません。" to player
Add Comment
Please, Sign In to add comment