Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /shop [<text>] [<player>]:
- permission: console
- trigger:
- if {playing::%arg-2%} is "bedwars":
- if arg-1 is "block":
- open chest with 6 rows named "ショップ" to arg-2
- wait a tick
- format slot 1 of player with white wool named "&aブロック" with lore "&aクリックで切り替え" to run "/shop block %player%"
- format slot 2 of player with iron sword named "&b剣" with lore "&bクリックで切り替え" to run "/shop sword %player%"
- format slot 3 of player with bow named "&b弓" with lore "&bクリックで切り替え" to run "/shop bow %player%"
- format slot 4 of player with leather chestplate named "&b防具" with lore "&bクリックで切り替え" to run "/shop chestplate %player%"
- format slot 1 of player with tnt named "&b特殊" with lore "&bクリックで切り替え" to run "/shop tnt %player%"
- format slot 31 of player with red stained glass pane named "&cエラー" with lore "&c商品はまだ売っていません!" to run "/shop block %player%"
- on right click on villager:
- if {playing::%player%} is "bedwars":
- cancel the event
- command "/shop block %player%"
- command /admin [<text>]:
- trigger:
- if player is op:
- if arg-1 is "join":
- set {playing::%player%} to "bedwars"
- message "joined the game."
- if arg-1 is "quit":
- set {playing::%player%} to "notplaygame"
- message "quit the game."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement