Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on first join:
- set {lbwar.player.firstjoin::%player%} to true
- broadcast "&2&lEntrance &7>> &dFirstJoin: %player%"
- on join:
- if {lbwar.player.firstjoin::%player%} is true:
- set {lbwar.player.firstjoin::%player%} to false
- stop
- set join message to "&2&lEntrance &7>> &eJoin: %player%"
- on quit:
- set quit message to "&2&lEntrance &7>> &cQuit: %player%"
- command /launch <text> [<text>]:
- permission: lbwar.launch
- trigger:
- if arg 1 is "countdown":
- set {launch.system.stop} to false
- arg 2 is set
- set {_count} to arg 2 parsed as integer
- broadcast "&3&lSystem &7>> &aまもなく &7-&4&lL&c&launc&4&lh&7- &aが開始します"
- command "execute @a ~ ~ ~ playsound block.note.pling master @s"
- loop {_count}+1 times:
- loop all players:
- set action bar of loop-player to coloured "&7-&4&lL&c&launc&4&lh&7- &e開始まで &6%{_count}%秒"
- remove 1 from {_count}
- wait a second
- if {launch.system.stop} is true:
- broadcast "&3&lSystem &7>> &7-&4&lL&c&launc&4&lh&7- &cの開始がキャンセルされました"
- stop
- command "/launch start"
- if arg 1 is "start":
- set {launch.system.stop} to false
- loop all players:
- block below loop-player is emerald block
- add 1 to {launch.system.plamount}
- set {launch.system.join::%{launch.system.plamount}%} to loop-player
- message "&3&lSystem &7>> &7-&4&lL&c&launc&4&lh&7- &bへの参加に成功しました" to loop-player
- wait 2 tick
- if {launch.system.plamount} < 1:
- broadcast "&3&lSystem &7>> &a人数が足りない為再度参加者の募集を行います &2(%{launch.system.plamount}%/3)"
- command "/launch stop"
- command "/launch countdown 60"
- stop
- broadcast "&3&lSystem &7>> &aゲームを開始します"
- message "&7>> &aゲーム: &7-&4&lL&c&launc&4&lh&7-" to {launch.system.join::*}
- message "&7>> &aプレイヤー数: &6&l%{launch.system.plamount}%" to {launch.system.join::*}
- message "&7>> &e&l罠を仕掛けて敵を潰せ!" to {launch.system.join::*}
- set {lbwar.system.game} to "launch"
- if arg 1 is "stop":
- set {launch.system.stop} to true
- set {launch.system.plamount} to 0
- clear {launch.system.join::*}
- command /gmenu [<text>]:
- trigger:
- if {lbwar.system.game} is "launch":
- {launch.system.join::*} is player
- open chest with 1 rows named "&7-&4&lL&c&launc&4&lh&7-" to player
- format slot 1 of player with filled_map named "&eマップ投票" to run "map %player%"
- format slot 4 of player with wooden_pressure_plate named "&eトラップ選択" to run "trap %player%"
- format slot 4 of player with blaze_rod named "&eスティック選択" to run "stick %player%"
Advertisement
Add Comment
Please, Sign In to add comment