Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /start:
- executable by: console
- trigger:
- set {info::battle::start} to "start"
- broadcast "&6&l[Battle]まもなくゲームが始まります"
- if {info::battle::start} is "start":
- wait 30 seconds
- if {info::battle::start} is "start":
- broadcast "&6&l[Battle]30秒前"
- if {info::battle::start} is "start":
- wait 20 seconds
- broadcast "&6&l[Battle]10秒前"
- if {info::battle::start} is "start":
- wait 5 seconds
- broadcast "&6&l[Battle]5秒前"
- if {info::battle::start} is "start":
- wait 1 seconds
- broadcast "&6&l[Battle]4秒前"
- if {info::battle::start} is "start":
- wait 1 seconds
- broadcast "&6&l[Battle]3秒前"
- if {info::battle::start} is "start":
- wait 1 seconds
- broadcast "&6&l[Battle]2秒前"
- chance of 1:
- set {info::Map} to "SkyWars"
- if {info::battle::start} is "start":
- wait 1 seconds
- broadcast "&6&l[Battle]1秒前"
- broadcast "&6&l[Battle]&eMapは&6&l%{info::Map}%&eです"
- if {info::battle::start} is "start":
- wait 1 seconds
- broadcast "&6&l[Battle]スタート!!!"
- loop all players:
- if {info::battle::%loop-player%::join} is "true":
- set {info::team::%loop-player%} to "sub"
- if {info::team::%loop-player%} is "sub":
- set {info::team::%loop-player%} to "red"
- if {info::team::%loop-player%} is "sub":
- set {info::team::%loop-player%} to "blue"
- if {info::team::%loop-player%} is "red":
- set the loop-player's tablist name to "&4&l[Red]&e%name of loop-player%"
- set the loop-player's display name to "&4&l[Red]&e%name of loop-player%"
- if {info::team::%loop-player%} is "blue":
- set the loop-player's tablist name to "&1&l[Blue]&e%name of loop-player%"
- set the loop-player's display name to "&1&l[Blue]&e%name of loop-player%"
- if {info::Map} is "SkyWars":
- if {info::team::%loop-player%} is "blue":
- teleport loop-player to {Skywars-Blue}
- if {info::team::%loop-player%} is "red":
- teleport loop-player to {Skywars-Red}
- clear {info::battle::%loop-player%::join}
- command /swred:
- permission: sk.admin
- trigger:
- set {Skywars-Red} to player's location
- command /swblue:
- permission: sk.admin
- trigger:
- set {Skywars-Blue} to player's location
- command /swtest:
- permission: sk.admin
- trigger:
- teleport player to {Skywars-Blue}
- command /gamestop:
- executable by: console
- trigger:
- set {info::battle::start} to "stop"
- loop all players:
- clear {info::battle::%loop-player%::join}
- clear {info::team::%loop-player%}
- set the loop-player's tablist name to "&f%name of loop-player%"
- set the loop-player's display name to "&f%name of loop-player%"
- display board named "&e&m=*-*=&d&lW&b&le&d&ll&b&lc&d&lo&b&lm&d&le&e&m=*-*=" to loop-player
- broadcast "&6&l[Battle]&eゲームが止められました"
- set {info::battle::number} to 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement