Advertisement
kunihiko_sato

Untitled

Dec 22nd, 2018
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.14 KB | None | 0 0
  1. command /game [<text>] [<text>]:
  2. permission: server.admin
  3. permission message: §cYou do not have permission to execute this command!
  4. usage: /game <mode <gamemode> | chuukoku | chuusenn | start | stop>
  5. trigger:
  6. if arg-1 is "help":
  7. send "Arguments <mode <gamemode> | chuukoku | chuusenn [player]>"
  8. if arg-1 is "mode":
  9. if arg-2 is "reset" or "aooni-normal" or "aooni-hard" or "aonige":
  10. if arg-2 is "reset":
  11. delete {game.mode}
  12. send "&bゲームモードをリセットしました。"
  13. if arg-2 is "aooni-normal":
  14. set {game.mode} to "normal"
  15. broadcast "&bゲームモードを &9[Aooni - &6&lNormalMode&9] &bに設定しました。"
  16. if arg-2 is "aooni-hard":
  17. set {game.mode} to "hard"
  18. broadcast "&bゲームモードを &9[Aooni - &c&lHardMode&9] &bに設定しました。"
  19. if arg-2 is "aonige":
  20. set {game.mode} to "aonige"
  21. broadcast "&bゲームモードを &9[&9&lAo&f&lnige&9] &bに設定しました。"
  22. else:
  23. send "&cUsage: &7/game mode <reset | aooni-normal | aooni-hard | aonige>"
  24. if arg-1 is "chuusenn":
  25. if {game.mode} is not set:
  26. send "&cゲームモードが設定されていません!"
  27. send "&cUsage: &7/game mode <aooni-normal | aooni-hard>"
  28. else:
  29. if {game.mode} is "aonige":
  30. send "&c青逃は鬼を抽選できません!"
  31. send "&cUsage: &7/game mode <aooni-normal | aooni-hard>"
  32. else:
  33. if {game.mode} is "normal":
  34. broadcast "&b&lInfo &7» &9&l青鬼 &6&lNormalMode&eの青鬼を 15 秒後に抽選します。"
  35. execute console command "execute @a ~ ~ ~ /playsound minecraft:entity.arrow.hit_player master @a ~ ~ ~ 5 1.0"
  36. wait 15 seconds
  37. if {game.mode} is "hard":
  38. broadcast "&b&lInfo &7» &9&l青鬼 &c&lHardMode&eの青鬼を 15 秒後に抽選します。"
  39. execute console command "execute @a ~ ~ ~ /playsound minecraft:entity.arrow.hit_player master @a ~ ~ ~ 5 1.0"
  40. wait 15 seconds
  41. if arg-1 is "chuukoku":
  42. if {game.mode} is not set:
  43. send "&cゲームモードが設定されていません!"
  44. send "&cUsage: &7/game mode <aooni-normal | aooni-hard | aonige>"
  45. else:
  46. if {game.mode} is "normal":
  47. broadcast "&b&lInfo &7» &eもうすぐ&9&l青鬼 &6&lNormalMode&eが開始します。"
  48. execute console command "execute @a ~ ~ ~ /playsound minecraft:entity.arrow.hit_player master @a ~ ~ ~ 5 1.0"
  49. if {game.mode} is "hard":
  50. broadcast "&b&lInfo &7» &eもうすぐ&9&l青鬼 &c&lHardMode&eが開始します。"
  51. execute console command "execute @a ~ ~ ~ /playsound minecraft:entity.arrow.hit_player master @a ~ ~ ~ 5 1.0"
  52. if {game.mode} is "aonige":
  53. broadcast "&b&lInfo &7» &eもうすぐ&9&l青&f&l逃&eが開始します。"
  54. execute console command "execute @a ~ ~ ~ /playsound minecraft:entity.arrow.hit_player master @a ~ ~ ~ 5 1.0"
  55. if arg-1 is "start":
  56. if {game.mode} is not set:
  57. send "&cゲームモードが設定されていません!"
  58. send "&cUsage: &7/game mode <aooni-normal | aooni-hard | aonige>"
  59. else:
  60. if {game.mode} is "normal":
  61. if {game.mode} is "hard":
  62. if {game.mode} is "aonige"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement