Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /enderchest [<offlineplayer>]:
- usage: &cエンダーチェストを開きます。OP権限を持っていれば/ec プレイヤー名 で他人のエンダーチェストも開けます。
- aliases: /ec
- trigger:
- if arg 1 is not set:
- open the player's enderchest for the player
- play sound "block.chest.open" at player
- message "&aエンダーチェストを開きました!"
- stop
- else if the player has the permission "admin":
- if arg 1 has played before:
- open arg 1's enderchest for the player
- play sound "block.shulker_box.open" at player
- message "&b%arg 1%さんのエンダーチェストを覗いています。"
- stop
- else:
- message "&b[Error]&cこのプレイヤーはこのサーバーに入ったことがありません!"
- stop
- else:
- message "&b[error]&c権限を持っていません!"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement