Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /oni [<text>] [<text>]:
- permission: skript.admin
- trigger:
- if arg-1 is "oni":
- if arg-2 is "1":
- command "/fill -147 4 162 -139 4 162 air"
- command "/setblock -147 4 162 stone"
- send "&c&l[&4鬼&5ごっこ&c&l]&6鬼を&e[&b1&e]&6にセットしました"
- if arg-2 is "2":
- command "/fill -147 4 162 -139 4 162 air"
- command "/setblock -145 4 162 stone"
- send "&c&l[&4鬼&5ごっこ&c&l]&6鬼を&e[&b2&e]&6にセットしました"
- if arg-2 is "3":
- command "/fill -147 4 162 -139 4 162 air"
- command "/setblock -143 4 162 stone"
- send "&c&l[&4鬼&5ごっこ&c&l]&6鬼を&e[&b3&e]&6にセットしました"
- if arg-2 is "4":
- command "/fill -147 4 162 -139 4 162 air"
- command "/setblock -141 4 162"
- send "&c&l[&4鬼&5ごっこ&c&l]&6鬼を&e[&b4&e]&6にセットしました"
- if arg-2 is "5":
- command "/fill -147 4 162 -139 4 162 air"
- command "/setblock -139 4 162 stone"
- send "&c&l[&4鬼&5ごっこ&c&l]&6鬼を&e[&b5&e]&6にセットしました"
- if arg-1 is "start":
- command "/setblock -141 4 147 stone"
- send "&c&l[&4鬼&5ごっこ&c&l]&6鬼ごっこが開始されました"
- if arg-1 is "oniset":
- command "/fill -123 4 147 -123 5 147 air"
- command "/setblock -139 4 149 stone"
- wait 1 seconds
- command "/setblock -141 4 149 air"
- command "/setblock -155 4 149 stone"
- command "/setblock -155 4 145 air"
- command "/setblock -134 4 122 air"
- send "&c&l[&4鬼&5ごっこ&c&l]&6鬼を手動で決めます つずいて 部屋に入った後 &b/oni onikime &6で鬼を決めてください"
- if arg-1 is "oninotset":
- command "/fill -123 4 147 -123 5 147 stone"
- command "/setblock -155 4 149 air"
- command "/setblock -141 4 149 stone"
- command "/setblock -155 4 145 stone"
- command "/setblock -134 4 122 stone"
- send "&c&l[&4鬼&5ごっこ&c&l]&6鬼を自動で決めます"
- if arg-1 is "onikime":
- command "/setblock -123 2 148 stone"
- broadcast "&c&l[&4鬼&5ごっこ&c&l]&6鬼が決まりました"
- if arg-1 is "stop":
- command "/setblock -138 4 134 stone"
- broadcast "&c&l[&4鬼&5ごっこ&c&l]&6鬼ごっこが強制終了しました"
- if arg-1 is "mapset":
- if arg-2 is "1":
- command "/fill -134 4 163 -128 4 163 air"
- command "/setblock -134 4 163 stone"
- send "&c&l[&4鬼&5ごっこ&c&l]&6Mapを&e[&b1&e]&6にセットしました"
- broadcast "&c&l[&4鬼&5ごっこ&c&l]&6ステージを&b&l「風車の町」&6にしました"
- if arg-1 is "mapset":
- if arg-2 is "2":
- command "/fill -134 4 163 -128 4 163 air"
- command "/setblock -132 4 163 stone"
- send "&c&l[&4鬼&5ごっこ&c&l]&6Mapを&e[&b2&e]&6にセットしました"
- broadcast "&c&l[&4鬼&5ごっこ&c&l]&6ステージを&b&l「砂浜」&6にしました"
- if arg-1 is "timeset":
- if arg-2 is "1":
- command "/fill -174 4 127 -174 4 141 air"
- command "/setblock -174 4 127 stone"
- broadcast "&c&l[&4鬼&5ごっこ&c&l]&6鬼ごっこの制限時間を&e[&b1分&e]&6に設定しました"
- if arg-2 is "2":
- command "/fill -174 4 127 -174 4 141 air"
- command "/setblock -174 4 129 stone"
- broadcast "&c&l[&4鬼&5ごっこ&c&l]&6鬼ごっこの制限時間を&e[&b2分&e]&6に設定しました"
- if arg-2 is "3":
- command "/fill -174 4 127 -174 4 141 air"
- command "/setblock -174 4 131 stone"
- broadcast "&c&l[&4鬼&5ごっこ&c&l]&6鬼ごっこの制限時間を&e[&b3分&e]&6に設定しました"
- if arg-2 is "4":
- command "/fill -174 4 127 -174 4 141 air"
- command "/setblock -174 4 133 stone"
- broadcast "&c&l[&4鬼&5ごっこ&c&l]&6鬼ごっこの制限時間を&e[&b4分&e]&6に設定しました"
- if arg-2 is "5":
- command "/fill -174 4 127 -174 4 141 air"
- command "/setblock -174 4 135 stone"
- broadcast "&c&l[&4鬼&5ごっこ&c&l]&6鬼ごっこの制限時間を&e[&b5分&e]&6に設定しました"
- if arg-2 is "6":
- command "/fill -174 4 127 -174 4 141 air"
- command "/setblock -174 4 137 stone"
- broadcast "&c&l[&4鬼&5ごっこ&c&l]&6鬼ごっこの制限時間を&e[&b6分&e]&6に設定しました"
- if arg-2 is "7":
- command "/fill -174 4 127 -174 4 141 air"
- command "/setblock -174 4 139 stone"
- broadcast "&c&l[&4鬼&5ごっこ&c&l]&6鬼ごっこの制限時間を&e[&b7分&e]&6に設定しました"
- if arg-2 is "8":
- command "/fill -174 4 127 -174 4 141 air"
- command "/setblock -174 4 141 stone"
- broadcast "&c&l[&4鬼&5ごっこ&c&l]&6鬼ごっこの制限時間を&e[&b8分&e]&6に設定しました"
- if arg-1 is "reset":
- send "&c&l[&4鬼&5ごっこ&c&l]&6システムをリセット中...."
- command "/fill -147 4 162 -139 4 162 air"
- command "/setblock -147 4 162 stone"
- send "&c&l[&4鬼&5ごっこ&c&l]&6鬼を&e[&b1&e]&6にセットしました"
- wait 2 seconds
- command "/fill -123 4 147 -123 5 147 stone"
- command "/setblock -155 4 149 air"
- command "/setblock -141 4 149 stone"
- command "/setblock -155 4 145 stone"
- send "&c&l[&4鬼&5ごっこ&c&l]&6鬼を自動で決めます"
- wait 2 seconds
- command "/fill -174 4 135 -174 4 141 air"
- command "/setblock -174 4 135 stone"
- send "&c&l[&4鬼&5ごっこ&c&l]&6鬼ごっこの制限時間を&e[&b5分&e]&6に設定しました"
- wait 2 seconds
- command "/setblock -138 4 134 stone"
- send "&c&l[&4鬼&5ごっこ&c&l]&6データーをリセット"
- wait 2 seconds
- send "&c&l[&4鬼&5ごっこ&c&l]&6ご安心くださいサーバーのデーターは消えません ただ いじくった設定を元に戻しただけです"
- send "&c&l[&4鬼&5ごっこ&c&l]&6リセットされました"
- if arg-1 is "onime":
- command "/setblock -155 4 145 air"
- command "/setblock -155 4 149 stone"
- command "/scoreboard players tag %arg-2% add oni"
- send "&c&l[&4鬼&5ごっこ&c&l]&b%arg-2%&eさんが強制的に鬼になりました"
- if arg-1 is "help":
- send "&b=====&c&l[&4鬼&5ごっこ&c&l]&a====="
- send "&e/oni oni &b[1/2/3/4/5]"
- send "&6このコマンドは鬼を決めます(5人まで)"
- send "&e/oni oniset"
- send "&6このコマンドは鬼を手動で決めます"
- send "&e/oni oninotset"
- send "&6このコマンドは鬼を自動で決めます"
- send "&e/oni onikime"
- send "&6このコマンドは鬼を手動で決めます"
- send "&e/oni mapset &b[1/2]"
- send "&6このコマンドは鬼ごっこのmapを選びます"
- send "&e/oni timeset &b[1/2/3/4/5/6/7/8]"
- send "&6このコマンドは鬼ごっこの時間を決めます"
- send "&e/oni onime [Player]"
- send "&6このコマンドはPlayerに鬼をさせるコマンドです"
- send "&e/oni start"
- send "&6このコマンドは鬼ごっこを始めます"
- send "&e/oni stop"
- send "&6このコマンドは鬼ごっこを止めます"
- send "&c&l注意:使うな危険"
- send "&b============&a============"
- command /join:
- trigger:
- send "&c&l[&4鬼&5ごっこ&c&l]&6鬼ごっこに参加しました"
- command "/scoreboard players tag %player% add join"
- send "&c&l[&4鬼&5ごっこ&c&l]&b%player%&6さんが&ejoin&6しました" to ops
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement