SHOW:
|
|
- or go back to the newest paste.
| 1 | - | #aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa |
| 1 | + | # 氷鬼 :: システム ( 1.0 ) |
| 2 | - | #aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa |
| 2 | + | |
| 3 | options: | |
| 4 | logo : &b[&b&l氷鬼&b] | |
| 5 | - | logo : &b[氷鬼] |
| 5 | + | |
| 6 | - | command /oc [<text>]: |
| 6 | + | command /OPChat [<text>]: |
| 7 | aliases: opc, oc, | |
| 8 | permission: skript.admin | |
| 9 | trigger: | |
| 10 | - | send "&6[OP] &a%player% : %arg-1%" to ops |
| 10 | + | |
| 11 | send "&6[OPチャット] &c%player% &f: %arg-1%" to ops | |
| 12 | - | send "&cメッセージを入力してください" |
| 12 | + | |
| 13 | send "{@logo} &cメッセージを入力してください"
| |
| 14 | on chat: | |
| 15 | cancel event | |
| 16 | if {Mute.%player%} is true:
| |
| 17 | send "&cあなたはミュートされています!!" | |
| 18 | stop | |
| 19 | else: | |
| 20 | if {Rank.%player%} is "VIP":
| |
| 21 | if {oni::*} contains player:
| |
| 22 | broadcast "&c[鬼] %player% &e[VIP] &f: &f%message%" | |
| 23 | else if {nige::*} contains player:
| |
| 24 | broadcast "&a[逃げ] %player% &e[VIP] &f: &f%message%" | |
| 25 | else if {koori::*} contains player:
| |
| 26 | broadcast "&b[氷] %player% &e[VIP] &f: &f%message%" | |
| 27 | else if player is op: | |
| 28 | broadcast "&c&6[Admin] &d%player% &f: &f%message%" | |
| 29 | - | broadcast "&c[AllChat] &7[観戦] %player% &e[VIP] : &f%message%" |
| 29 | + | |
| 30 | broadcast "&7[観戦] %player% &e[VIP] : &f%message%" | |
| 31 | - | broadcast "&c[AllChat] %player% &e[VIP] &f: &f%message%" |
| 31 | + | |
| 32 | broadcast "&c%player% &e[VIP] &f: &f%message%" | |
| 33 | else: | |
| 34 | if {oni::*} contains player:
| |
| 35 | broadcast "&c[鬼] %player% &7: &f%message%" | |
| 36 | else if {nige::*} contains player:
| |
| 37 | broadcast "&a[逃げ] %player% &7: &f%message%" | |
| 38 | else if {koori::*} contains player:
| |
| 39 | broadcast "&b[氷] %player% &7: &f%message%" | |
| 40 | else if player is op: | |
| 41 | broadcast "&c[AllChat] &6[Admin] &d%player% &f: &f%message%" | |
| 42 | - | broadcast "&c[AllChat] &7[観戦] %player% : &7%message%" |
| 42 | + | |
| 43 | broadcast "&7[観戦] %player% : &7%message%" | |
| 44 | - | broadcast "&c[AllChat] %player% &7: &7%message%" |
| 44 | + | |
| 45 | broadcast "&c%player% &7: &7%message%" | |
| 46 | ||
| 47 | command /kaijo: | |
| 48 | permission: skript.admin | |
| 49 | trigger: | |
| 50 | command "/effect %player% clear" | |
| 51 | remove player from {koori::*}
| |
| 52 | add player to {nige::*}
| |
| 53 | command "/kill @e[type=falling_block,name=%player%]" | |
| 54 | command "/clear %player%" | |
| 55 | set player's tab list name to "&a[逃げ]%player%" | |
| 56 | ||
| 57 | ||
| 58 | on join: | |
| 59 | set join message to "{@logo} &e%player% さんがサーバーに参加しました!!"
| |
| 60 | command "/effect %player% clear" | |
| 61 | if {game} is set:
| |
| 62 | if {oni::*} contains player:
| |
| 63 | teleport player to {spawn.nige::%{map}%}
| |
| 64 | else if {nige::*} contains player:
| |
| 65 | teleport player to {spawn.nige::%{map}%}
| |
| 66 | effect(player) | |
| 67 | else if {koori::*} contains player:
| |
| 68 | teleport player to {spawn.nige::%{map}%}
| |
| 69 | effect(player) | |
| 70 | else: | |
| 71 | send "{@logo} &a試合が終わるまで観戦です"
| |
| 72 | set player's tab list name to "&7[観戦]%player%" | |
| 73 | teleport player to location (532, 6, 284) | |
| 74 | set player's gamemode to spectator | |
| 75 | else: | |
| 76 | remove player from {koori::*}
| |
| 77 | command "/scoreboard teams join nametag %player%" | |
| 78 | ||
| 79 | on quit: | |
| 80 | set quit message to "{@logo} &e%player% さんがサーバーから抜けました"
| |
| 81 | if {nige::*} contains player:
| |
| 82 | remove player from {nige::*}
| |
| 83 | ||
| 84 | command /spawnmap [<number>] [<text>] [<text>]: | |
| 85 | permission: skript.admib | |
| 86 | trigger: | |
| 87 | if arg-1 is set: | |
| 88 | if arg-2 is "add": | |
| 89 | if arg-3 is "oni": | |
| 90 | send "{@logo} &aマップ%arg-1%の鬼のスポーンを%location of player%に設定しました"
| |
| 91 | set {spawn.oni::%arg-1%} to location of player
| |
| 92 | else if arg-3 is "nige": | |
| 93 | send "{@logo} &eマップ%arg-1%の逃げのスポーンを%location of player%に設定しました"
| |
| 94 | set {spawn.nige::%arg-1%} to location of player
| |
| 95 | else if arg-2 is "remove": | |
| 96 | if arg-3 is "oni": | |
| 97 | send "{@logo} &aマップ%arg-1%の鬼のスポーンを削除しました"
| |
| 98 | delete {spawn.oni::%arg-1%}
| |
| 99 | if arg-3 is "nige": | |
| 100 | send "{@logo} &aマップ%arg-1%の逃げのスポーンを削除しました"
| |
| 101 | delete {spawn.nige::%arg-1%}
| |
| 102 | ||
| 103 | - | set {Server.Game} to true
|
| 103 | + | |
| 104 | - | {game} is not set
|
| 104 | + | |
| 105 | - | set {game} to true
|
| 105 | + | if {
|
| 106 | - | set {map} to random integer between 1 and 4
|
| 106 | + | set {Server.Game} to true
|
| 107 | - | broadcast "{@logo} &a鬼を決めます…"
|
| 107 | + | {game} is not set
|
| 108 | - | wait 1 seconds |
| 108 | + | set {game} to true
|
| 109 | set {map} to random integer between 1 and 4
| |
| 110 | - | {j.%loop-player%} is not set
|
| 110 | + | broadcast "{@logo} &a鬼を決めます…"
|
| 111 | - | add loop-player to {_player::*}
|
| 111 | + | |
| 112 | - | if number of {_player::*} is between 1 and 5:
|
| 112 | + | loop all players: |
| 113 | - | set {_n} to random player of {_player::*}
|
| 113 | + | |
| 114 | - | command "/oni add %{_n}%"
|
| 114 | + | add loop-player to {_player::*}
|
| 115 | - | broadcast "{@logo} &a今回の鬼は&b%{_n}%&aさんです"
|
| 115 | + | if number of {_player::*} is between 1 and 5:
|
| 116 | - | else if number of {_player::*} is between 6 and 14:
|
| 116 | + | |
| 117 | - | loop 2 times: |
| 117 | + | |
| 118 | broadcast "{@logo} &a今回の鬼は&b%{_n}%&aさんです"
| |
| 119 | - | remove {_n} from {_player::*}
|
| 119 | + | else if number of {_player::*} is between 6 and 14:
|
| 120 | loop 2 times: | |
| 121 | set {_n} to random player of {_player::*}
| |
| 122 | - | else if number of {_player::*} is between 14 and 30:
|
| 122 | + | remove {_n} from {_player::*}
|
| 123 | - | loop 3 times: |
| 123 | + | command "/oni add %{_n}%"
|
| 124 | broadcast "{@logo} &a今回の鬼は&b%{_n}%&aさんです"
| |
| 125 | - | remove {_n} from {_player::*}
|
| 125 | + | else if number of {_player::*} is between 14 and 30:
|
| 126 | loop 3 times: | |
| 127 | set {_n} to random player of {_player::*}
| |
| 128 | - | wait 2 seconds |
| 128 | + | remove {_n} from {_player::*}
|
| 129 | - | set {game} to true
|
| 129 | + | command "/oni add %{_n}%"
|
| 130 | broadcast "{@logo} &a今回の鬼は&b%{_n}%&aさんです"
| |
| 131 | - | if {oni::*} contains loop-player:
|
| 131 | + | wait 2 seconds |
| 132 | - | set loop-player's helmet to glowing ice named "&c【鬼装備】" |
| 132 | + | set {game} to true
|
| 133 | - | set loop-player's chestplate to glowing leather chestplate named "&c【鬼装備】" |
| 133 | + | loop all players: |
| 134 | - | set loop-player's leggings to glowing leather leggings named "&c【鬼装備】" |
| 134 | + | if {oni::*} contains loop-player:
|
| 135 | - | set loop-player's boots to glowing leather boots named "&c【鬼装備】" |
| 135 | + | set loop-player's helmet to glowing ice named "&c【鬼装備】" |
| 136 | - | dye loop-player's helmet light blue |
| 136 | + | set loop-player's chestplate to glowing leather chestplate named "&c【鬼装備】" |
| 137 | - | dye loop-player's chestplate light blue |
| 137 | + | set loop-player's leggings to glowing leather leggings named "&c【鬼装備】" |
| 138 | - | dye loop-player's leggings light blue |
| 138 | + | set loop-player's boots to glowing leather boots named "&c【鬼装備】" |
| 139 | - | dye loop-player's boots light blue |
| 139 | + | dye loop-player's helmet light blue |
| 140 | - | teleport loop-player to {spawn.oni::%{map}%}
|
| 140 | + | dye loop-player's chestplate light blue |
| 141 | - | set loop-player's tab list name to "&c[鬼]%loop-player%" |
| 141 | + | dye loop-player's leggings light blue |
| 142 | dye loop-player's boots light blue | |
| 143 | teleport loop-player to {spawn.oni::%{map}%}
| |
| 144 | - | teleport loop-player to {spawn.nige::%{map}%}
|
| 144 | + | set loop-player's tab list name to "&c[鬼]%loop-player%" |
| 145 | - | set loop-player's tab list name to "&a[逃げ]%loop-player%" |
| 145 | + | |
| 146 | - | command "/effect %loop-player% 1 10 2 true" |
| 146 | + | {j.%loop-player%} is not set
|
| 147 | - | give loop-player feather named "&bBooster" |
| 147 | + | teleport loop-player to {spawn.nige::%{map}%}
|
| 148 | - | add loop-player to {nige::*}
|
| 148 | + | set loop-player's tab list name to "&a[逃げ]%loop-player%" |
| 149 | - | command "/setblock 560 4 200 redstone_block" |
| 149 | + | command "/effect %loop-player% 1 10 2 true" |
| 150 | - | command "/fill 584 12 194 584 5 182 ice" |
| 150 | + | give loop-player feather named "&bBooster" |
| 151 | - | command "/fill 525 7 464 721 4 464 ice" |
| 151 | + | add loop-player to {nige::*}
|
| 152 | - | broadcast "{@logo} &c10&a秒後に鬼が動き始めます…"
|
| 152 | + | command "/setblock 560 4 200 redstone_block" |
| 153 | - | command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.fail master @a" |
| 153 | + | command "/fill 584 12 194 584 5 182 ice" |
| 154 | - | wait 5 seconds |
| 154 | + | command "/fill 525 7 464 721 4 464 ice" |
| 155 | - | loop 5 times: |
| 155 | + | broadcast "{@logo} &c10&a秒後に鬼が動き始めます…"
|
| 156 | - | broadcast "{@logo} &c%6-loop-number%&a秒後に鬼が動き始めます…"
|
| 156 | + | |
| 157 | wait 5 seconds | |
| 158 | loop 5 times: | |
| 159 | - | command "/fill 584 12 194 584 5 182 air" #map1 |
| 159 | + | broadcast "{@logo} &c%6-loop-number%&a秒後に鬼が動き始めます…"
|
| 160 | - | command "/fill 587 10 113 599 4 113 air" #map2 |
| 160 | + | command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.fail master @a" |
| 161 | - | command "/fill 895 8 18 895 5 31 air" #map3-1 |
| 161 | + | wait 1 seconds |
| 162 | - | command "/fill 898 8 38 908 5 38 air" #map3-2 |
| 162 | + | command "/fill 584 12 194 584 5 182 air" #map1 |
| 163 | - | command "/fill 527 7 464 525 4 464 air" #map4 |
| 163 | + | command "/fill 587 10 113 599 4 113 air" #map2 |
| 164 | - | command "/execute @a ~ ~ ~ /playsound minecraft:entity.wither.spawn master @a ~ ~ ~ 1 2" |
| 164 | + | command "/fill 895 8 18 895 5 31 air" #map3-1 |
| 165 | - | broadcast "{@logo} &b&l鬼が動き始めました!"
|
| 165 | + | command "/fill 898 8 38 908 5 38 air" #map3-2 |
| 166 | - | set {time} to 300
|
| 166 | + | command "/fill 527 7 464 525 4 464 air" #map4 |
| 167 | - | set {time.color} to "&a"
|
| 167 | + | command "/execute @a ~ ~ ~ /playsound minecraft:entity.wither.spawn master @a ~ ~ ~ 1 2" |
| 168 | - | while {game} is set:
|
| 168 | + | broadcast "{@logo} &b&l鬼が動き始めました!"
|
| 169 | set {time} to 300
| |
| 170 | - | remove 1 from {time}
|
| 170 | + | set {time.color} to "&a"
|
| 171 | - | send action bar "&c&l【&e残り時間&8:%{time.color}%%{time}%&c&l &b%number of {nige::*}%人が生存中&c&l】" to all players
|
| 171 | + | while {game} is set:
|
| 172 | - | if {time} is 150:
|
| 172 | + | wait 1 seconds |
| 173 | - | set {time.color} to "&e"
|
| 173 | + | remove 1 from {time}
|
| 174 | - | if {time} is 60:
|
| 174 | + | send action bar "&c&l【&e残り時間&8:%{time.color}%%{time}%&c&l &b%number of {nige::*}%人が生存中&c&l】" to all players
|
| 175 | - | set {time.color} to "&c"
|
| 175 | + | if {time} is 150:
|
| 176 | - | if {time} is 30:
|
| 176 | + | set {time.color} to "&e"
|
| 177 | - | broadcast "{@logo} &6残り30秒を切ったため逃走者にに発行、鬼にスピードがつきます"
|
| 177 | + | if {time} is 60:
|
| 178 | - | loop {nige::*}:
|
| 178 | + | set {time.color} to "&c"
|
| 179 | - | command "/effect %loop-value% glowing 10000 255 true" |
| 179 | + | if {time} is 30:
|
| 180 | - | loop {koori::*}:
|
| 180 | + | broadcast "{@logo} &6残り30秒を切ったため逃走者にに発行、鬼にスピードがつきます"
|
| 181 | - | command "/effect %loop-value% glowing 10000 255 true" |
| 181 | + | loop {nige::*}:
|
| 182 | - | loop {oni::*}:
|
| 182 | + | command "/effect %loop-value% glowing 10000 255 true" |
| 183 | - | command "/effect %loop-value% speed 100000 1 true" |
| 183 | + | loop {koori::*}:
|
| 184 | - | if number of {nige::*} is 0:
|
| 184 | + | command "/effect %loop-value% glowing 10000 255 true" |
| 185 | - | execute console command "/owari" |
| 185 | + | loop {oni::*}:
|
| 186 | - | loop all players: |
| 186 | + | command "/effect %loop-value% speed 100000 1 true" |
| 187 | - | teleport loop-player to location (532, 6, 284) |
| 187 | + | if number of {nige::*} is 0:
|
| 188 | - | broadcast "{@logo} &a全員が捕まったため、&c&l鬼側&aの&e勝利&aです!"
|
| 188 | + | execute console command "/owari" |
| 189 | - | else if {time} is 0:
|
| 189 | + | loop all players: |
| 190 | - | loop all players: |
| 190 | + | teleport loop-player to location (532, 6, 284) |
| 191 | - | teleport loop-player to location (532, 6, 284) |
| 191 | + | broadcast "{@logo} &a全員が捕まったため、&c&l鬼側&aの&e勝利&aです!"
|
| 192 | - | broadcast "{@logo} &a生存者が逃げ切ったため、&b&l逃げ側&aの&e勝利&aです!"
|
| 192 | + | else if {time} is 0:
|
| 193 | - | command "/owari" |
| 193 | + | loop all players: |
| 194 | teleport loop-player to location (532, 6, 284) | |
| 195 | broadcast "{@logo} &a生存者が逃げ切ったため、&b&l逃げ側&aの&e勝利&aです!"
| |
| 196 | command "/owari" | |
| 197 | command /owari: | |
| 198 | permission: skript.admin | |
| 199 | trigger: | |
| 200 | set {Server.Game} to false
| |
| 201 | delete {game}
| |
| 202 | broadcast "{@logo} &aゲーム終了!"
| |
| 203 | delete {nige::*}
| |
| 204 | delete {tatti::*}
| |
| 205 | loop {oni::*}:
| |
| 206 | clear loop-value's inventory | |
| 207 | command "/oni allremove" | |
| 208 | loop {koori::*}:
| |
| 209 | command "/kill @e[type=falling_block,name=%loop-value%]" | |
| 210 | delete {koori::*}
| |
| 211 | loop all players: | |
| 212 | teleport loop-player to location (532, 6, 284) | |
| 213 | set loop-player's tab list name to "&f%loop-player%" | |
| 214 | set loop-player's gamemode to survival | |
| 215 | command "/effect %loop-player% clear" | |
| 216 | command "/clear %loop-player%" | |
| 217 | command "/fill 584 12 194 584 5 182 ice" #map1 | |
| 218 | command "/fill 587 10 113 599 4 113 ice" #map2 | |
| 219 | command "/fill 895 8 18 895 5 31 ice" #map3-1 | |
| 220 | - | command /nojoin: |
| 220 | + | |
| 221 | command "/fill 525 7 464 721 4 464 ice" #map4 | |
| 222 | - | if {j.%player%} is not set:
|
| 222 | + | |
| 223 | - | send "{@logo} &c不参加にしました"
|
| 223 | + | |
| 224 | - | set {j.%player%} to "set"
|
| 224 | + | |
| 225 | trigger: | |
| 226 | - | send "{@logo} &a自動参加になりました"
|
| 226 | + | |
| 227 | - | delete {j.%player%}
|
| 227 | + | |
| 228 | if {oni::*} do not contain arg-2:
| |
| 229 | send "{@logo} &a鬼を%arg-2%にしました"
| |
| 230 | add arg-2 to {oni::*}
| |
| 231 | else: | |
| 232 | send "{@logo} &c%arg-2%は既に鬼に含まれています"
| |
| 233 | else: | |
| 234 | send "&cプレイヤーを書いてください" | |
| 235 | else if arg-1 is "remove": | |
| 236 | if arg-2 is set: | |
| 237 | if {oni::*} contains arg-2:
| |
| 238 | send "{@logo} &a%arg-2%を鬼から削除しました"
| |
| 239 | remove arg-2 from {oni::*}
| |
| 240 | else: | |
| 241 | send "{@logo} &c%arg-2%は鬼ではありません"
| |
| 242 | else: | |
| 243 | send "&cプレイヤーを書いてください" | |
| 244 | else if arg-1 is "allremove": | |
| 245 | delete {oni::*}
| |
| 246 | send "{@logo} &aすべてのプレイヤーを鬼から削除しました"
| |
| 247 | else: | |
| 248 | send "{@logo} &c使用法 : ""/oni [add/remove] <player>"
| |
| 249 | send "{@logo} &c例 : ""/oni add %player%"" であなたを鬼にします"
| |
| 250 | send "{@logo} &c例 : ""/oni remove %player%"" であなたを鬼から消します"
| |
| 251 | send "{@logo} &c例 : ""/oni allremove"" ですべてのプレイヤーを鬼から削除します"
| |
| 252 | on damage of player: | |
| 253 | cancel event | |
| 254 | if attacker is player: | |
| 255 | {game} is set
| |
| 256 | if {oni::*} contains attacker:
| |
| 257 | if {oni::*} do not contain victim:
| |
| 258 | {tatti::%victim%} is not set
| |
| 259 | set {tatti::%victim%} to true
| |
| 260 | broadcast "{@logo} &c%victim%が%attacker%によって捕まった!"
| |
| 261 | set victim's tab list name to "&b[氷]%victim%" | |
| 262 | set victim's hunger to 0 | |
| 263 | command "/execute %victim% ~ ~ ~ /summon falling_block ~ ~ ~ {CustomName:""%victim%"",CustomNameVisible:1,NoGravity:1b,Block:""minecraft:ice"",Data:0,Time:1b,DropItem:0}"
| |
| 264 | set victim's helmet to ice named "&b氷" | |
| 265 | set victim's chestplate to ice named "&b氷" | |
| 266 | set victim's leggings to ice named "&b氷" | |
| 267 | set victim's boots to ice named "&b氷" | |
| 268 | add victim to {koori::*}
| |
| 269 | remove victim from {nige::*}
| |
| 270 | effect(victim) | |
| 271 | else: | |
| 272 | if {oni::*} do not contain victim:
| |
| 273 | {tatti::%attacker%} is not set
| |
| 274 | {tatti::%victim%} is set
| |
| 275 | broadcast "{@logo} &e%victim%が%attacker%によって救出されました!"
| |
| 276 | set victim's tab list name to "&a[逃げ]%victim%" | |
| 277 | add victim to {nige::*}
| |
| 278 | remove victim from {koori::*}
| |
| 279 | command "/kill @e[type=falling_block,name=%victim%]" | |
| 280 | delete {tatti::%victim%}
| |
| 281 | effect(victim) | |
| 282 | set victim's helmet to air | |
| 283 | set victim's chestplate to air | |
| 284 | set victim's leggings to air | |
| 285 | set victim's boots to air | |
| 286 | on inventory click: | |
| 287 | if clicked item's name is "&c【鬼装備】" or "&b氷": | |
| 288 | cancel event | |
| 289 | on drop: | |
| 290 | if event-item's name is "&c【鬼装備】" or "&b氷": | |
| 291 | cancel event | |
| 292 | function effect(p: player): | |
| 293 | if {koori::*} contains {_p}:
| |
| 294 | command "effect %{_p}% slowness 10000 255 true"
| |
| 295 | command "effect %{_p}% minecraft:jump_boost 10000 188 true"
| |
| 296 | set {_p}'s hunger to 0
| |
| 297 | else: | |
| 298 | command "/effect %{_p}% clear"
| |
| 299 | set {_p}'s hunger to 20
| |
| 300 | on any move: | |
| 301 | if {koori::*} contains player:
| |
| 302 | set player's hunger to 0 | |
| 303 | else: | |
| 304 | set player's hunger to 20 | |
| 305 | execute console command "/tp @e[type=falling_block,name=%player%] %player%" | |
| 306 | on click with feather: | |
| 307 | if {nige::*} contains player:
| |
| 308 | if event-item's name is "&bBooster": | |
| 309 | if {ct.%player%} is not set:
| |
| 310 | set {ct.%player%} to true
| |
| 311 | command "/effect %player% speed 8 2 true" | |
| 312 | send "{@logo} &bBooster &aを使用した!"
| |
| 313 | command "execute %player% ~ ~ ~ /playsound minecraft:entity.player.burp master %player% ~ ~ ~ 2" | |
| 314 | wait 30 seconds | |
| 315 | delete {ct.%player%}
| |
| 316 | else: | |
| 317 | send "{@logo} &cクールダウン中です"
| |
| 318 | on drop: | |
| 319 | event-item's name is "&bBooster" | |
| 320 | cancel event | |
| 321 | ||
| 322 | command /mute [<player>]: | |
| 323 | permission: skript.admin | |
| 324 | trigger: | |
| 325 | if arg 1 is not set: | |
| 326 | send "&cMuteしたいプレイヤーを選択して下さい!" | |
| 327 | else: | |
| 328 | set {Mute.%arg 1%} to true
| |
| 329 | ||
| 330 | command /unmute [<player>]: | |
| 331 | permission: skript.admin | |
| 332 | trigger: | |
| 333 | if arg 1 is not set: | |
| 334 | send "&cUnMuteしたいプレイヤーを選択して下さい!" | |
| 335 | else: | |
| 336 | set {Mute.%arg 1%} to false
| |
| 337 | ||
| 338 | command /fly: | |
| 339 | trigger: | |
| 340 | if {Rank.%player%} is "VIP" or ops:
| |
| 341 | if {Server.Game} is false:
| |
| 342 | if {flight.%player%} is true:
| |
| 343 | set player's flight mode to false | |
| 344 | set {flight.%player%} to false
| |
| 345 | send "{@logo} &cFly &7: &cfalse"
| |
| 346 | else: | |
| 347 | set player's flight mode to true | |
| 348 | set {flight.%player%} to true
| |
| 349 | send "{@logo} &cFly &7: &aon"
| |
| 350 | else: | |
| 351 | send "{@logo} &cロビー以外で空を飛ぶことはできません!!"
| |
| 352 | else: | |
| 353 | send "{@logo} &cあなたはFlyコマンドを実行する権限がありません!!"
| |
| 354 | send "&6/realm &cからVIPを買うことでロビーで飛ぶことが可能になります" | |
| 355 | ||
| 356 | on first join: | |
| 357 | set {flight.%player%} to false
| |
| 358 | set player's flight mode to false | |
| 359 | ||
| 360 | every 8 minutes: | |
| 361 | broadcast "{@logo} &6VIPRANK &cを購入することでロビーで空を飛ぶことができるようになります!!!!"
| |
| 362 | ||
| 363 | command /VIP [<player>]: | |
| 364 | permission: skript.admin | |
| 365 | trigger: | |
| 366 | if arg 1 is set: | |
| 367 | set {Rank.%arg 1%} to "VIP"
| |
| 368 | ||
| 369 | command /Push-The-Player [<player>]: | |
| 370 | permission: skript.admin | |
| 371 | trigger: | |
| 372 | push arg 1 up at speed 0.3 | |
| 373 | ||
| 374 | every 1 seconds: | |
| 375 | - | command /tpush [<player>]: |
| 375 | + | |
| 376 | if {Server.Game} is true:
| |
| 377 | if loop-player is not op: | |
| 378 | set loop-player's flight mode to false | |
| 379 | ||
| 380 | command /Vanish: | |
| 381 | permission: skript.admin | |
| 382 | trigger: | |
| 383 | if {Vanish.%player%} is true:
| |
| 384 | - | set loop-player's flight mode to false |
| 384 | + | set {Vanish.%player%} to false
|
| 385 | send "{@logo} &7Vanish : &cOff"
| |
| 386 | else: | |
| 387 | set {Vanish.%player%} to true
| |
| 388 | send "{@logo} &7Vanish : &aOn"
| |
| 389 | ||
| 390 | command /Kaboom [<text>] [<player>]: | |
| 391 | permission: skript.admin | |
| 392 | trigger: | |
| 393 | if arg 1 is "All": | |
| 394 | send "&c[KABOOM] LUNCH ALL PLAYER!!!!!!!" | |
| 395 | push all players up at speed 3 | |
| 396 | strike lightning effect at all players | |
| 397 | if arg 1 is "player": | |
| 398 | if arg 2 is set: | |
| 399 | send "&c[KABOOM] LUNCH %arg 2%!!!!!!" | |
| 400 | command "/Kaboom-Push-Player-Select %arg 2%" | |
| 401 | strike lightning effect at arg 2 | |
| 402 | ||
| 403 | command /Kaboom-Push-Player-Select [<player>]: | |
| 404 | permission: op | |
| 405 | trigger: | |
| 406 | push arg 1 up at speed 3 |