Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /admin [<text>]:
- permission: skript.admin
- trigger:
- if arg-1 is not set:
- message "&c/admin setspawn1 - 赤チームのポイントを設定"
- message "&c/admin setspawn2 - 青チームのポイントを設定"
- message "&c/admin stop - スタート中のゲームを強制終了"
- message "&c/admin reload - Skriptの再起動"
- message "&c/admin start - バグが起きた際に、強制スタート"
- if arg-1 is set:
- if arg-1 is "setspawn1":
- set {game.spawn.1} to location of player
- message "&7Completed! INFO:%{game.spawn.1}% --> redpoint"
- if arg-1 is "setspawn2":
- set {game.spawn.2} to location of player
- message "&7Completed! INFO:%{game.spawn.2}% --> bluepoint"
- if arg-1 is "stop":
- message "&c未完成"
- if arg-1 is "reload":
- broadcast "&7Skriptの再起動中です…ラグにご注意ください。"
- execute console command "/skript reload gameapi"
- broadcast "&7同期完了!"
- if arg-1 is "start":
- if {gamestart} is true:
- message "&cゲームはスタートしています。"
- stop
- else:
- set {gamestart} to true
- message "&aゲームを開始しました!"
- set {join::*} to false
- set {join::red} to true
- on walking on black concrete powder:
- if {gamestart} is true:
- if {join::red} is true:
- message "&7Joined &cRed &7Team."
- teleport player to {game.spawn.1}
- set {join::*} to false
- set {join::blue} to true
- stop
- if {join::blue} is true:
- message "&7Joined &1Blue &7Team."
- teleport player to {game.spawn.2}
- set {join::*} to false
- set {join::red} to true
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement