command /shop: trigger: open chest with 4 rows named "Shop-main" to player format slot 11 of player with stone named "&9建築用ブロック" to close then run [execute player command "/blocks"] format slot 2 of player with iron sword named "武器・防具" to close then run [execute player command "/weapons"] command /blocks: trigger: wait 3 ticks open chest with 6 rows named "&9建築用ブロック" to player format slot 0 of player with 64 grass named "草ブロック" with lore "&7購入価格: &c$1,000" and "&7販売価格: &a$10" to close then run [execute player command "/buyitem %player% 1000 64 grass"] format slot 1 of player with 64 dirt named "土" with lore "&7購入価格: &c$250" and "&7販売価格: &a$50" to close then run [execute player command "/buyitem %player% 250 64 dirt"] format slot 2 of player with 64 mycelium named "菌糸" with lore "&7購入価格: &c$1,000" to close then run [execute player command "/buyitem %player% 1000 64 mycelium"] format slot 3 of player with 64 coarse dirt named "粗い土" with lore "&7購入価格: &c$128" to close then run [execute player command "/buyitem %player% 128 64 coarse dirt"] format slot 4 of player with 64 podzol named "ポドゾル" with lore "&7購入価格: &c$128" to close then run [execute player command "/buyitem %player% 128 64 podzol"] format slot 5 of player with 16 ice named "氷" with lore "&7購入価格: &c$500" to close then run [execute player command "/buyitem %player% 500 16 ice"] format slot 6 of player with 16 packed ice named "氷塊" with lore "&7購入価格: &c$500" to close then run [execute player command "/buyitem %player% 500 16 packed ice"] format slot 7 of player with 64 oak log named "オークの原木" with lore "&7購入価格: &c$6,400" and "&7販売価格: &a$250" to close then run [execute player command "/buyitem %player% 6400 64 oak log"] format slot 8 of player with 64 spruce log named "マツの原木" with lore "&7購入価格: &c$6,400" and "&7販売価格: &a$250" to close then run [execute player command "/buyitem %player% 6400 64 spruce log"] format slot 9 of player with 64 birch log named "シラカバの原木" with lore "&7購入価格: &c$6,400" and "&7販売価格: &a$250" to close then run [execute player command "/buyitem %player% 6400 64 birch log"] format slot 10 of player with 64 jungle log named "ジャングルの原木" with lore "&7購入価格: &c$6,400" and "&7販売価格: &a$250" to close then run [execute player command "/buyitem %player% 6400 64 jungle log"] format slot 11 of player with 64 acacia log named "アカシアの原木" with lore "&7購入価格: &c$6,400" and "&7販売価格: &a$250" to close then run [execute player command "/buyitem %player% 6400 64 acacia log"] format slot 12 of player with 64 dark oak log named "ダークオークの原木" with lore "&7購入価格: &c$6,400" and "&7販売価格: &a$250" to close then run [execute player command "/buyitem %player% 6400 64 dark oak log"] format slot 13 of player with 64 andesite named "安山岩" with lore "&7購入価格: &c$700" and "&7販売価格: &a$75" to close then run [execute player command "/buyitem %player% 700 64 andesite"] command /buyitem : trigger: if arg 1's money is more than or equal to arg 2: remove arg 2 from arg 1's money give arg-3 to arg-1 send "&a%arg 3%を買いました。" send "&d残金:&2%arg 1's money%" stop send "&cお金が足りません!" command /sell : trigger: if arg 1 does not have arg 3: send "&cあなたは対象のアイテムを所持していません。" stop remove arg 3 from arg 1's inventory add arg 2 to arg 1's money send "&b%arg 3%を売りました。