Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on first join:
- if {game} is true:
- set join message to "&7%player% &efirst joined."
- set {spectatesidebar.%player%} to true
- set {default.%player%} to player
- set {ranks.%player%} to "&7DEFAULT"
- set {coins.%player%} to 0
- set {kills.%player%} to 0
- set {wins.%player%} to 0
- set {cash.%player%} to 0
- set {levels.%player%} to 0
- set {level.%player%} to "&7■■■■■■■■■■"
- set {exp.%player%} to 0
- teleport player to {spectatespawn}
- set player's gamemode to spectator
- on join:
- if {game} is true:
- force respawn player
- set player's gamemode to spectator
- teleport player to {spectatespawn}
- if {default.%player%} is set:
- set join message to "&7%player% &eJoined."
- if {vip.%player%} is set:
- set join message to "&a[VIP] %player% &6joined the game!"
- if {vip+.%player%} is set:
- set join message to "&a[VIP&6+&a] %player% &6joined the game!"
- if {mvp.%player%} is set:
- set join message to "&b>&c>&a> &b[MVP] %player% &6joined the game! &a<&c<&b<"
- if {mvp+.%player%} is set:
- set join message to "&b>&c>&a> &b[MVP&c+&b] %player% &6joined the game! &a<&c<&b<"
- if {special.%player%} is set:
- set join message to "&b>&c>&a> &d[SPECIAL] %player% &6joined the game! &a<&c<&b<"
- if {admin.%player%} is set:
- set join message to "&b>&c>&a> &c[ADMIN] %player% &6joined the game! &a<&c<&b<"
- on quit:
- if {game} is true:
- if {white::*} is set:
- set quit message to "&7%player% &eDisconnected."
- execute console command "/kill %player%"
- remove 1 from {gameplayer}
- if {red::%player%} is set:
- remove player from {red::*}
- remove 1 from {redteam}
- stop
- if {blue::%player%} is set:
- remove player from {blue::*}
- remove 1 from {blueteam}
- stop
- on right click on villager:
- if {game} is true:
- open chest with 6 row named "&bItem Shop" to player
- set slot 0 of player's current inventory to nether star named "&aステータス" with lore "&1" and "&7Your Coins: &6%{gold.%player%}%" and "&2"
- set slot 9 of player's current inventory to gray glass pane named "&1"
- set slot 1 of player's current inventory to white hardened clay named "&aブロック"
- set slot 10 of player's current inventory to gray glass pane named "&2"
- set slot 2 of player's current inventory to golden sword named "&a武器"
- set slot 11 of player's current inventory to gray glass pane named "&3"
- set slot 3 of player's current inventory to chainmail boots named "&a装備"
- set slot 12 of player's current inventory to gray glass pane named "&4"
- set slot 4 of player's current inventory to stone pickaxe named "&aツール"
- set slot 13 of player's current inventory to gray glass pane named "&5"
- set slot 5 of player's current inventory to bow named "&a弓 & 矢"
- set slot 14 of player's current inventory to gray glass pane named "&6"
- set slot 6 of player's current inventory to brewing stand named "&aポーション"
- set slot 15 of player's current inventory to gray glass pane named "&7"
- set slot 7 of player's current inventory to tnt named "&aその他"
- set slot 16 of player's current inventory to gray glass pane named "&8"
- set slot 17 of player's current inventory to gray glass pane named "&9"
- on inventory click:
- if name of player's current inventory contain "&bItem Shop":
- cancel event
- if name of clicked item is "&a羊毛":
- if {red::*} is set:
- if {gold.%player%} >= 80:
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- give 16 red wool to player
- send "&6羊毛 &aを購入しました!"
- remove 80 from {gold.%player%}
- stop
- else:
- send "&cGold が不足しています。"
- execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
- stop
- if {blue::*} is set:
- if {gold.%player%} >= 80:
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- give 16 blue wool to player
- send "&6羊毛 &aを購入しました!"
- remove 80 from {gold.%player%}
- stop
- else:
- send "&cGold が不足しています。"
- execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
- stop
- if name of clicked item is "&a粘土":
- if {red::*} is set:
- if {gold.%player%} >= 80:
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- give 12 red hardened clay to player
- send "&6粘土 &aを購入しました!"
- remove 80 from {gold.%player%}
- stop
- else:
- send "&cGold が不足しています。"
- execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
- stop
- if {blue::*} is set:
- if {gold.%player%} >= 80:
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- give 12 blue hardened clay to player
- send "&6粘土 &aを購入しました!"
- remove 80 from {gold.%player%}
- stop
- else:
- send "&cGold が不足しています。"
- execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
- stop
- if name of clicked item is "&a砂岩":
- if {gold.%player%} >= 130:
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- give 16 sandstone to player
- send "&6砂岩 &aを購入しました!"
- remove 130 from {gold.%player%}
- stop
- else:
- send "&cGold が不足しています。"
- execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
- stop
- if name of clicked item is "&a木材":
- if {gold.%player%} >= 180:
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- give 16 oak wood planks to player
- send "&6木材 &aを購入しました!"
- remove 180 from {gold.%player%}
- stop
- else:
- send "&cGold が不足しています。"
- execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
- stop
- if name of clicked item is "&aエンドストーン":
- if {gold.%player%} >= 260:
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- give 12 end stone to player
- send "&6エンドストーン &aを購入しました!"
- remove 260 from {gold.%player%}
- stop
- else:
- send "&cGold が不足しています。"
- execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
- stop
- if name of clicked item is "&a黒曜石":
- if {gold.%player%} >= 800:
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- give 4 obsidian to player
- send "&6黒曜石 &aを購入しました!"
- remove 800 from {gold.%player%}
- stop
- else:
- send "&cGold が不足しています。"
- execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
- stop
- if name of clicked item is "&a石の剣":
- if {gold.%player%} >= 100:
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- give stone sword of unbreaking 3 to player
- send "&6石の剣 &aを購入しました!"
- remove 100 from {gold.%player%}
- stop
- else:
- send "&cGold が不足しています。"
- execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
- stop
- if name of clicked item is "&a鉄の剣":
- if {gold.%player%} >= 500:
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- give iron sword of unbreaking 3 to player
- send "&6鉄の剣 &aを購入しました!"
- remove 500 from {gold.%player%}
- stop
- else:
- send "&cGold が不足しています。"
- execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
- stop
- if name of clicked item is "&aダイヤモンドの剣":
- if {gold.%player%} >= 800:
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- give diamond sword of unbreaking 3 to player
- send "&6ダイヤモンドの剣 &aを購入しました!"
- remove 800 from {gold.%player%}
- stop
- else:
- send "&cGold が不足しています。"
- execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
- stop
- if name of clicked item is "&aチェーンアーマー":
- if {gold.%player%} >= 300:
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- equip player with chainmail leggings
- equip player with chainmail boots
- send "&6チェーンアーマー &aを購入しました!"
- remove 300 from {gold.%player%}
- stop
- else:
- send "&cGold が不足しています。"
- execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
- stop
- if name of clicked item is "&a鉄アーマー":
- if {gold.%player%} >= 500:
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- equip player with iron leggings
- equip player with iron boots
- send "&6鉄アーマー &aを購入しました!"
- remove 500 from {gold.%player%}
- stop
- else:
- send "&cGold が不足しています。"
- execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
- stop
- if name of clicked item is "&aダイヤモンドアーマー":
- if {gold.%player%} >= 1000:
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- equip player with diamond leggings
- equip player with diamond boots
- send "&6ダイヤモンドアーマー &aを購入しました!"
- remove 1000 from {gold.%player%}
- stop
- else:
- send "&cGold が不足しています。"
- execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
- stop
- if name of clicked item is "&a石のツルハシ":
- if {gold.%player%} >= 100:
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- give stone pickaxe of unbreaking 3 to player
- send "&6石のツルハシ &aを購入しました!"
- remove 100 from {gold.%player%}
- else:
- send "&cGold が不足しています。"
- execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
- stop
- if name of clicked item is "&a石の斧":
- if {gold.%player%} >= 100:
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- give stone axe of unbreaking 3 to player
- send "&6石の斧 &aを購入しました!"
- remove 100 from {gold.%player%}
- else:
- send "&cGold が不足しています。"
- execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
- stop
- if name of clicked item is "&a石のシャベル":
- if {gold.%player%} >= 100:
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- give stone shovel of unbreaking 3 to player
- send "&6石のシャベル &aを購入しました!"
- remove 100 from {gold.%player%}
- else:
- send "&cGold が不足しています。"
- execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
- stop
- if name of clicked item is "&a鉄のツルハシ":
- if {gold.%player%} >= 300:
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- give iron pickaxe of unbreaking 3 to player
- send "&6鉄のツルハシ &aを購入しました!"
- remove 300 from {gold.%player%}
- else:
- send "&cGold が不足しています。"
- execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
- stop
- if name of clicked item is "&a鉄の斧":
- if {gold.%player%} >= 300:
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- give iron axe of unbreaking 3 to player
- send "&6鉄の斧 &aを購入しました!"
- remove 300 from {gold.%player%}
- else:
- send "&cGold が不足しています。"
- execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
- stop
- if name of clicked item is "&a鉄のシャベル":
- if {gold.%player%} >= 300:
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- give iron shovel of unbreaking 3 to player
- send "&6鉄のシャベル &aを購入しました!"
- remove 300 from {gold.%player%}
- else:
- send "&cGold が不足しています。"
- execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
- stop
- if name of clicked item is "&aダイヤモンドのツルハシ":
- if {gold.%player%} >= 900:
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- give diamond pickaxe of unbreaking 3 to player
- send "&6ダイヤモンドのツルハシ &aを購入しました!"
- remove 900 from {gold.%player%}
- else:
- send "&cGold が不足しています。"
- execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
- stop
- if name of clicked item is "&aダイヤモンドの斧":
- if {gold.%player%} >= 900:
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- give diamond axe of unbreaking 3 to player
- send "&6ダイヤモンドの斧 &aを購入しました!"
- remove 900 from {gold.%player%}
- else:
- send "&cGold が不足しています。"
- execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
- stop
- if name of clicked item is "&aダイヤモンドのシャベル":
- if {gold.%player%} >= 900:
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- give diamond shovel of unbreaking 3 to player
- send "&6ダイヤモンドのシャベル &aを購入しました!"
- remove 900 from {gold.%player%}
- else:
- send "&cGold が不足しています。"
- execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
- stop
- if name of clicked item is "&a弓":
- if {gold.%player%} >= 1000:
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- give bow of unbreaking 3 to player
- send "&6弓 &aを購入しました!"
- remove 1000 from {gold.%player%}
- else:
- send "&cGold が不足しています。"
- execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
- stop
- if name of clicked item is "&a矢":
- if {gold.%player%} >= 500:
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- give 16 arrow to player
- send "&6矢 &aを購入しました!"
- remove 500 from {gold.%player%}
- else:
- send "&cGold が不足しています。"
- execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
- stop
- if name of clicked item is "&aスピードポーション &7(II 60s)":
- if {gold.%player%} >= 300:
- execute console command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- give water bottle named "&aスピードポーション" to player
- send "&6スピードポーション &aを購入しました!"
- remove 300 from {gold.%player%}
- else:
- send "&cGold が不足しています。"
- execute console command "/playsound entity.endermen.teleport master %player% ~ ~ ~ 2 0.5 1"
- stop
- if name of clicked item is "&aブロック":
- set slot 10 of player's current inventory to green glass pane named "&1"
- set slot 11 of player's current inventory to gray glass pane named "&2"
- set slot 12 of player's current inventory to gray glass pane named "&3"
- set slot 13 of player's current inventory to gray glass pane named "&4"
- set slot 14 of player's current inventory to gray glass pane named "&5"
- set slot 15 of player's current inventory to gray glass pane named "&6"
- set slot 16 of player's current inventory to gray glass pane named "&7"
- set slot 19 of player's current inventory to white wool named "&a羊毛" with lore "&c" and "&7羊毛 &8x16" and "&1" and "&7Price: &680"
- set slot 20 of player's current inventory to sandstone named "&a砂岩" with lore "&c" and "&7砂岩 &8x16" and "&1" and "&7Price: &6130"
- set slot 21 of player's current inventory to white hardened clay named "&a粘土" with lore "&c" and "&7粘土 &8x12" and "&1" and "&7Price: &680"
- set slot 22 of player's current inventory to oak wood planks named "&a木材" with lore "&c" and "&7木材 &8x16" and "&1" and "&7Price: &6180"
- set slot 23 of player's current inventory to end stone named "&aエンドストーン" with lore "&c" and "&7エンドストーン &8x12" and "&1" and "&7Price: &6260"
- set slot 24 of player's current inventory to obsidian named "&a黒曜石" with lore "&c" and "&7黒曜石 &8x4" and "&1" and "&7Price: &6800"
- set slot 25 of player's current inventory to air
- set slot 26 of player's current inventory to air
- set slot 27 of player's current inventory to air
- set slot 28 of player's current inventory to air
- set slot 29 of player's current inventory to air
- set slot 30 of player's current inventory to air
- set slot 31 of player's current inventory to air
- set slot 32 of player's current inventory to air
- if name of clicked item is "&a武器":
- set slot 10 of player's current inventory to gray glass pane named "&1"
- set slot 11 of player's current inventory to green glass pane named "&2"
- set slot 12 of player's current inventory to gray glass pane named "&3"
- set slot 13 of player's current inventory to gray glass pane named "&4"
- set slot 14 of player's current inventory to gray glass pane named "&5"
- set slot 15 of player's current inventory to gray glass pane named "&6"
- set slot 16 of player's current inventory to gray glass pane named "&7"
- set slot 19 of player's current inventory to stone sword named "&a石の剣" with lore "&c" and "&7石の剣 &8x1" and "&1" and "&7Price: &6100"
- set slot 20 of player's current inventory to iron sword named "&a鉄の剣" with lore "&c" and "&7鉄の剣 &8x1" and "&1" and "&7Price: &6500"
- set slot 21 of player's current inventory to diamond sword named "&aダイヤモンドの剣" with lore "&c" and "&7ダイヤモンドの剣 &8x1" and "&1" and "&7Price: &6800"
- set slot 22 of player's current inventory to air
- set slot 23 of player's current inventory to air
- set slot 24 of player's current inventory to air
- set slot 25 of player's current inventory to air
- set slot 26 of player's current inventory to air
- set slot 27 of player's current inventory to air
- set slot 28 of player's current inventory to air
- set slot 29 of player's current inventory to air
- set slot 30 of player's current inventory to air
- set slot 31 of player's current inventory to air
- set slot 32 of player's current inventory to air
- if name of clicked item is "&a装備":
- set slot 10 of player's current inventory to gray glass pane named "&1"
- set slot 11 of player's current inventory to gray glass pane named "&2"
- set slot 12 of player's current inventory to green glass pane named "&3"
- set slot 13 of player's current inventory to gray glass pane named "&4"
- set slot 14 of player's current inventory to gray glass pane named "&5"
- set slot 15 of player's current inventory to gray glass pane named "&6"
- set slot 16 of player's current inventory to gray glass pane named "&7"
- set slot 19 of player's current inventory to chainmail boots named "&aチェーンアーマー" with lore "&c" and "&7チェーンレギンス &8x1" and "&7チェーンブーツ &8x1" and "&1" and "&7Price: &6300"
- set slot 20 of player's current inventory to iron boots named "&a鉄アーマー" with lore "&c" and "&7鉄レギンス &8x1" and "&7鉄ブーツ &8x1" and "&1" and "&7Price: &6500"
- set slot 21 of player's current inventory to diamond boots named "&aダイヤモンドアーマー" with lore "&c" and "&7ダイヤモンドレギンス &8x1" and "&7ダイヤモンドブーツ &8x1" and "&1" and "&7Price: &61000"
- set slot 22 of player's current inventory to air
- set slot 23 of player's current inventory to air
- set slot 24 of player's current inventory to air
- set slot 25 of player's current inventory to air
- set slot 26 of player's current inventory to air
- set slot 27 of player's current inventory to air
- set slot 28 of player's current inventory to air
- set slot 29 of player's current inventory to air
- set slot 30 of player's current inventory to air
- set slot 31 of player's current inventory to air
- set slot 32 of player's current inventory to air
- if name of clicked item is "&aツール":
- set slot 10 of player's current inventory to gray glass pane named "&1"
- set slot 11 of player's current inventory to gray glass pane named "&2"
- set slot 12 of player's current inventory to gray glass pane named "&3"
- set slot 13 of player's current inventory to green glass pane named "&4"
- set slot 14 of player's current inventory to gray glass pane named "&5"
- set slot 15 of player's current inventory to gray glass pane named "&6"
- set slot 16 of player's current inventory to gray glass pane named "&7"
- set slot 19 of player's current inventory to stone pickaxe named "&a石のツルハシ" with lore "&c" and "&7石のツルハシ &8x1" and "&1" and "&7Price: &6100"
- set slot 20 of player's current inventory to stone axe named "&a石の斧" with lore "&c" and "&7石の斧 &8x1" and "&1" and "&7Price: &6100"
- set slot 21 of player's current inventory to stone shovel named "&a石のシャベル" with lore "&c" and "&7石のシャベル &8x1" and "&1" and "&7Price: &6100"
- set slot 22 of player's current inventory to air
- set slot 23 of player's current inventory to iron pickaxe named "&a鉄のツルハシ" with lore "&c" and "&7鉄のツルハシ &8x1" and "&1" and "&7Price: &6300"
- set slot 24 of player's current inventory to iron axe named "&a鉄の斧" with lore "&c" and "&7鉄の斧 &8x1" and "&1" and "&7Price: &6300"
- set slot 25 of player's current inventory to iron shovel named "&a鉄のシャベル" with lore "&c" and "&7鉄のシャベル &8x1" and "&1" and "&7Price: &6300"
- set slot 26 of player's current inventory to air
- set slot 27 of player's current inventory to air
- set slot 28 of player's current inventory to air
- set slot 29 of player's current inventory to air
- set slot 30 of player's current inventory to diamond pickaxe named "&aダイヤモンドのツルハシ" with lore "&c" and "&7ダイヤモンドのツルハシ &8x1" and "&1" and "&7Price: &6900"
- set slot 31 of player's current inventory to diamond axe named "&aダイヤモンドの斧" with lore "&c" and "&7ダイヤモンドの斧 &8x1" and "&1" and "&7Price: &6900"
- set slot 32 of player's current inventory to diamond shovel named "&aダイヤモンドのシャベル" with lore "&c" and "&7ダイヤモンドシャベル &8x1" and "&1" and "&7Price: &6900"
- if name of clicked item is "&a弓 & 矢":
- set slot 10 of player's current inventory to gray glass pane named "&1"
- set slot 11 of player's current inventory to gray glass pane named "&2"
- set slot 12 of player's current inventory to gray glass pane named "&3"
- set slot 13 of player's current inventory to gray glass pane named "&4"
- set slot 14 of player's current inventory to green glass pane named "&5"
- set slot 15 of player's current inventory to gray glass pane named "&6"
- set slot 16 of player's current inventory to gray glass pane named "&7"
- set slot 19 of player's current inventory to bow named "&a弓" with lore "&c" and "&7弓 &8x1" and "&1" and "&7Price: &61000"
- set slot 20 of player's current inventory to arrow named "&a矢" with lore "&c" and "&7矢 &8x16" and "&1" and "&7Price: &6500"
- set slot 21 of player's current inventory to air
- set slot 22 of player's current inventory to air
- set slot 23 of player's current inventory to air
- set slot 24 of player's current inventory to air
- set slot 25 of player's current inventory to air
- set slot 26 of player's current inventory to air
- set slot 27 of player's current inventory to air
- set slot 28 of player's current inventory to air
- set slot 29 of player's current inventory to air
- set slot 30 of player's current inventory to air
- set slot 31 of player's current inventory to air
- set slot 32 of player's current inventory to air
- if name of clicked item is "&aポーション":
- set slot 10 of player's current inventory to gray glass pane named "&1"
- set slot 11 of player's current inventory to gray glass pane named "&2"
- set slot 12 of player's current inventory to gray glass pane named "&3"
- set slot 13 of player's current inventory to gray glass pane named "&4"
- set slot 14 of player's current inventory to gray glass pane named "&5"
- set slot 15 of player's current inventory to green glass pane named "&6"
- set slot 16 of player's current inventory to gray glass pane named "&7"
- set slot 19 of player's current inventory to water bottle named "&aスピードポーション &7(II 60s)" with lore "&c" and "&7スピードポーション (II 60s) &8x1" and "&1" and "&7Price: &6300"
- set slot 20 of player's current inventory to water bottle named "&aジャンプ力上昇 &7(V 60s)" with lore "&c" and "&7ジャンプ力上昇ポーション (III 60s) &8x1" and "&1" and "&7Price: &6300"
- set slot 21 of player's current inventory to water bottle named "&a透明化ポーション &7(II 30s)" with lore "&c" and "&7透明化ポーション (II 30s) &8x1" and "&1" and "&7Price: &6400"
- set slot 22 of player's current inventory to air
- set slot 23 of player's current inventory to air
- set slot 24 of player's current inventory to air
- set slot 25 of player's current inventory to air
- set slot 26 of player's current inventory to air
- set slot 27 of player's current inventory to air
- set slot 28 of player's current inventory to air
- set slot 29 of player's current inventory to air
- set slot 30 of player's current inventory to air
- set slot 31 of player's current inventory to air
- set slot 32 of player's current inventory to air
- if name of clicked item is "&aその他":
- set slot 10 of player's current inventory to gray glass pane named "&1"
- set slot 11 of player's current inventory to gray glass pane named "&2"
- set slot 12 of player's current inventory to gray glass pane named "&3"
- set slot 13 of player's current inventory to gray glass pane named "&4"
- set slot 14 of player's current inventory to gray glass pane named "&5"
- set slot 15 of player's current inventory to gray glass pane named "&6"
- set slot 16 of player's current inventory to green glass pane named "&7"
- set slot 19 of player's current inventory to tnt named "&aTNT" with lore "&c" and "&7TNT &8x1" and "&1" and "&7Price: &6400"
- set slot 20 of player's current inventory to egg named "&a卵" with lore "&c" and "&7卵 &8x64" and "&1" and "&7Price: &6600"
- set slot 21 of player's current inventory to water bucket named "&a水バケツ" with lore "&c" and "&7水バケツ &8x1" and "&1" and "&7Price: &6200"
- set slot 22 of player's current inventory to lava bucket named "&a溶岩バケツ" with lore "&c" and "&7溶岩バケツ &8x1" and "&1" and "&7Price: &6300"
- set slot 23 of player's current inventory to air
- set slot 24 of player's current inventory to air
- set slot 25 of player's current inventory to air
- set slot 26 of player's current inventory to air
- set slot 27 of player's current inventory to air
- set slot 28 of player's current inventory to air
- set slot 29 of player's current inventory to air
- set slot 30 of player's current inventory to air
- set slot 31 of player's current inventory to air
- set slot 32 of player's current inventory to air
- command /game <text>:
- permission: skript.admin
- trigger:
- if arg-1 is "false":
- set {game} to false
- set {lobby} to true
- send "&aGame mode: &cFalse"
- stop
- if arg-1 is "true":
- set {game} to true
- set {lobby} to false
- send "&aGame mode: &eTrue"
- stop
- on explode:
- cancel event
- On consume a water bottle:
- if item is water bottle item named "&aスピードポーション":
- apply potion of speed of tier 2 to player for 60 seconds
- send "&aSpeed &7(II 60s)"
- if item is water bottle item named "&aジャンプ力上昇 &7(V 60s)":
- apply potion of jump boost of tier 5 to player for 60 seconds
- if item is water bottle item named "&a透明化ポーション &7(II 30s)":
- apply potion of invisibility of tier 2 to player for 30 seconds
- on drop:
- if {lobby} is true:
- cancel event
- command /drop <player>:
- permission: skript.admin
- trigger:
- drop all items in arg-1's inventory
- send "&7%arg-1% &eのアイテムをドロップしました!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement