Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /aooni [<text>]:
- permission: sk.aooni
- permission message: §cYou do not have permission to execute this command!
- trigger:
- if arg-1 is "start" or "oniwarp" or "owp" or "chuukoku" or "help" or "random" or "dairi" or "stop" or "onichuukoku":
- if arg-1 is "start":
- if {aooni.aooni} is "false":
- set {aooni.aooni} to "true"
- send "&7[&bAooni&7] &a青鬼をスタートしました。"
- execute console command "setblock 778 64 460 redstone_block"
- broadcast "&9&l[--AooniMiniGames--]&e 青鬼を開始します!"
- set {time} to 800
- else:
- send "&7[&bAooni&7] &c青鬼が既に開始しています!"
- if arg-1 is "stop":
- if {aooni.aooni} is "true":
- set {aooni.aooni} to "false"
- execute console command "setblock 776 64 455 redstone_block"
- delete {aooni.oni}
- loop all players:
- delete loop-player's sidebar
- delete {%loop-player%.clear}
- delete {%loop-player%.team}
- send "&7[&bAooni&7] &a青鬼をストップしました。"
- set {aooni.cpc} to 0
- set {aooni.tjl} to 0
- delete {aooni.oni}
- execute console command "settime 1"
- else:
- send "&7[&bAooni&7] &c青鬼が開始されていません!"
- if arg-1 is "oniwarp" or "owp":
- if {aooni.aooni} is "false":
- execute console command "setblock 790 43 448 redstone_block"
- set {a.awpd} to 1
- else if {aooni.aooni} is "true":
- send "&7[&bAooni&7] &c青鬼が既に開始しています!"
- if arg-1 is "chuukoku":
- broadcast "&9&l[--AooniMiniGames--]&e 青鬼を開始します。"
- execute console command "execute @a ~ ~ ~ /playsound minecraft:entity.arrow.hit_player master @a ~ ~ ~ 5 0.8"
- if arg-1 is "help":
- send "&9&l&o------------ AooniMiniGames &e&lSystems &9&l&o------------"
- send " &a&l作者: maozou &e&l改造: ClockClap"
- send " "
- send "&7start &8- &b青鬼を強制終了します。"
- send "&7oniwarp&8 | &7owp &8- &b青鬼を決めます。"
- send "&7chuukoku &8- &b青鬼開始忠告をします。"
- send "&7help &8- &bこれを表示します。"
- send "&7random &8- &3※ 青鬼が決まらなかった時用&b 青鬼をランダムで選びます。"
- send "&7dairi &8- &b青鬼が歪をしたときに青鬼の代理を選びます。"
- send "&7stop &8- &b青鬼を強制終了させます。"
- send "&7onichuukoku &8- &b青鬼抽選忠告をします。"
- send " "
- if arg-1 is "random":
- if {aooni.aooni} is "false":
- execute console command "setblock 770 64 469 redstone_block"
- else if {aooni.aooni} is "true":
- send "&7[&bAooni&7] &c青鬼が既に開始しています!"
- if arg-1 is "dairi":
- if {aooni.aooni} is "true":
- execute console command "setblock 777 64 463 redstone_block"
- else if {aooni.aooni} is "false":
- send "&7[&bAooni&7] &c青鬼が開始されていません!"
- if arg-1 is "onichuukoku":
- if {aooni.aooni} is "false":
- broadcast "&9&l[--AooniMiniGames]&b 青鬼を抽選します。"
- execute console command "execute @a ~ ~ ~ /playsound minecraft:entity.arrow.hit_player master @a ~ ~ ~ 5 0.8"
- else if {aooni.aooni} is "true":
- send "&7[&bAooni&7] &c青鬼が既に開始しています!"
- command /sc <text>:
- permission: admin
- trigger:
- if arg-1 is "reset":
- delete {sc.type}
- if arg-1 is "tika":
- set {sc.type} to 0
- if arg-1 is "5kai":
- set {sc.type} to 1
- if arg-1 is "nazo":
- set {sc.type} to 2
- command /deletetime:
- permission: admin
- trigger:
- delete {time}
- send "&7[&6Time&7] &e残り時間を消しました。"
- command /settime <number>:
- permission: admin
- trigger:
- send "&7[&6Time&7] &e残り時間を&6 %arg 1%&e に設定しました。"
- set {time} to arg-1
- command /astop:
- permission: admin
- trigger:
- set {aooni.aooni} to "false"
- execute console command "setblock 777 64 466 redstone_block"
- delete {aooni.oni}
- loop all players:
- delete loop-player's sidebar
- delete {%loop-player%.clear}
- delete {%loop-player%.team}
- set {aooni.cpc} to 0
- set {aooni.tjl} to 0
- set {time} to 0
- delete {aooni.oni}
- command /oniset <player>:
- permission: admin
- trigger:
- set {aooni.oni} to arg-1
- set {%arg 1%.team} to "aooni"
- command /hirosi <player>:
- permission: admin
- trigger:
- if {aooni.oni} is "%arg 1%":
- delete {aooni.oni}
- set {%arg 1%.team} to "hirosi"
- else:
- set {%arg 1%.team} to "hirosi"
- command /dsc:
- permission: admin
- trigger:
- delete {aooni.scoreboard}
- send "&cスコアボードを非表示にしました。"
- command /ssc:
- permission: admin
- trigger:
- set {aooni.scoreboard} to 1
- send "&aスコアボードを表示しました。"
- command /aclp <player>:
- permission: admin
- trigger:
- if {%arg 1%.clear} is not set:
- add 1 to {aooni.cpc}
- set {%arg 1%.clear} to 1
- on death of player:
- if attacker is a player:
- broadcast "&9%victim%は青鬼に食べられた"
- every seconds:
- loop all players:
- execute console command "/title @a[tag=oni] actionbar ["""",{""text"":""キル数:"",""color"":""green""},{""text"":""%{kills.%loop-player%}%},{""text"":""5階滞在時間:"",""color"":""blue"",""bold"":""true""},{""score"":{""name"":""taizai"",""objective"":""taizai"",""color"":""aqua""}}]"
- if {aooni.cpc} is not set:
- set {aooni.cpc} to 0
- if {time} is 0:
- execute console command "astop"
- if {time} is 200:
- execute console command "setblock 776 46 478 air"
- execute console command "setblock 774 46 478 air"
- if {time} is 790:
- execute console command "setblock 776 64 474 redstone_block"
- if {time} is 780:
- execute console command "setblock 776 64 476 redstone_block"
- if {aooni.aooni} is "true":
- remove 1 from {time}
- execute console command "scoreboard players set 残り時間 Aooni %{time}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement