Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on join:
- if {game} is true:
- 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:
- set quit message to "&7%player% &7Disconnected."
- execute console command "/kill %player%"
- on death of player:
- if {game} is true:
- set death message to "%victim% &ewas killed by %attacker%"
- force respawn player
- on respawn:
- if {game} is true:
- set player's gamemode to spectator
- teleport player to {spectatespawn}
- send "&cあなたは死亡しました!"
- on 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%{coins}%" and "&2"
- set slot 0 of player's current inventory to nether star named "&aステータス" with lore "&1" "&fYour Coins: &6%{gamecoins.%player%}%"
- 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"
- command /menu:
- trigger:
- if {lobby} is true:
- open chest with 3 row named "&aMenu" to player
- set slot 11 of player's current inventory to nether star named "&aゲームに参加" with lore "&7ここをクリックすると" and "&7チーム選択画面に移り、" and "&7ゲームに参加できます。" and "&1" and "&8Click to open"
- set slot 13 of player's current inventory to emerald named "&aショップ" with lore "&7ここをクリックすると" and "&7キットまたはコスチューム購入画面に移り、" and "&7購入することができます。" and "&1" and "&8Click to open"
- set slot 15 of player's current inventory to chest named "&aコスチューム" with lore "&7ここをクリックすると" and "&7コスチューム選択画面に移り、" and "&7自分の所持しているコスチュームを" and "&7選択しています。" and "&1" and "&8Click to open"
- on inventory click:
- if name of player's current inventory contain "&aMenu":
- cancel event
- if name of clicked item is "&aゲームに参加":
- open chest with 3 row named "&aMenu" to player
- set slot 11 of player's current inventory to red wool named "&c赤チームに参加" with lore "&7ここをクリックすると" and "&7赤チームに参加します。" and "&1" and "&8Click to join"
- set slot 15 of player's current inventory to blue wool named "&9青チームに参加" with lore "&7ここをクリックすると" and "&7青チームに参加します。" and "&1" and "&8Click to join"
- on explode:
- cancel event
- on drop:
- if {lobby} is true:
- cancel event
Add Comment
Please, Sign In to add comment