Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /game [<text>] [<text>]:
- permission: server.admin
- permission message: §cYou do not have permission to execute this command!
- usage: /game <mode <gamemode> | chuukoku | chuusenn | start | stop>
- trigger:
- if arg-1 is "help":
- send "Arguments <mode <gamemode> | chuukoku | chuusenn [player]>"
- if arg-1 is "mode":
- if arg-2 is "reset" or "aooni-normal" or "aooni-hard" or "aonige":
- if arg-2 is "reset":
- delete {game.mode}
- send "&bゲームモードをリセットしました。"
- if arg-2 is "aooni-normal":
- set {game.mode} to "normal"
- broadcast "&bゲームモードを &9[Aooni - &6&lNormalMode&9] &bに設定しました。"
- if arg-2 is "aooni-hard":
- set {game.mode} to "hard"
- broadcast "&bゲームモードを &9[Aooni - &c&lHardMode&9] &bに設定しました。"
- if arg-2 is "aonige":
- set {game.mode} to "aonige"
- broadcast "&bゲームモードを &9[&9&lAo&f&lnige&9] &bに設定しました。"
- else:
- send "&cUsage: &7/game mode <reset | aooni-normal | aooni-hard | aonige>"
- if arg-1 is "chuusenn":
- if {game.mode} is not set:
- send "&cゲームモードが設定されていません!"
- send "&cUsage: &7/game mode <aooni-normal | aooni-hard>"
- else:
- if {game.mode} is "aonige":
- send "&c青逃は鬼を抽選できません!"
- send "&cUsage: &7/game mode <aooni-normal | aooni-hard>"
- else:
- if {game.mode} is "normal":
- broadcast "&b&lInfo &7» &9&l青鬼 &6&lNormalMode&eの青鬼を 15 秒後に抽選します。"
- execute console command "execute @a ~ ~ ~ /playsound minecraft:entity.arrow.hit_player master @a ~ ~ ~ 5 1.0"
- wait 15 seconds
- if {game.mode} is "hard":
- broadcast "&b&lInfo &7» &9&l青鬼 &c&lHardMode&eの青鬼を 15 秒後に抽選します。"
- execute console command "execute @a ~ ~ ~ /playsound minecraft:entity.arrow.hit_player master @a ~ ~ ~ 5 1.0"
- wait 15 seconds
- if arg-1 is "chuukoku":
- if {game.mode} is not set:
- send "&cゲームモードが設定されていません!"
- send "&cUsage: &7/game mode <aooni-normal | aooni-hard | aonige>"
- else:
- if {game.mode} is "normal":
- broadcast "&b&lInfo &7» &eもうすぐ&9&l青鬼 &6&lNormalMode&eが開始します。"
- execute console command "execute @a ~ ~ ~ /playsound minecraft:entity.arrow.hit_player master @a ~ ~ ~ 5 1.0"
- if {game.mode} is "hard":
- broadcast "&b&lInfo &7» &eもうすぐ&9&l青鬼 &c&lHardMode&eが開始します。"
- execute console command "execute @a ~ ~ ~ /playsound minecraft:entity.arrow.hit_player master @a ~ ~ ~ 5 1.0"
- if {game.mode} is "aonige":
- broadcast "&b&lInfo &7» &eもうすぐ&9&l青&f&l逃&eが開始します。"
- execute console command "execute @a ~ ~ ~ /playsound minecraft:entity.arrow.hit_player master @a ~ ~ ~ 5 1.0"
- if arg-1 is "start":
- if {game.mode} is not set:
- send "&cゲームモードが設定されていません!"
- send "&cUsage: &7/game mode <aooni-normal | aooni-hard | aonige>"
- else:
- if {game.mode} is "normal":
- if {game.mode} is "hard":
- if {game.mode} is "aonige"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement