Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /start:
- permission: skript.admin
- permission message: &cスタッフのみが使えるコマンドです。
- trigger:
- broadcast "&eThe game starts in &615 &eseconds!"
- execute console command "/playsound block.note.hat master @a ~ ~ ~ 2 1 1"
- wait 14 seconds
- broadcast "&eThe game starts in &c5 &eseconds!"
- send {white::*} title "&a5" for 2 seconds
- execute console command "/playsound block.note.hat master @a ~ ~ ~ 2 1 1"
- wait 1 seconds
- send {white::*} title "&64" for 2 seconds
- broadcast "&eThe game starts in &c4 &eseconds!"
- execute console command "/playsound block.note.hat master @a ~ ~ ~ 2 1 1"
- wait 1 seconds
- send {white::*} title "&63" for 2 seconds
- broadcast "&eThe game starts in &c3 &eseconds!"
- execute console command "/playsound block.note.hat master @a ~ ~ ~ 2 1 1"
- wait 1 seconds
- send {white::*} title "&c2" for 2 seconds
- broadcast "&eThe game starts in &c2 &eseconds!"
- execute console command "/playsound block.note.hat master @a ~ ~ ~ 2 1 1"
- wait 1 seconds
- send {white::*} title "&c1" for 1 seconds
- broadcast "&eThe game starts in &c1 &eseconds!"
- execute console command "/playsound block.note.hat master @a ~ ~ ~ 2 1 1"
- wait 1 seconds
- command "/clear @a"
- set {opentime} to 30
- set {pvptime} to 30
- wait 0.5 seconds
- set {open} to true
- set {pvp} to false
- set {lobby} to false
- set {game} to true
- set {gamered} to true
- set {gameblue} to true
- teleport {red::*} to {redteleport}
- teleport {blue::*} to {blueteleport}
- set {white::*}'s gamemode to survival
- if {white::*} is not set:
- set {notjoin::*}'s gamemode to spectator
- send "&eあなたはゲームに参加できていないので &7&o観戦 &eモードに変更されました!"
- loop all players:
- remove loop-player from {fly.%player%}
- set {gamesidebar.%loop-player%} to true
- if {white::*} is set:
- equip loop-player with all leather armor
- dye {blue::*}'s helmet blue
- dye {blue::*}'s chestplate blue
- dye {blue::*}'s leggings blue
- dye {blue::*}'s boots blue
- dye {red::*}'s helmet red
- dye {red::*}'s chestplate red
- dye {red::*}'s leggings red
- dye {red::*}'s boots red
- if {defaultkit.%loop-player%} is set:
- give stone pickaxe of efficiency 2 to {defaultkit.%loop-player%}
- give stone axe of efficiency 2 to {defaultkit.%loop-player%}
- give stone shovel of efficiency 1 to {defaultkit.%loop-player%}
- if {Minerkit.%loop-player%} is set:
- give iron pickaxe of efficiency 1 and unbreaking 3 and sharpness 1 to {minerkit.%loop-player%}
- give 16 stone to {minerkit.%loop-player%}
- on quit:
- if {lobby} is true:
- if {white::*} is set:
- delete {white::%player%}
- delete {blue::%player%}
- delete {red::%player%}
- remove 1 from {gameplayer}
- if {red::*} is set:
- remove 1 from {redteam}
- if {blue::*} is set:
- remove 1 from {blueteam}
- on any movement:
- loop all players:
- if {game} is true:
- set {redsidebar.%loop-player%} to true
- set {bluesidebar.%loop-player%} to true
- stop
- every 1 seconds:
- if {game} is true:
- if {open} is true:
- set {event} to "Open wall in %{opentime}%"
- remove 1 from {opentime}
- if {pvp} is true:
- set {event} to "Death Match in %{pvptime}%"
- remove 1 from {pvptime}
- if {end} is true:
- set {event} to "Game End!"
- on any move:
- if {game} is true:
- if {opentime} is 1:
- set {openwalls} to true
- stop
- if {openwalls} is true:
- wait 1 seconds
- command "/playsound entity.enderdragon.growl master @a ~ ~ ~ 2 1 1"
- broadcast "&6-----------------------------------"
- broadcast "&b 壁が開いた! バトルスタート!"
- broadcast "&6-----------------------------------"
- command "/fill -845 78 -823 -845 127 -872 air"
- set {open} to false
- set {opentime} to 300
- set {pvp} to true
- set {pvptime} to 300
- wait 0.5 seconds
- set {openwalls} to false
- stop
- on any movement:
- if {game} is true:
- if {redteam} is 0:
- set {redvictory} to true
- stop
- if {blueteam} is 0:
- set {bluevictory} to true
- stop
- if {bluevictory} is true:
- broadcast "&e--------------------------------------------------"
- broadcast "&1"
- broadcast "&c&lRED &7team the victory!"
- broadcast "&2"
- broadcast "&e--------------------------------------------------"
- command "/playsound block.note.pling master @a ~ ~ ~ 2 2 1"
- wait 10 seconds
- loop all players:
- delete {red::*}
- delete {blue::*}
- delete {white::*}
- set {pvp} to false
- set {open} to false
- set {gamered} to false
- set {gameblue} to false
- set {gameplayer} to 0
- set {redteam} to 0
- set {blueteam} to 0
- set {gold.%loop-player%} to 0
- set {gamekill.%loop-player%} to 0
- set {lobby} to true
- set {game} to false
- set {lobbyitem::*} to loop-player
- set {notjoin::*} to loop-player
- teleport loop-player to {defaultspawn}
- command "/clear @a"
- command "/effect %loop-player% clear"
- command "/playsound block.note.pling master @a ~ ~ ~ 2 0.1 1"
- set loop-player's gamemode to adventure
- command "/fill -845 78 -823 -845 127 -872 bedrock"
- wait 0.5 seconds
- delete {lobbyitem::*}
- if {redvictory} is true:
- broadcast "&e--------------------------------------------------"
- broadcast "&1"
- broadcast "&9&lBLUE &7team the victory!"
- broadcast "&2"
- broadcast "&e--------------------------------------------------"
- command "/playsound block.note.pling master @a ~ ~ ~ 2 2 1"
- wait 10 seconds
- loop all players:
- delete {red::*}
- delete {blue::*}
- delete {white::*}
- set {pvp} to false
- set {open} to false
- set {gamered} to false
- set {gameblue} to false
- set {gameplayer} to 0
- set {redteam} to 0
- set {blueteam} to 0
- set {gold.%loop-player%} to 0
- set {gamekill.%loop-player%} to 0
- set {lobby} to true
- set {game} to false
- set {lobbyitem::*} to loop-player
- set {notjoin::*} to loop-player
- teleport loop-player to {defaultspawn}
- command "/clear @a"
- command "/effect %loop-player% clear"
- command "/playsound block.note.pling master @a ~ ~ ~ 2 0.1 1"
- set loop-player's gamemode to adventure
- command "/fill -845 78 -823 -845 127 -872 bedrock"
- wait 0.5 seconds
- delete {lobbyitem::*}
- stop
- command /stopgame <text>:
- permission: skript.admin
- trigger:
- loop all players:
- send "&6-----------------------------------------------------" to loop-player
- send "&1" to loop-player
- send "&aサーバーの &c管理者 &aによってゲームが &c強制的 &aに &c停止 &aしました。" to loop-player
- send "&2" to loop-player
- send "&7理由: &b%arg-1%" to loop-player
- send "&3" to loop-player
- send "&6-----------------------------------------------------" to loop-player
- delete {red::*}
- delete {blue::*}
- delete {white::*}
- set {pvp} to false
- set {open} to false
- set {gamered} to false
- set {gameblue} to false
- set {gameplayer} to 0
- set {redteam} to 0
- set {blueteam} to 0
- set {gold.%loop-player%} to 0
- set {gamekill.%loop-player%} to 0
- set {lobby} to true
- set {game} to false
- set {lobbyitem::*} to loop-player
- set {notjoin::*} to loop-player
- command "/clear @a"
- command "/effect %loop-player% clear"
- command "/playsound block.note.pling master @a ~ ~ ~ 2 0.1 1"
- set loop-player's gamemode to adventure
- command "/fill -845 78 -823 -845 127 -872 bedrock"
- wait 0.5 seconds
- delete {lobbyitem::*}
- if {default.%loop-player%} is set:
- set {default.%loop-player%}'s display name to "&7%player%"
- set tablist name of loop-player to "&7%player%"
- teleport {default.%loop-player%} to {defaultspawn}
- if {vip.%loop-player%} is set:
- set {vip.%loop-player%}'s display name to "&a[VIP] %player%"
- set tablist name of loop-player to "&a[VIP] %player%"
- set {vip.%loop-player%}'s flight mode to true
- set {fly.%loop-player%} to {vip.%loop-player%}
- teleport {vip.%loop-player%} to {vipspawn}
- if {vip+.%loop-player%} is set:
- set {vip+.%loop-player%}'s display name to "&a[VIP&6+&a] %player%"
- set tablist name of loop-player to "&a[VIP&6+&a] %player%"
- set {vip+.%loop-player%}'s flight mode to true
- teleport {vip+.%loop-player%} to {vip+spawn}
- set {fly.%player%} to {vip+.%loop-player%}
- if {mvp.%loop-player%} is set:
- set {mvp.%loop-player%}'s display name to "&b[MVP] %player%"
- set tablist name of loop-player to "&b[MVP] %player%"
- set {mvp.%loop-player%}'s flight mode to true
- teleport {mvp.%loop-player%} to {mvpspawn}
- set {fly.%player%} to {mvp.%loop-player%}
- if {mvp+.%player%} is set:
- set {mvp+.%player%}'s display name to "&b[MVP&c+&b] %player%"
- set tablist name of loop-player to "&b[MVP&c+&b] %player%"
- set {mvp+.%player%}'s flight mode to true
- teleport {mvp+.%player%} to {mvp+spawn}
- set {fly.%player%} to {mvp+.%player%}
- if {special.%player%} is set:
- set {special.%player%}'s display name to "&d[SPECIAL] %player%"
- set tablist name of loop-player to "&d[SPECIAL] %player%"
- set {special.%player%}'s flight mode to true
- set {fly.%player%} to {special.%player%}
- teleport player to {specialspawn}
- if {admin.%player%} is set:
- set {admin.%player%}'s display name to "&c[ADMIN] %player%"
- set tablist name of loop-player to "&c[ADMIN] %player%"
- set {admin.%player%}'s flight mode to true
- set {fly.%player%} to {admin.%player%}
- teleport {admin.%player%} to {adminspawn}
- command /lobbyitem <player>:
- permission: skript.admin
- trigger:
- loop all players:
- if arg-1 is set:
- set slot 0 of arg-1 to bedrock named "&c現在コスチューム作成中..." with lore "&1" and "&c&lCOMING SOON..." and "&2"
- set slot 4 of arg-1 to nether star named "&aGame Join &7(Right Click)"
- if arg-1 is not set:
- set slot 0 of arg-1 to bedrock named "&c現在コスチューム作成中..." with lore "&1" and "&c&lCOMING SOON..." and "&2"
- set slot 4 of arg-1 to nether star named "&aGame Join &7(Right Click)"
- command /check:
- permission: skript.admin
- trigger:
- send "Red player: &a%{red::*}%"
- send "Total red: &a%{redteam}%"
- send "blue player: &a%{blue::*}%"
- send "Total blue: &a%{blueteam}%"
- send "white player: &a%{white::*}%"
- send "&1"
- send "Total: &a%{gameplayer}%"
- command /teleportset <text>:
- permission: skript.admin
- trigger:
- if arg-1 is "red":
- set {redteleport} to location of player
- send "&aSET THE RED TELEPORT LOCATION"
- if arg-1 is "blue":
- set {blueteleport} to location of player
- send "&aSET THE BLUE TELEPORT LOCATION"
- every 1 seconds:
- loop all players:
- if {game} is true:
- {gamesidebar.%loop-player%} is true
- wipe loop-player's sidebar
- set name of sidebar of loop-player to "&e&lSHOP WARS"
- set score "&1" in sidebar of loop-player to 11
- set score "&fNext Event:" in sidebar of loop-player to 10
- set score "&a%{event}%" in sidebar of loop-player to 9
- set score "&2" in sidebar of loop-player to 8
- set score "&c&lR &fRed: &a%{redteam}%" in sidebar of loop-player to 7
- set score "&9&lB &fBlue: &a%{blueteam}%" in sidebar of loop-player to 6
- set score "&3" in sidebar of loop-player to 5
- set score "&fKills: &a%{gamekill.%loop-player%}%" in sidebar of loop-player to 4
- set score "&4" in sidebar of loop-player to 3
- set score "&fGold: &e%{gold.%loop-player%}%" in sidebar of loop-player to 2
- set score "&5" in sidebar of loop-player to 1
- set score "&eplay.rezxis.net" in sidebar of loop-player to 0
- command /kit <text>:
- trigger:
- if {lobby} is set:
- if arg-1 is "none":
- send "&eSelected &cNONE &eKit!"
- command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- delete {defaultkit.%player%}
- delete {minerkit.%player%}
- if arg-1 is "default":
- send "&eSelected &cDEFAULT &eKit!"
- command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- set {defaultkit.%player%} to player
- delete {minerkit.%player%}
- if arg-1 is "miner":
- send "&eSelected &cMINER &eKit!"
- command "/playsound block.note.pling master %player% ~ ~ ~ 2 2 1"
- set {minerkit.%player%} to player
- delete {defaultkit.%player%}
- on death of player:
- if {game} is true:
- set death message to "&7%victim% &ewas killed by &7%attacker%"
- set victim's display name to "&7[SPECTATOR] %victim%"
- set tablist name of victim to "&7[SPECTATOR] %victim%"
- command "/playsound entity.experience_orb.pickup master %attacker% ~ ~ ~ 2 2 1"
- command "/playsound entity.experience_orb.pickup master %attacker% ~ ~ ~ 2 1 1"
- remove victim from {white::*}
- remove 1 from {gameplayer}
- wait 0.1 seconds
- force respawn victim
- if {default.%attacker%} is set:
- send "&6+20 coins! (kill)" to attacker
- send "&d+80 exprience (kill)" to attacker
- send "&e+%{gold.%victim%}% gold (Get %victim%'s gold!)" to attacker
- add 20 to {coins.%attacker%}
- add 80 to {exp.%attacker%}
- add {gold.%victim%} to {gold.%attacker%}
- if {vip.%attacker%} is set:
- send "&6+40 coins! (Rank bonus +20 coins!) Kill" to attacker
- send "&d+80 exprience (kill)" to attacker
- send "&e+%{gold.%victim%}% gold (Get %victim%'s gold!)" to attacker
- add 40 to {coins.%attacker%}
- add 80 to {exp.%attacker%}
- add {gold.%victim%} to {gold.%attacker%}
- if {vip+.%attacker%} is set:
- send "&6+60 coins! (Rank bonus +40 coins!) Kill" to attacker
- send "&d+80 exprience (kill)" to attacker
- send "&e+%{gold.%victim%}% gold (Get %victim%'s gold!)" to attacker
- add 60 to {coins.%attacker%}
- add 80 to {exp.%attacker%}
- add {gold.%victim%} to {gold.%attacker%}
- if {mvp.%attacker%} is set:
- send "&6+80 coins! (Rank bonus +60 coins!) Kill" to attacker
- send "&d+80 exprience (kill)" to attacker
- send "&e+%{gold.%victim%}% gold (Get %victim%'s gold!)" to attacker
- add 80 to {coins.%attacker%}
- add 80 to {exp.%attacker%}
- add {gold.%victim%} to {gold.%attacker%}
- if {mvp+.%attacker%} is set:
- send "&6+100 coins! (Rank bonus +100 coins!) Kill" to attacker
- send "&d+80 exprience (kill)" to attacker
- send "&e+%{gold.%victim%}% gold (Get %victim%'s gold!)" to attacker
- add 100 to {coins.%attacker%}
- add 80 to {exp.%attacker%}
- add {gold.%victim%} to {gold.%attacker%}
- if {special.%attacker%} is set:
- send "&6+100 coins! (Rank bonus +100 coins!) Kill" to attacker
- send "&d+80 exprience (kill)" to attacker
- send "&e+%{gold.%victim%}% gold (Get %victim%'s gold!)" to attacker
- add 100 to {coins.%attacker%}
- add 80 to {exp.%attacker%}
- add {gold.%victim%} to {gold.%attacker%}
- if {admin.%attacker%} is set:
- send "&6+100 coins! (Rank bonus +100 coins!) Kill" to attacker
- send "&d+80 exprience (kill)" to attacker
- send "&e+%{gold.%victim%}% gold (Get %victim%'s gold!)" to attacker
- add 100 to {coins.%attacker%}
- add 80 to {exp.%attacker%}
- add {gold.%victim%} to {gold.%attacker%}
- on respawn:
- if {game} is true:
- set player's gamemode to spectator
- teleport player to {spectatespawn}
- send "&cあなたは死亡しました!"
- send player title "&c&lYOU DIED!" for 3 seconds
- if {red::*} is set:
- send "&dオシ~!! &9青&dチームはあと &c%{blueteam}%&d人だったのにな~!"
- if {blue::*} is set:
- send "&dオシ~!! &c赤&dチームはあと &c%{redteam}%&d人だったのにな~!"
- on gamemode change to spectator:
- set player's display name to "&7[SPECTATOR] %player%"
- set tablist name of player to "&7[SPECTATOR] %player%"
- on death of player:
- if {red::%victim%} is set:
- remove 1 from {redteam}
- delete {red::%victim%}
- stop
- on death of player:
- if {blue::%victim%} is set:
- remove 1 from {blueteam}
- delete {blue::%victim%}
- stop
- on break of stone:
- if {game} is true:
- command "/playsound entity.experience_orb.pickup master %player% ~ ~ ~ 2 2 1"
- add 1 to {gold.%player%}
- send "&e+1 gold (mine)"
- on break of grass:
- if {game} is true:
- command "/playsound entity.experience_orb.pickup master %player% ~ ~ ~ 2 2 1"
- add 1 to {gold.%player%}
- send "&e+1 gold (mine)"
- on break of cobblestone:
- if {game} is true:
- command "/playsound entity.experience_orb.pickup master %player% ~ ~ ~ 2 2 1"
- add 1 to {gold.%player%}
- send "&e+1 gold (mine)"
- on break of sand:
- if {game} is true:
- command "/playsound entity.experience_orb.pickup master %player% ~ ~ ~ 2 2 1"
- add 5 to {gold.%player%}
- send "&e+5 gold (mine)"
- on break of log:
- if {game} is true:
- command "/playsound entity.experience_orb.pickup master %player% ~ ~ ~ 2 2 1"
- add 15 to {gold.%player%}
- send "&e+15 gold (mine)"
- on break of oak leaves:
- if {game} is true:
- command "/playsound entity.experience_orb.pickup master %player% ~ ~ ~ 2 2 1"
- add 5 to {gold.%player%}
- send "&e+5 gold (mine)"
- on break of rail:
- if {game} is true:
- command "/playsound entity.experience_orb.pickup master %player% ~ ~ ~ 2 2 1"
- add 20 to {gold.%player%}
- send "&e+20 gold (mine)"
- on break of coal ore:
- if {game} is true:
- command "/playsound entity.experience_orb.pickup master %player% ~ ~ ~ 2 2 1"
- add 5 to {gold.%player%}
- send "&e+5 gold (mine)"
- on break of iron ore:
- if {game} is true:
- command "/playsound entity.experience_orb.pickup master %player% ~ ~ ~ 2 2 1"
- add 10 to {gold.%player%}
- send "&e+10 gold (mine)"
- on break of lapis ore:
- if {game} is true:
- command "/playsound entity.experience_orb.pickup master %player% ~ ~ ~ 2 2 1"
- add 15 to {gold.%player%}
- send "&e+15 gold (mine)"
- on break of redstone ore:
- if {game} is true:
- command "/playsound entity.experience_orb.pickup master %player% ~ ~ ~ 2 2 1"
- add 15 to {gold.%player%}
- send "&e+15 gold (mine)"
- on break of diamond ore:
- if {game} is true:
- command "/playsound entity.experience_orb.pickup master %player% ~ ~ ~ 2 2 1"
- add 50 to {gold.%player%}
- send "&e+50 gold (mine)"
- on break of emerald ore:
- if {game} is true:
- command "/playsound entity.experience_orb.pickup master %player% ~ ~ ~ 2 2 1"
- add 50 to {gold.%player%}
- send "&e+50 gold (mine)"
- on break of gold ore:
- if {game} is true:
- command "/playsound entity.experience_orb.pickup master %player% ~ ~ ~ 2 2 1"
- add 100 to {gold.%player%}
- send "&e+100 gold (mine)"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement