Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ======== ❄ THE FREEZE ❄ ========
- #
- # Server System ( 2.0 )
- #
- # =========================
- options:
- Logo : &e[&b&l氷鬼&e]
- logo : &e[&b&l氷鬼&e]
- Server : &c[The Freeze Server Proxy]
- on command "/stop":
- permission: Server.Administrator
- permission message: &cこのコマンドを使用するには Server.Administrator の権限が必要です。
- trigger:
- cancel event
- send "{@Server} サーバーを停止します。停止処理をしているのでしばらく待ってください。"
- set {Server.Stop} to true
- command "/Game Stop"
- broadcast "{@Server} サーバーが &430 &c秒後に停止します。"
- wait 20 seconds
- broadcast "{@Server} サーバーが &410 &c秒後に停止します。"
- wait 5 seconds
- broadcast "{@Server} サーバーが &45 &c秒後に停止します。"
- wait 1 seconds
- broadcast "{@Server} サーバーが &44 &c秒後に停止します。"
- wait 1 seconds
- broadcast "{@Server} サーバーが &43 &c秒後に停止します。"
- wait 1 seconds
- broadcast "{@Server} サーバーが &42 &c秒後に停止します。"
- wait 1 seconds
- broadcast "{@Server} サーバーが &41 &c秒後に停止します。"
- wait 1 seconds
- broadcast "{@Server} サーバーを停止しています..."
- wait 1 seconds
- command "/stop"
- command /Game [<text>]:
- permission: Server.Administrator
- permission message: &cこのコマンドを使用するには Server.Administrator の権限が必要です。
- trigger:
- if arg 1 is "Start":
- {Game} is not set
- set {Game} to true
- set {Map} to random integer between 1 and 4
- broadcast "{@Logo} &a鬼を決めます..."
- wait 3 seconds
- loop all players:
- {Join.%loop-player%} is not set
- add loop-player to {_Player::*}
- if number of {_Player::*} is between 1 and 5:
- broadcast "{@Logo} &a今回の鬼は %{_Oni}% さんです!"
- set {_Oni} to random player of {_Player::*}
- command "/Oni Add %{_Oni}%"
- else if number of {_Player::*} is between 6 and 14:
- loop 2 times:
- set {_Oni} to random player of {_Player::*}
- remove {_Oni} from {_Player::*}
- command "/Oni add %{_Oni}%"
- broadcast "{@Logo} &a今回の鬼は %{_Oni}% さんです!"
- else if number of {_Player::*} is between 14 and 30:
- loop 2 times:
- set {_Oni} to random player of {_Player::*}
- remove {_Oni} from {_Player::*}
- command "/Oni add %{_Oni}%"
- broadcast "{@Logo} &a今回の鬼は %{_Oni}% さんです!"
- wait 2 seconds
- set {Game} to true
- loop all players:
- if {Oni::*} contains player:
- set loop-player's helmet to glowing ice named "&c【鬼装備】"
- set loop-player's chestplate to glowing leather chestplate named "&c【鬼装備】"
- set loop-player's leggings to glowing leather leggings named "&c【鬼装備】"
- set loop-player's boots to glowing leather boots named "&c【鬼装備】"
- dye loop-player's helmet light blue
- dye loop-player's chestplate light blue
- dye loop-player's leggings light blue
- dye loop-player's boots Cyan
- teleport loop-player to {SpawnPoint.Oni::%{Map}%}
- set loop-player's tab list name to "&c[鬼] %loop-player%"
- else:
- {Join.%loop-player%} is not set
- teleport loop-player to {SpawnPoint.Nige::%{Map}%}
- set loop-player's tab list name to "&a[逃げ] %loop-player%"
- command "/effect %loop-player% 1 10 2 true"
- give loop-player feather named "&bSpeed Booster" with lore "&a[効果]" and "&c10&e秒間歩く速度が上がります" and "&3[クールダウン]" and "&e30秒"
- add loop-player to {Nige::*}
- command "/setblock 560 4 200 redstone_block"
- command "/fill 584 12 194 584 5 182 ice"
- command "/fill 525 7 464 721 4 464 ice"
- broadcast "{@Logo} &c10 &a秒後に鬼が動き始めます…"
- command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.fail master @a"
- wait 5 seconds
- loop 5 times:
- broadcast "{@Logo} &c%6-loop-number% &a秒後に鬼が動き始めます…"
- command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.fail master @a"
- wait 1 seconds
- command "/fill 584 12 194 584 5 182 air" #Map 1
- command "/fill 587 10 113 599 4 113 air" #Map 2
- command "/fill 895 8 18 895 5 31 air" #Map 3-1
- command "/fill 898 8 38 908 5 38 air" #Map 3-2
- command "/fill 525 4 464 521 7 464 air" $Map 4
- command "/execute @a ~ ~ ~ /playsound minecraft:entity.wither.spawn master @a ~ ~ ~ 1 2"
- broadcast "{@Logo} &b&l鬼が動き始めました!"
- set {Time} to 300
- set {Time.Color} to "&a"
- while {Game} is set:
- wait 1 seconds
- remove 1 from {Time}
- send action bar "&c&l【&e残り時間&8 : %{time.color}%%{time}%&c&l &b%number of {nige::*}%人が生存中&c&l】" to all players
- if {time} is 150:
- set {time.color} to "&e"
- if {time} is 60:
- set {time.color} to "&c"
- if {time} is 30:
- broadcast "{@Logo} &6残り30秒を切ったため逃走者にに発行、鬼にスピードがつきます。"
- loop {Nige::*}:
- command "/effect %loop-value% glowing 10000 255 true"
- loop {Koori::*}:
- command "/effect %loop-value% glowing 10000 255 true"
- loop {Oni::*}:
- command "/effect %loop-value% speed 100000 1 true"
- if number of {Nige::*} is 0:
- execute console command "/Game Stop"
- loop all players:
- teleport loop-player to location (532, 6, 284)
- broadcast "{@logo} &a全員が捕まったため、&c&l鬼側&aの&e勝利&aです!"
- else if {time} is 0:
- if {game} is set:
- loop all players:
- teleport loop-player to location (532, 6, 284)
- broadcast "{@logo} &a生存者が逃げ切ったため、&b&l逃げ側&aの&e勝利&aです!"
- command "/Game Stop"
- if arg 1 is "Stop":
- Delete Game
- broadcast "{@Logo} &aゲーム終了!"
- delete {Nige::*}
- delete {Tatti::*}
- loop {Oni::*}:
- clear loop-value's inventory
- command "/Oni allremove"
- loop {koori::*}:
- command "/kill @e[type=falling_block,name=%loop-value%]"
- delete {Koori::*}
- loop all players:
- teleport loop-player to location (532, 6, 284)
- set loop-player's tab list name to "&f%loop-player%"
- set loop-player's gamemode to survival
- command "/effect %loop-player% clear"
- command "/clear %loop-player%"
- command "/fill 584 12 194 584 5 182 ice" #map1
- command "/fill 587 10 113 599 4 113 ice" #map2
- command "/fill 895 8 18 895 5 31 ice" #map3-1
- command "/fill 898 8 38 908 5 38 ice" #map3-2
- command "/fill 525 4 464 521 7 464 ice" #map4
- command /ToggleJoin:
- trigger:
- if {Join.%player%} is not set:
- send "{@Logo} &c不参加にしました。"
- set {Join.%player%} to "set"
- else:
- send "{@Logo} &a自動参加になりました。"
- delete {Join.%player%}
- command /Oni [<text>] [<player>]:
- permission: Skript.Administrator
- permission message: &cこのコマンドを使用するには Server.Administrator の権限が必要です。
- trigger:
- if arg 1 is "Add":
- if arg 2 is set:
- if {Oni::*} do not contain arg 2:
- send "{@Logo} &a鬼に %arg 2% さんを追加しました。"
- add arg 2 to {Oni::*}
- else:
- send "{@Logo} &c%arg-2% さんは既に鬼に含まれています。"
- else:
- send "&cプレイヤーを選択してください。"
- else if arg 1 is "Remove":
- if arg 2 is set:
- if {Oni::*} contains arg 2:
- send "{@Logo} &a%arg 2% を鬼から削除しました"
- remove arg-2 from {Oni::*}
- else:
- send "{@Logo} &c%arg-2% さんは鬼ではありません。"
- else:
- send "&cプレイヤーを選択してください。"
- else if arg 1 is "allremove":
- delete {Oni::*}
- send "{@Logo} &aすべてのプレイヤーを鬼から削除しました"
- else:
- send "{@Logo} &c使用法 : "/oni [add/remove] <player>"
- send "{@Logo} &c例 : "/oni add %player%"" であなたを鬼にします"
- send "{@Logo} &c例 : "/oni remove %player%"" であなたを鬼から消します"
- send "{@Logo} &c例 : "/oni allremove"" ですべてのプレイヤーを鬼から削除します"
- on damage of player:
- cancel event
- if attacker is player:
- {Game} is set
- if {Oni::*} contains attacker:
- if {Oni::*} do not contain victim:
- {Tatti::%victim%} is not set
- set {Tatti::%victim%} to true
- broadcast "{@Logo} &c%victim% が %attacker%によって捕まった!"
- set victim's tab list name to "&b[氷] %victim%"
- set victim's hunger to 0
- command "/execute %victim% ~ ~ ~ /summon falling_block ~ ~ ~ {CustomName:""%victim%"",CustomNameVisible:1,NoGravity:1b,Block:""minecraft:ice"",Data:0,Time:1b,DropItem:0}"
- set victim's helmet to ice named "&b氷"
- set victim's chestplate to ice named "&b氷"
- set victim's leggings to ice named "&b氷"
- set victim's boots to ice named "&b氷"
- on damage of player:
- cancel event
- if attacker is player:
- {game} is set
- if {oni::*} contains attacker:
- if {oni::*} do not contain victim:
- {tatti::%victim%} is not set
- set {tatti::%victim%} to true
- broadcast "{@Logo} &c%victim%が%attacker%によって捕まった!"
- set victim's tab list name to "&b[氷]%victim%"
- set victim's hunger to 0
- command "/execute %victim% ~ ~ ~ /summon falling_block ~ ~ ~ {CustomName:""%victim%"",CustomNameVisible:1,NoGravity:1b,Block:""minecraft:ice"",Data:0,Time:1b,DropItem:0}"
- set victim's helmet to ice named "&b氷"
- on damage of player:
- cancel event
- if attacker is player:
- {game} is set
- if {oni::*} contains attacker:
- if {oni::*} do not contain victim:
- {tatti::%victim%} is not set
- set {tatti::%victim%} to true
- broadcast "{@Logo} &c%victim% が %attacker% によって捕まった!"
- set victim's tab list name to "&b[氷]%victim%"
- set victim's hunger to 0
- command "/execute %victim% ~ ~ ~ /summon falling_block ~ ~ ~ {CustomName:""%victim%"",CustomNameVisible:1,NoGravity:1b,Block:""minecraft:ice"",Data:0,Time:1b,DropItem:0}"
- set victim's helmet to ice named "&b氷"
- set victim's chestplate to ice named "&b氷"
- set victim's leggings to ice named "&b氷"
- set victim's boots to ice named "&b氷"
- add victim to {Koori::*}
- remove victim from {Nige::*}
- effect(victim)
- else:
- if {Oni::*} do not contain victim:
- {Tatti::%attacker%} is not set
- {Tatti::%victim%} is set
- broadcast "{@Logo} &e%victim% が %attacker% によって救出されました!"
- set victim's tab list name to "&a[逃げ] %victim%"
- add victim to {Nige::*}
- remove victim from {koori::*}
- command "/kill @e[type=falling_block,name=%victim%]"
- delete {Tatti::%victim%}
- effect(victim)
- set victim's helmet to air
- set victim's chestplate to air
- set victim's leggings to air
- set victim's boots to airadd victim to {Koori::*}
- remove victim from {Nige::*}
- effect(victim)
- else:
- if {Oni::*} do not contain victim:
- {Tatti::%attacker%} is not set
- {Tatti::%victim%} is set
- broadcast "{@Logo} &e%victim% が %attacker% によって救出されました!"
- set victim's tab list name to "&a[逃げ] %victim%"
- add victim to {Nige::*}
- remove victim from {Koori::*}
- command "/kill @e[type=falling_block,name=%victim%]"
- delete {Tatti::%victim%}
- effect(victim)
- set victim's helmet to air
- set victim's chestplate to air
- set victim's leggings to air
- set victim's boots to airadd victim to {Koori::*}
- remove victim from {nige::*}
- effect(victim)
- else:
- if {Oni::*} do not contain victim:
- {Tatti::%attacker%} is not set
- {Tatti::%victim%} is set
- broadcast "{@Logo} &e%victim% が %attacker% によって救出されました!"
- set victim's tab list name to "&a[逃げ] %victim%"
- add victim to {Nige::*}
- remove victim from {Koori::*}
- command "/kill @e[type=falling_block,name=%victim%]"
- delete {tatti::%victim%}
- effect(victim)
- set victim's helmet to air
- set victim's chestplate to air
- set victim's leggings to air
- set victim's boots to air
- on inventory click:
- if player is not op:
- cancel event
- send "{@Logo} 運営以外の人がアイテムをクリックすることはできません!!"
- on drop:
- if player is not op:
- cancel event
- send "{@Logo} 運営以外の人がアイテムをドロップすることはできません!!"
- function effect(p: player):
- if {koori::*} contains {_p}:
- command "effect %{_p}% slowness 10000 255 true"
- command "effect %{_p}% minecraft:jump_boost 10000 188 true"
- set {_p}'s hunger to 0
- else:
- command "/effect %{_p}% clear"
- set {_p}'s hunger to 20
- on any move:
- if {koori::*} contains player:
- set player's hunger to 0
- else:
- set player's hunger to 20
- execute console command "/tp @e[type=falling_block,name=%player%] %player%"
- on click with feather:
- if {Nige::*} contains player:
- if event-item's name is "&bSpeed Booster":
- if {ct.%player%} is not set:
- set {ct.%player%} to true
- command "/effect %player% speed 8 2 true"
- send "{@Logo} &bSpeed Booster &aを使用しました!"
- command "execute %player% ~ ~ ~ /playsound minecraft:entity.player.burp master %player% ~ ~ ~ 2"
- wait 30 seconds
- delete {ct.%player%}
- else:
- send "{@Logo} &cクールダウン中です"
- command /mute [<player>]:
- permission: skript.administrator
- trigger:
- if arg 1 is not set:
- send "&cMuteしたいプレイヤーを選択して下さい!"
- else:
- set {Mute.%arg 1%} to true
- command /unmute [<player>]:
- permission: skript.administrator
- trigger:
- if arg 1 is not set:
- send "&cUnMuteしたいプレイヤーを選択して下さい!"
- else:
- set {Mute.%arg 1%} to false
- on first join:
- set {flight.%player%} to false
- set player's flight mode to false
- every 5 minutes:
- broadcast "{@Logo} &aVIP を買うことで ロビーで空を飛んだり、アイテムを購入する値段が割引されたりします!!"
- command /Rank [<text>] [<player>] [<text>]:
- permission: skript.administrator
- permission message: &cこのコマンドを使用するには Server.Administrator の権限が必要です。
- trigger:
- if arg 1 is not set:
- send "&cコマンドを選択してください。 /Rank Help でランクシステムの使用方法を確認できます。"
- if arg 1 is "help":
- send "&e==============================================================================="
- send "&9/Rank Help &7==> &eランクシステムの使用法を確認できます。"
- send "&9/Rank Set (プレイヤー) (ランク) &7==> &eプレイヤーにランクを与えます。"
- send "&9/Rank List &7==> &eランクのリストを表示します。"
- send "&e==============================================================================="
- if arg 1 is "Set":
- if arg 2 is not set:
- send "&cプレイヤーを選択してください。"
- if arg 2 is set:
- if arg 3 is not set:
- send "&cランク名を選択してください。 /Rank List でランクの一覧を確認できます。"
- if arg 3 is "Default":
- set {Rank.%arg 2%} to "Default"
- if arg 3 is "VIP":
- set {Rank.%arg 2%} to "VIP"
- if arg 3 is "VIP+":
- set {Rank.%arg 2%} to "VIP+"
- on chat:
- cancel event
- if {Mute.%player%} is true:
- send "&cあなたはミュートされています!!"
- stop
- else:
- if {Rank.%player%} is "VIP":
- if {oni::*} contains player:
- broadcast "&c[鬼] %player% &e[VIP] &f: &f%message%"
- else if {nige::*} contains player:
- broadcast "&a[逃げ] %player% &e[VIP] &f: &f%message%"
- else if {koori::*} contains player:
- broadcast "&b[氷] %player% &e[VIP] &f: &f%message%"
- else if player is op:
- broadcast "&c&6[Admin] &d%player% &f: &f%message%"
- else if player's gamemode is spectator:
- broadcast "&7[観戦] %player% &e[VIP] : &f%message%"
- else:
- broadcast "&c%player% &e[VIP] &f: &f%message%"
- else:
- if {oni::*} contains player:
- broadcast "&c[鬼] %player% &7: &f%message%"
- else if {nige::*} contains player:
- broadcast "&a[逃げ] %player% &7: &f%message%"
- else if {koori::*} contains player:
- broadcast "&b[氷] %player% &7: &f%message%"
- else if player is op:
- broadcast "&c[AllChat] &6[Admin] &d%player% &f: &f%message%"
- else if player's gamemode is spectator:
- broadcast "&7[観戦] %player% : &7%message%"
- else:
- broadcast "&c%player% &7: &7%message%"
- on join:
- set join message to "{@Logo} &e%player% さんがサーバーに参加しました!!"
- command "/effect %player% clear"
- if {game} is set:
- if {oni::*} contains player:
- teleport player to {spawn.nige::%{map}%}
- else if {nige::*} contains player:
- teleport player to {spawn.nige::%{map}%}
- effect(player)
- else if {koori::*} contains player:
- teleport player to {spawn.nige::%{map}%}
- effect(player)
- else:
- send "{@Logo} &a試合が終わるまで観戦です"
- set player's tab list name to "&7[観戦] %player%"
- teleport player to location (532, 6, 284)
- set player's gamemode to spectator
- else:
- remove player from {koori::*}
- command "/scoreboard teams join nametag %player%"
- on quit:
- set quit message to "{@logo} &e%player% さんがサーバーから抜けました"
- if {nige::*} contains player:
- remove player from {nige::*}
- command /spawnmap [<number>] [<text>] [<text>]:
- permission: skript.administrator
- trigger:
- if arg-1 is set:
- if arg-2 is "add":
- if arg-3 is "oni":
- send "{@logo} &aマップ%arg-1%の鬼のスポーンを%location of player%に設定しました"
- set {spawn.oni::%arg-1%} to location of player
- else if arg-3 is "nige":
- send "{@logo} &eマップ%arg-1%の逃げのスポーンを%location of player%に設定しました"
- set {spawn.nige::%arg-1%} to location of player
- else if arg-2 is "remove":
- if arg-3 is "oni":
- send "{@logo} &aマップ%arg-1%の鬼のスポーンを削除しました"
- delete {spawn.oni::%arg-1%}
- if arg-3 is "nige":
- send "{@logo} &aマップ%arg-1%の逃げのスポーンを削除しました"
- delete {spawn.nige::%arg-1%}
- command /Kaboom [<text>] [<player>]:
- permission: skript.administrator
- trigger:
- if arg 1 is "All":
- send "&c[KABOOM] LUNCH ALL PLAYER!!!!!!!"
- push all players up at speed 3.5
- strike lightning effect at all players
- if arg 1 is "player":
- if arg 2 is set:
- send "&c[KABOOM] LUNCH %arg 2%!!!!!!"
- command "/Kaboom-Push-Player-Select %arg 2%"
- strike lightning effect at arg 2
- command /Kaboom-Push-Player-Select [<player>]:
- permission: skript.administrator
- trigger:
- push arg 1 up at speed 3.5
- command /Vanish:
- permission: skript.admin
- trigger:
- if {Vanish.%player%} is true:
- set {Vanish.%player%} to false
- send "{@logo} &7Vanish : &cOff"
- else:
- set {Vanish.%player%} to true
- send "{@logo} &7Vanish : &aOn"
- command /fly:
- trigger:
- if {Rank.%player%} is "VIP" or ops:
- if {Server.Game} is false:
- if {flight.%player%} is true:
- set player's flight mode to false
- set {flight.%player%} to false
- send "{@logo} &cFly &7: &cfalse"
- else:
- set player's flight mode to true
- set {flight.%player%} to true
- send "{@logo} &cFly &7: &aon"
- else:
- send "{@logo} &cロビー以外で空を飛ぶことはできません!!"
- else:
- send "{@logo} &cあなたはFlyコマンドを実行する権限がありません!!"
- send "&6/realm &cからVIPを買うことでロビーで飛ぶことが可能になります"
Add Comment
Please, Sign In to add comment