Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- logo: &8[&2&lケイドロ&8]
- ser : &8[&bServer&8]
- command /check:
- permission: skript.admin
- trigger:
- send "%{ji}%"
- send "%{mu}%"
- on right click:
- event-item is armor stand:
- cancel event
- cancel event
- cancel event
- cancel event
- cancel event
- cancel event
- cancel event
- cancel event
- command /touhyou [<player>]:
- executable by: console
- trigger:
- broadcast "&e============================"
- broadcast "&b%arg-1%&aさんがサーバーに投票してくれました!!"
- broadcast " &6&l(人''▽`)ありがとう☆!"
- broadcast "&e============================"
- send "&e投票ありがとうございます!&bAthletic Coin&eを20枚プレゼント!" to arg-1
- send "&e投票ありがとうございます!&b400XP&eをプレゼント!" to arg-1
- add 400 to {xp.%arg-1%}
- give arg-1 20 iron nugget named "&eAthletic Coin"
- on drop:
- event-item is nether star:
- cancel event
- command /closeserver [<text>]:
- permission: skript.admin
- trigger:
- if arg-1 is not set:
- send "&cHelp … ""/closeserver [理由]"" これを実行するとOP以外をKICKします"
- if arg-1 is set:
- broadcast "&e%player%&aによりOP以外をkickさせていただきます &b理由 … &c[%arg-1%]"
- wait 3 seconds
- command "/whitelist on"
- loop all players:
- if loop-player is not an op:
- kick the loop-player due to "&cメンテナンスに入るためkickさせていただきます。&e理由 [%arg-1%] "
- on death:
- if victim is skeleton:
- if {gouhu.%attacker%} is "true":
- chance of 60%:
- give attacker 2 emerald
- else:
- chance of 60%:
- give attacker 1 emerald
- on chat:
- if {chat.%player%} is "kansen":
- cancel event
- loop all players:
- if {chat.%loop-player%} is "kansen":
- message "&a[観戦Chat] &b%player%: &f%message%" to loop-player
- if {time} is not "night":
- if {chat.%player%} is "all":
- command "execute @a ~ ~ ~ /playsound minecraft:entity.item.pickup master @a ~ ~ ~"
- on right click holding south facing ender dragon head:
- send "&c未実装ですごめんなさい" to player
- command /co [<text>]:
- trigger:
- if arg-1 is "help":
- send "&e=======&4【&aCO-Help&4】&e======="
- send "&b/co j … &d人狼をCOします"
- send "&b/co k … &d狂人をCOします"
- send "&b/co m … &d村人をCOします"
- send "&b/co v … &d吸血鬼をCOします"
- send "&b/co h … &d富豪をCOします"
- send "&b/co ka … &dカメレオンをCOします"
- send "&b/co s … &d聖人をCOします"
- send "&c※ 1回使ったら60秒使うことができません"
- send "&c※ COは朝にしかできません"
- send "&e=================================="
- else:
- if {game} is "true":
- if {time} is "day":
- if {co.cool.%player%} is not set:
- if arg-1 is "jinrou" or "j":
- broadcast "{@logo} &7<%player%> &4人狼&bカミングアウト"
- set {co.cool.%player%} to "set"
- set player's tab list name to "&f%player% &8[&4人狼CO&8]"
- wait 60 seconds
- delete {co.cool.%player%}
- send "{@logo} &aCO可能です"
- if arg-1 is "murabito" or "m":
- broadcast "{@logo} &7<%player%> &a村人&bカミングアウト"
- set {co.cool.%player%} to "set"
- set player's tab list name to "&f%player% &8[&a村人CO&8]"
- wait 60 seconds
- delete {co.cool.%player%}
- send "{@logo} &aCO可能です"
- if arg-1 is "kyouzin" or "k":
- if {kyouzin} is not 0:
- broadcast "{@logo} &7<%player%> &8狂人&bカミングアウト"
- set {co.cool.%player%} to "set"
- set player's tab list name to "&f%player% &8[&7狂人CO&8]"
- wait 60 seconds
- delete {co.cool.%player%}
- send "{@logo} &aCO可能です"
- else:
- send "{@logo} &c今回の試合に狂人はいません"
- if arg-1 is "vampire" or "v":
- if {kyu} is not 0:
- broadcast "{@logo} &7<%player%> &d吸血鬼&bカミングアウト"
- set {co.cool.%player%} to "set"
- set player's tab list name to "&f%player% &8[&d吸血鬼CO&8]"
- wait 60 seconds
- delete {co.cool.%player%}
- send "{@logo} &aCO可能です"
- else:
- send "{@logo} &c今回の試合に吸血鬼はいません"
- if arg-1 is "hugou" or "h":
- if {gouhu} is not 0:
- broadcast "{@logo} &7<%player%> &6富豪&bカミングアウト"
- set {co.cool.%player%} to "set"
- set player's tab list name to "&f%player% &8[&6富豪CO&8]"
- wait 60 seconds
- delete {co.cool.%player%}
- send "{@logo} &aCO可能です"
- else:
- send "{@logo} &c今回の試合に豪富はいません"
- if arg-1 is "kamereon" or "ka":
- if {kame} is not 0:
- broadcast "{@logo} &7<%player%> &bカメレオン&bカミングアウト"
- set {co.cool.%player%} to "set"
- set player's tab list name to "&f%player% &8[&bカメレオンCO&8]"
- wait 60 seconds
- delete {co.cool.%player%}
- send "{@logo} &aCO可能です"
- else:
- send "{@logo} &c今回の試合にカメレオンはいません"
- if arg-1 is "syounin" or "s":
- if {syo} is not 0:
- broadcast "{@logo} &7<%player%> &b聖人&bカミングアウト"
- set {co.cool.%player%} to "set"
- set player's tab list name to "&f%player% &8[&b聖人CO&8]"
- wait 60 seconds
- delete {co.cool.%player%}
- send "{@logo} &aCO可能です"
- else:
- send "{@logo} &c今回の試合に聖人はいません"
- else:
- send "{@logo} &cまだCOできません"
- else:
- send "{@logo} &cCOは朝の間だけ可能です"
- else:
- send "{@logo} &cゲームは始まっていません"
- command /jinro [<text>]:
- permission: skript.admin
- permission message: &cYou don't have permission!
- trigger:
- if arg-1 is "check":
- broadcast "&8--------=&c【役職】&8=--------"
- broadcast "&c 警察 &f… &b%{jinrou}%&e人"
- if {kyu} is not 0:
- broadcast "&d 泥棒 &f… &b%{kyu}%&e人"
- broadcast "&8-------------------------------"
- if arg-1 is "help":
- send "&b----------------==&e【Help】&b==---------------"
- send "&a… ""/jinro help"" &eケイドロのHelpを表示します"
- send "&a… ""/jinro start"" &eケイドロを始めます"
- send "&a… ""/jinro stop"" &eケイドロを強制終了させます"
- send "&a… ""/jinro check"" &eケイドロの役職人数を表示します"
- send "&b-----------------------------------------------"
- if arg-1 is not set:
- send "&b----------------==&e【Help】&b==---------------"
- send "&a… ""/jinro help"" &eケイドロのHelpを表示します"
- send "&a… ""/jinro start"" &eケイドロを始めます"
- send "&a… ""/jinro stop"" &eケイドロを強制終了させます"
- send "&a… ""/jinro check"" &eケイドロの役職人数を表示します"
- send "&b-----------------------------------------------"
- if arg-1 is "stop":
- set {game} to "false"
- command "/scoreboard teams leave @a"
- command "/scoreboard players set 日 jinrou 0"
- broadcast "&8--------=&c【今回の役職】&8=--------"
- broadcast "&4 警察&e(&b%{jinrou}%&e) &f… &c%{jinrou::*}%"
- if {kyu} is not 0
- broadcast "&d 泥棒&e(&b%{murabito}%&e) &f… &b%{murabito::*}%"
- broadcast "&e ゲーム参加人数: &a[&b%{join}%&8/&e%number of all players%&a]"
- broadcast "&8------------------------------------"
- delete {jinrou::*}
- set {join} to 0
- delete {_player::*}
- delete {kyozin::*}
- delete {gouhu::*}
- delete {kyu::*}
- delete {syo::*}
- delete {kame::*}
- set {ji} to 0
- set {kyuketu} to 0
- set {mu} to 0
- set {map} to "none"
- delete {murabito::*}
- set {time} to "none"
- set {times} to 150
- set {hi} to 0
- delete {_p}
- delete {_a}
- delete {_i}
- delete {_u}
- delete {_e}
- delete {_o}
- command "/clear @a stick"
- command "/clear @a armor_stand"
- command "/clear @a paper"
- command "/clear @a cooked_beef"
- command "/clear @a splash_potion"
- command "/clear @a potion"
- command "/clear @a emerald"
- command "/clear @a end_crystal"
- command "/clear @a redstone"
- command "/clear @a bow"
- command "/clear @a record_far"
- command "/clear @a arrow"
- command "/clear @a wooden_sword"
- command "/clear @a stone_axe"
- command "/clear @a minecraft:totem_of_undying"
- command "/clear @a firework_charge"
- command "/clear @a bed"
- command "/clear @a stone_sword"
- command "/kill @e[type=skeleton,name=&7Skeleton]"
- command "/clear @a written_book"
- loop all players:
- delete {co.cool.%loop-player%}
- set loop-player's tab list name to "&f%loop-player%"
- reveal the loop-player from all players
- set {sanka.%loop-player%} to "false"
- set {score.%loop-player%} to 0
- set slot 4 of loop-player to 1 nether star named "&aゲームに参加"
- set slot 1 of loop-player to 1 south facing ender dragon head named "&eYour Status"
- set {jinrou.%loop-player%} to "false"
- set {kyouzin.%loop-player%} to "false"
- set {vampire.%loop-player%} to "false"
- set {kame.%loop-player%} to "false"
- set {syo.%loop-player%} to "false"
- set {gouhu.%loop-player%} to "false"
- set {kisi.%loop-player%} to "false"
- set {me.%loop-player%} to "false"
- set {chat.%loop-player%} to "all"
- clear all potion effects from loop-player
- set loop-player's gamemode to spectator
- wait 5 seconds
- teleport all players to {lobby}
- loop all players:
- set loop-player's gamemode to survival
- if arg-1 is "start":
- broadcast "{@logo} &aマップを選んでいます…"
- wait 2 seconds
- command "/clear @a nether_star"
- set {_chance} to random integer between 1 and 3
- if {_chance} is 1:
- loop all players:
- send title "&8&k!!&6&l Unknown Stage &8&k!!" to loop-player
- broadcast "&6================================="
- broadcast "&b Made: NAGITOO"
- broadcast "&b &aMAP: Unknown Stage"
- broadcast "&6=================================="
- command "/execute @a ~ ~ ~ /playsound minecraft:entity.generic.explode master @a"
- set {map} to 1
- wait 1 seconds
- execute console command "/tp @a[team=sanka] -349 9 1375"
- loop all players:
- set {admin.%loop-player%} to "false"
- if {_chance} is 2:
- loop all players:
- send title "&8&k!!&6&l 山 &8&k!!" to loop-player
- broadcast "&6=============================="
- broadcast "&b Made: yuuhikun , tnksei"
- broadcast "&b &aMAP: 山"
- broadcast "&6==============================="
- command "/execute @a ~ ~ ~ /playsound minecraft:entity.generic.explode master @a"
- set {map} to 2
- wait 1 seconds
- execute console command "/tp @a[team=sanka] 100 5 100"
- loop all players:
- set {admin.%loop-player%} to "false"
- if {_chance} is 3:
- loop all players:
- send title "&8&k!!&6&l 異次元 &8&k!!" to loop-player
- broadcast "&6=============================="
- broadcast "&b Made: AndrewYu"
- broadcast "&b &aMAP: moutain"
- broadcast "&6==============================="
- command "/execute @a ~ ~ ~ /playsound minecraft:entity.generic.explode master @a"
- set {map} to 3
- wait 1 seconds
- execute console command "/tp @a[team=sanka] 727 5 -880"
- loop all players:
- set {admin.%loop-player%} to "false"
- execute console command "/gamemode spectator @a[team=sanka]"
- wait 5 seconds
- if {map} is 1:
- execute console command "/tp @a[team=sanka] 727 5 -880"
- else if {map} is 2:
- execute console command "/tp @a[team=sanka] 727 5 -880"
- else if {map} is 3:
- execute console command "/tp @a[team=sanka] 727 5 -880"
- execute console command "/gamemode survival @a[team=sanka]"
- command "/clear @a skull"
- wait 2 tick
- broadcast "{@logo} &e試合を開始します。開始前にプレイヤーは散らばりましょう"
- broadcast "{@logo} &e試合開始までのこり&c15秒前&e…"
- command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.fail master @a"
- loop all players:
- send title "&e15…" to loop-player
- wait 5 seconds
- broadcast "{@logo} &e試合開始までのこり&c10秒前&e…"
- command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.fail master @a"
- loop all players:
- send title "&e10…" to loop-player
- wait 5 seconds
- broadcast "{@logo} &e試合開始までのこり&c5秒前&e…"
- command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.fail master @a"
- loop all players:
- send title "&e5…" to loop-player
- wait 1 seconds
- broadcast "{@logo} &e試合開始までのこり&c4秒前&e…"
- command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.fail master @a"
- loop all players:
- send title "&e4…" to loop-player
- wait 1 seconds
- broadcast "{@logo} &e試合開始までのこり&c3秒前&e…"
- command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.fail master @a"
- loop all players:
- send title "&e3…" to loop-player
- wait 1 seconds
- broadcast "{@logo} &e試合開始までのこり&c2秒前&e…"
- command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.fail master @a"
- loop all players:
- send title "&e2…" to loop-player
- wait 1 seconds
- broadcast "{@logo} &e試合開始までのこり&c1秒前&e…"
- command "/execute @a ~ ~ ~ /playsound minecraft:block.dispenser.fail master @a"
- loop all players:
- send title "&e1…" to loop-player
- wait 1 seconds
- broadcast "{@logo} &6&lStart!"
- broadcast "{@logo} &7役職が配られました"
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:entity.wolf.howl master @a ~ ~ ~"
- command "/kill @e[type=skeleton]"
- wait 2 tick
- command "/time set night"
- command "/summonskeleton"
- set {time} to "night"
- set {times} to 150
- loop all players:
- if {sanka.%loop-player%} is "true":
- set loop-player's max health to 20
- set loop-player's health to 20
- set loop-player's hunger to 20
- add loop-player to {_player::*}
- command "/scoreboard teams join murabito %loop-player%"
- set {score.%loop-player%} to 7
- add 1 to {mu}
- loop {jinrou} times:
- set {_p} to random player of {_player::*}
- add {_p} to {jinrou::*}
- set {jinrou.%{_p}%} to "true"
- command "/scoreboard teams join jinrou %{_p}%"
- remove 1 from {mu}
- set {score.%{_p}%} to 1
- remove {_p} from {_player::*}
- loop {kyouzin} times:
- set {_a} to random player of {_player::*}
- command "/scoreboard teams join kyouzin %{_a}%"
- set {score.%{_a}%} to 2
- add {_a} to {kyozin::*}
- remove 1 from {mu}
- set {kyouzin.%{_a}%} to "true"
- remove {_a} from {_player::*}
- loop {kyu} times:
- set {_i} to random player of {_player::*}
- command "/scoreboard teams join kyuketu %{_i}%"
- set {score.%{_i}%} to 3
- add {_i} to {kyu::*}
- remove 1 from {mu}
- set {vampire.%{_i}%} to "true"
- remove {_i} from {_player::*}
- loop {gouhu} times:
- set {_u} to random player of {_player::*}
- set {score.%{_u}%} to 4
- add {_u} to {gouhu::*}
- set {gouhu.%{_u}%} to "true"
- command "/scoreboard teams join gouhu %{_u}%"
- remove {_u} from {_player::*}
- loop {kame} times:
- set {_e} to random player of {_player::*}
- set {score.%{_e}%} to 5
- remove 1 from {mu}
- add {_e} to {kame::*}
- set {kame.%{_e}%} to "true"
- command "/scoreboard teams join kamereon %{_e}%"
- remove {_e} from {_player::*}
- loop {syo} times:
- set {_o} to random player of {_player::*}
- set {score.%{_o}%} to 6
- add {_o} to {syo::*}
- set {syo.%{_o}%} to "true"
- command "/scoreboard teams join syounin %{_o}%"
- remove {_o} from {_player::*}
- add {_player::*} to {murabito::*}
- #1 = 警察 ¦ 5 = 泥棒
- set {ji} to {jinrou}
- set {kyuketu} to {kyu}
- wait a tick
- set {game} to "true"
- broadcast "&8--------=&c【役職】&8=--------"
- broadcast "&c 警察 &f… &b%{jinrou}%&e人"
- if {murabito} is not 0:
- broadcast "&d 泥棒 &f… &b%{murabito}%&e人"
- broadcast "&8-------------------------------"
- send "&aあなたは&4&l警察&aです" to loop-player
- send "&e他の警察 … &f%{jinrou::*}%" to loop-player
- send "&a紙に役職説明が書いています" to loop-player
- send title "&aあなたは&4&l警察&aです"
- else:
- if {score.%loop-player%} is 5:
- send title "&aあなたは&d&l泥棒&aです" with subtitle "&7紙に役職説明が書いています" to loop-player
- send "&aあなたは&d&l泥棒&aです" to loop-player
- execute console command "/menu grab %loop-player% murabito"
- #1 = 警察 ¦ 5 = 泥棒 #
- on join:
- set {jinrou.%player%} to "false"
- set {kyouzin.%player%} to "false"
- set {gouhu.%player%} to "false"
- set {vampire.%player%} to "false"
- set {kame.%player%} to "false"
- set {syo.%player%} to "false"
- remove player from {murabito::*}
- command /summonskeleton:
- permission: skript.admin
- trigger:
- if {map} is 2:
- loop 30 times:
- command "/summon skeleton 100 1 117 {CustomName:""&7Skeleton"",CustomNameVisible:1,Attributes:[{Name:generic.maxHealth,Base:15},{Name:generic.attackDamage,Base:0.7}]}"
- wait a tick
- command "tp @e[x=100,y=1,z=117,r=3,name=&7Skeleton,type=skeleton] @r[name=豪邸,type=armor_stand]"
- else:
- if {map} is 1:
- loop 15 times:
- command "/summon skeleton -342 3 1373 {CustomName:""&7Skeleton"",CustomNameVisible:1,Attributes:[{Name:generic.maxHealth,Base:15},{Name:generic.attackDamage,Base:0.7}]}"
- wait a tick
- command "tp @e[x=-342,y=3,z=1373,r=3,name=&7Skeleton,type=skeleton] @r[name=Unknown,type=armor_stand]"
- else:
- if {map} is 3:
- loop 15 times:
- command "/summon skeleton -591 4 1612 {CustomName:""&7Skeleton"",CustomNameVisible:1,Attributes:[{Name:generic.maxHealth,Base:15},{Name:generic.attackDamage,Base:0.7}]}"
- wait a tick
- command "tp @e[x=-591,y=4,z=1612,r=3,type=&7Skeleton,type=skeleton] @r[name=Ocean,type=armor_stand]"
- on respawn:
- wait 1 seconds
- if {game} is "true":
- send "&a観戦チャットになりました"
- set player's gamemode to spectator
- if {map} is 1:
- command "/tp %player% -349 9 1375"
- if {map} is 2:
- command "/tp %player% 100 5 100"
- if {map} is 3:
- command "/tp %player% -589.995 4 1640.499"
- every 1 second:
- if {game} is "true":
- remove 1 from {times}
- if {times} is less than 0:
- if {time} is "night":
- add 1 to {hi}
- loop all players:
- send title "&8---= &c☀&6&l朝になりました&c☀ &8=---" with subtitle "&6&l&o~~%{hi}%日目~~" to loop-player
- command "/kill @e[type=skeleton,name=&7Skeleton]"
- set {time} to "day"
- set {times} to 100
- command "/time set day"
- command "effect @a 11 0"
- else:
- if {time} is "day":
- loop all players:
- send title "&8---= &b☽&9&l夜になりました&b☽ &8=---" to loop-player
- set {time} to "night"
- set {times} to 150
- command "/time set night"
- set {kisi.%loop-player%} to "false"
- command "/effect @a[team=kyuketu] 11 10000 255 true"
- loop all players:
- if loop-player's gamemode is spectator:
- hide the loop-player from all players
- else:
- reveal the loop-player from all players
- if {time} is "day":
- if loop-player is in the region "asure":
- set loop-player's hunger to 10
- if loop-player is in the region "lobby":
- set loop-player's hunger to 10
- send action bar "&8&l---= &6&l朝 &b>>> &a残り時間:&e&l%{times}% &8&l=---" to loop-player
- else:
- if {time} is "night":
- if loop-player is in the region "asure":
- set loop-player's hunger to 10
- if loop-player is in the region "lobby":
- set loop-player's hunger to 10
- send action bar "&8&l---= &9&l夜 &b>>> &a残り時間:&e&l%{times}% &8&l=---" to loop-player
- if {times} is 149:
- if {time} is "night":
- command "/summonskeleton"
- if {times} is 110:
- if {time} is "night":
- command "/summonskeleton"
- if {times} is 70:
- if {time} is "night":
- command "/summonskeleton"
- if {times} is 35:
- if {time} is "night":
- command "summonskeleton"
- if {mu} is 0:
- if {kyuketu} is greater or equal to 1:
- broadcast "{@logo} &e試合が終了しました"
- broadcast "{@logo} &d泥棒&eの勝利です!"
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:entity.wither.death master @a ~ ~ ~ 0.5"
- loop all players:
- if {vampire.%loop-player%} is "true":
- add 100 to {xp.%loop-player%}
- send "&e勝利ボーナス:&b+100XP &8(&e%{xp.%loop-player%}%&7/&b250&8)" to loop-player
- else:
- send "&e参加ボーナス:&b+50XP &8(&e%{xp.%loop-player%}%&7/&b250&8)" to loop-player
- add 50 to {xp.%loop-player%}
- wait a tick
- send title "&8&k&l!!&d&l ☯泥棒の勝利☯ &8&k&l!!" to loop-player
- command "/jinro stop"
- stop
- else:
- broadcast "{@logo} &e試合が終了しました"
- broadcast "{@logo} &4警察&eの勝利です!"
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:entity.wolf.howl master @a"
- loop all players:
- if {jinrou.%loop-player%} is "true":
- add 100 to {xp.%loop-player%}
- send "&e勝利ボーナス:&b+100XP &8(&e%{xp.%loop-player%}%&7/&b250&8)" to loop-player
- else:
- send "&e参加ボーナス:&b+50XP &8(&e%{xp.%loop-player%}%&7/&b250&8)" to loop-player
- add 50 to {xp.%loop-player%}
- wait a tick
- send title "&8&k&l!!&c&l ☠&4&l警察の勝利&c&l☠ &8&k&l!!" to loop-player
- command "/jinro stop"
- stop
- if {ji} is 0:
- if {kyuketu} is greater or equal to 1:
- broadcast "{@logo} &e試合が終了しました"
- broadcast "{@logo} &d泥棒&eの勝利です!"
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:entity.wither.death master @a ~ ~ ~ 0.5"
- loop all players:
- if {vampire.%loop-player%} is "true":
- add 100 to {xp.%loop-player%}
- send "&e勝利ボーナス:&b+100XP &8(&e%{xp.%loop-player%}%&7/&b250&8)" to loop-player
- else:
- send "&e参加ボーナス:&b+50XP &8(&e%{xp.%loop-player%}%&7/&b250&8)" to loop-player
- add 50 to {xp.%loop-player%}
- wait a tick
- send title "&8&k&l!!&d&l ☯吸血鬼の勝利☯ &8&k&l!!" to loop-player
- command "/jinro stop"
- stop
- else:
- broadcast "{@logo} &e試合が終了しました"
- broadcast "{@logo} &a泥棒&eの勝利です!"
- execute console command "/execute @a ~ ~ ~ /playsound minecraft:entity.player.levelup master @a"
- loop all players:
- if {murabito::*} contain loop-player:
- add 100 to {xp.%loop-player%}
- send "&e勝利ボーナス:&b+100XP &8(&e%{xp.%loop-player%}%&7/&b250&8)" to loop-player
- else:
- send "&e参加ボーナス:&b+50XP &8(&e%{xp.%loop-player%}%&7/&b250&8)" to loop-player
- add 50 to {xp.%loop-player%}
- wait a tick
- send title "&8&k&l!!&a&l ☺泥棒の勝利☺ &8&k&l!!" to loop-player
- command "/jinro stop"
- stop
- else:
- loop all players:
- send action bar "&8 == &b&lレベル: &8[&b&l%{level.%loop-player%}%&8] &8== &a&lゲーム参加人数: &e&l(&b&l%{join}%&7/&b&l%number of all players%&e&l) &8== &b&l次のレベルまで: &8(&e%{xp.%loop-player%}%&7/&b250&8)" to loop-player
- set loop-player's hunger to 10
- on first join:
- wait 2 tick
- command "/tp %player% -166 6 1415"
- if {game} is "false":
- set slot 4 of player to 1 nether star named "&aゲームに参加"
- set {sanka.%player%} to "false"
- set {chat.%player%} to "all"
- reveal the player from all players
- else:
- if {game} is "true":
- hide the player from all players
- command "/clear %player% nether_star"
- set player's gamemode to spectator
- send "&aゲームがすでに始まっていたため観戦になりました"
- set {chat.%player%} to "kansen"
- if {map} is 1:
- command "/tp %player% -349 9 1375"
- if {map} is 2:
- command "/tp %player% 100 5 100"
- if {map} is 3:
- command "/tp %player% -589.995 4 1640.499"
- on join:
- wait 2 tick
- if {game} is "false":
- set slot 4 of player to 1 nether star named "&aゲームに参加"
- set slot 1 of player to 1 south facing ender dragon head named "&eYour Status"
- set {sanka.%player%} to "false"
- set {chat.%player%} to "all"
- reveal the player from all players
- command "/clear %player% stick"
- command "/clear %player% armor_stand"
- command "/clear %player% paper"
- command "/clear %player% cooked_beef"
- command "/clear %player% splash_potion"
- command "/clear %player% potion"
- command "/clear %player% emerald"
- command "/clear %player% end_crystal"
- command "/clear %player% redstone"
- command "/clear %player% bow"
- command "/clear %player% record_far"
- command "/clear %player% arrow"
- command "/clear %player% wooden_sword"
- command "/clear %player% stone_axe"
- command "/clear %player% minecraft:totem_of_undying"
- command "/clear %player% firework_charge"
- command "/clear %player% bed"
- command "/clear %player% stone_sword"
- else:
- if {game} is "true":
- hide the player from all players
- set {co.cool.%player%} to "set"
- command "/clear %player% nether_star"
- set player's gamemode to spectator
- set {chat.%player%} to "kansen"
- send "&aゲームがすでに始まっていたため観戦になりました"
- command "/clear %player% stick"
- command "/clear %player% armor_stand"
- command "/clear %player% paper"
- command "/clear %player% cooked_beef"
- command "/clear %player% splash_potion"
- command "/clear %player% potion"
- command "/clear %player% emerald"
- command "/clear %player% end_crystal"
- command "/clear %player% redstone"
- command "/clear %player% bow"
- command "/clear %player% arrow"
- command "/clear %player% wooden_sword"
- command "/clear %player% stone_axe"
- command "/clear %player% minecraft:totem_of_undying"
- command "/clear %player% firework_charge"
- command "/clear %player% bed"
- command "/clear %player% stone_sword"
- if {map} is 1:
- command "/tp %player% -349 9 1375"
- if {map} is 2:
- command "/tp %player% 100 5 100"
- if {map} is 3:
- command "/tp %player% -589.995 4 1640.499"
- on quit:
- if {sanka.%player%} is "true":
- remove 1 from {join}
- if {game} is "true":
- if {jinrou.%player%} is "true":
- remove 1 from {ji}
- else:
- if {vampire.%player%} is "true":
- remove 1 from {kyuketu}
- else:
- if {murabito::*} contain player:
- remove 1 from {mu}
- on join:
- wait 0.2 seconds
- send title "&ew"
- wait 0.3 seconds
- send title "&ew&de" #Welcome
- wait 0.3 seconds
- send title "&ew&de&bl"
- wait 0.3 seconds
- send title "&aw&de&bl&ac"
- wait 0.3 seconds
- send title "&aw&de&bl&ac&9o"
- wait 0.3 seconds
- send title "&aw&de&bl&ac&9o&6m"
- wait 0.3 seconds
- send title "&aW&de&bl&ac&9o&6m&3e"
- wait 0.3 seconds
- wait 0.3 seconds
- send title "&aW&de&bl&ac&9o&6m&3e, &a%player%!"
- on rightclick holding a nether star:
- name of held item contains "&aゲームに参加"
- if {game} is "false":
- if {sanka.%player%} is "false":
- send "&8[&2&lケイドロ&8] &aゲームに参加しました!"
- command "/execute %player% ~ ~ ~ /playsound minecraft:block.dispenser.fail master %player%"
- set {sanka.%player%} to "true"
- command "/scoreboard teams join sanka %player%"
- add 1 to {join}
- else:
- send "&8[&2&lケイドロ&8] &cすでに参加しています"
- command "/execute %player% ~ ~ ~ /playsound minecraft:block.dispenser.fail master %player%"
- else:
- send "{@logo} &cゲームは始まっています"
- on rightclick holding a bed:
- name of held item contains "&c観戦"
- if {game} is "false":
- send "&c試合は始まっていません"
- else:
- hide the player from all players
- send "&a観戦になりました"
- send "&b/leave &aで観戦を抜けれます"
- set player's gamemode to spectator
- if {map} is 1:
- execute console command "/tp %player% 727 5 -880"
- if {map} is 2:
- execute console command "/tp %player% 727 5 -880"
- if {map} is 3:
- execute console command "/tp %player% 727 5 -880"
- command /settime [<number>]:
- permission: skript.admin
- trigger:
- set {times} to arg-1
- on inventory click:
- if {game} is "false":
- if clicked slot is 4 or 1:
- cancel event
- on damage:
- if attacker's tool's name is "&5占いの権利":
- if attacker's tool is stick:
- if victim is player:
- if {game} is "true":
- if {time} is "night":
- cancel event
- send "{@logo} &6占っています…" to attacker
- command "/clear %attacker% minecraft:stick 0 1 {display:{Name:""&5占いの権利""}}"
- wait 1 seconds
- if {jinrou.%victim%} is "true":
- send "{@logo} &6占い結果: &b%victim%&aは&4人狼&aでした" to attacker
- else:
- if {vampire.%victim%} is "true":
- send "{@logo} &6占い結果: &b%victim%&aは&d吸血鬼&aでした" to attacker
- else:
- if {gouhu.%victim%} is "true":
- send "{@logo} &6占い結果: &b%victim%&aは&6富豪&aでした" to attacker
- else:
- if {kame.%victim%} is "true":
- send "{@logo} &6占い結果: &b%victim%&aは&cカメレオン&aでした" to attacker
- else:
- if {syo.%victim%} is "true":
- send "&{@logo} &6占い結果: &b%victim%&aは&b聖人&aでした" to attacker
- else:
- send "{@logo} &6占い結果: &b%victim%&aは村人でした" to attacker
- else:
- cancel event
- send "{@logo} &c占いは夜の間だけ可能です" to attacker
- else:
- cancel event
- send "{@logo} &cゲームは始まっていません" to attacker
- on drop:
- if event-item is armor stand:
- cancel event
- wait a tick
- if {time} is "night":
- if {kisi.%player%} is "false":
- set {kisi.%player%} to "true"
- command "/effect %player% 11 100000 255 true"
- command "/clear %player% armor_stand 0 1"
- send "{@logo} &6騎士の祈り&aを使用しました" to player
- else:
- send "{@logo} &cすでに騎士の祈りを使用しています" to player
- else:
- send "{@logo} &c騎士の祈りは夜の間しか使用できません" to player
- on drop:
- if event-item is ender crystal:
- cancel event
- if {me.%player%} is "false":
- wait a tick
- set {me.%player%} to "true"
- execute console command "/clear %player% end_crystal 0 1"
- send "{@logo} &5共犯者の目&aを使用しました" to player
- send "{@logo} &e共犯者が&5共犯者の目&eを使用した" to {jinrou::*}
- execute console command "/scoreboard teams join jinrou %player%"
- wait 20 seconds
- send "{@logo} &5共犯者の目の効果が&a残り&610秒&aで効果が切れます…" to player
- wait 10 seconds
- send "{@logo} &5共犯者の目&aの効果が切れました。" to player
- execute console command "/scoreboard teams join kyouzin %player%"
- set {me.%player%} to "false"
- else:
- send "{@logo} &cすでに共犯者の目を使用しています" to player
- on drop:
- if event-item is firework star:
- cancel event
- wait a tick
- command "/clear %player% firework_charge 0 1"
- execute console command "execute %player% ~ ~ ~ /effect @a[r=5] 15 5 1"
- execute console command "effect %Player% 15 0 "
- send "{@logo} &8煙幕&aを使用しました。" to player
- on drop:
- if event-item is totems of undying:
- cancel event
- wait a tick
- execute console command "/effect @a[team=jinrou] glowing 10 1"
- execute console command "/effect @a[team=murabito] glowing 10 1"
- execute console command "/effect @a[team=kyouzin] glowing 10 1"
- execute console command "/effect @a[team=gouhu] glowing 10 1"
- execute console command "/effect @a[team=kyuketu] glowing 10 1"
- execute console command "/effect @a[team=jinrou] glowing 10 1"
- send "{@logo} &e透姿&aを使用しました。" to player
- command "/clear %player% minecraft:totem_of_undying 0 1"
- on damage:
- if attacker's tool is redstone dust:
- if attacker's tool's name is "&d聖なる十字架":
- if victim is player:
- cancel event
- command "execute %attacker% ~ ~ ~ /playsound minecraft:entity.item.break master %attacker% ~ ~ ~ 1 2"
- command "/clear %attacker% redstone 0 1"
- send "{@logo} &a聖なる十字架を使用した!" to attacker
- wait a tick
- if {vampire.%victim%} is "true":
- command "/kill %victim%"
- send "{@logo} &d吸血鬼&aの殺害に成功しました &8(吸血鬼:&e%victim%&8)" to attacker
- else:
- send "{@logo} &d吸血鬼&cの殺害に失敗した" to attacker
- on drop:
- event-item is bed or pieces of paper:
- cancel event
- on drop:
- event-item is music record far:
- cancel event
- wait a tick
- if {game} is "true":
- if {kame.%player%} is "true":
- if {inv.%player%} is not set:
- send "{@logo} &a透明スキルを使用しました" to player
- command "/effect %player% minecraft:invisibility 20 255 true"
- set {inv.%player%} to 1
- wait 140 seconds
- delete {inv.%player%}
- send "{@logo} &a透明スキルが使用可能になりました" to player
- else:
- send "{@logo} &cクールダウン中…" to player
- else:
- send "{@logo} &cカメレオンしか使用できません" to player
- command /leave:
- trigger:
- if {game} is "true":
- if player's gamemode is spectator:
- send "&a観戦を抜けました"
- teleport player to {lobby}
- set player's gamemode to survival
- else:
- send "&c観戦者だけが使えるコマンドです"
- on rightclick on a villager:
- if {game} is "true":
- if villager's name is "&c&l戦闘":
- cancel event
- open chest with 5 row named " &8------------==<<&6&l戦闘SHOP&8>>==-------------" to player
- wait a tick
- format slot 0 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 1 of player with 3 emerald named "&a↓必要エメラルド:3↓" to run [command "a"]
- format slot 2 of player with 2 emerald named "&a↓必要エメラルド:2↓" to run [command "a"]
- format slot 3 of player with emerald named "&a↓必要エメラルド:1↓" to run [command "a"]
- format slot 4 of player with 5 emerald named "&a↓必要エメラルド:5↓" to run [command "a"]
- format slot 5 of player with 10 emerald named "&a↓必要エメラルド:10↓" to run [command "a"]
- format slot 6 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 7 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 8 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 9 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 10 of player with bow named "&6&l弓" with lore "&3全役職購入可能" and "&6値段:3" and "&a当てた相手を1発で倒せる" and "&a1度使うと壊れる" and "&b>>>クリックで購入<<<" to run [execute console command "shop 1 %player%"]
- format slot 11 of player with arrow named "&6&l矢" with lore "&3全役職購入可能" and "&6値段:2" and "&a弓を使うために必要" and "&c※1回買うと&c&n1個&cもらえます" and "&b>>>クリックで購入<<<" to run [execute console command "shop 2 %player%"]
- format slot 12 of player with 5 steak named "&fステーキ" with lore "&3全役職購入可能" and "&6値段:1" and "&a食料!" and "&c※1回買うと&c&n5個&cもらえます" and "&b>>>クリックで購入<<<" to run [execute console command "shop 3 %player%"]
- format slot 13 of player with wooden sword named "&c&lスケ狩剣" with lore "&3全役職購入可能" and "&6値段:5" and "&a物理攻撃の威力が高くなる" and "&b>>>クリックで購入<<<" to run [execute console command "shop 4 %player%"]
- format slot 14 of player with stone sword named "&6&l<強化> &c&lスケ狩剣" with lore "&3全役職購入可能" and "&6値段:10" and "&a物理攻撃の威力が高くなる" and "&8&l&k!!&6&l [強化版] &8&l&k!!" and "&b>>>クリックで購入<<<" to run [execute console command "shop 5 %player%"]
- format slot 17 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 18 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 19 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 20 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 21 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 22 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 23 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 24 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 25 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 26 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 27 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 35 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 36 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 37 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 38 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 39 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 40 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 41 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 42 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 43 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 44 of player with black stained glass pane named "&a" to run [command "a"]
- if {jinrou.%player%} is "true":
- format slot 28 of player with stone axe named "&4&l人狼の斧" with lore "&3人狼のみ購入可能" and "&6値段:3" and "&a1発で人を倒せる" and "&a1回使うと壊れる" and "&b>>>クリックで購入<<<" to run [execute console command "shop 6 %player%"]
- format slot 37 of player with 3 emerald named "&a↓必要エメラルド:3↓" to run [command "a"]
- if villager's name is "&a&l補助":
- cancel event
- open chest with 5 row named " &8------------==<<&6&l補助SHOP&8>>==-------------" to player
- wait a tick
- format slot 0 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 1 of player with 5 emerald named "&a↓必要エメラルド:5↓" to run [command "a"]
- format slot 2 of player with 2 emerald named "&a↓必要エメラルド:18↓" to run [command "a"]
- format slot 3 of player with 8 emerald named "&a↓必要エメラルド:8↓" to run [command "a"]
- format slot 4 of player with 5 emerald named "&a↓必要エメラルド:5↓" to run [command "a"]
- format slot 5 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 6 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 7 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 8 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 9 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 10 of player with stick named "&5占いの権利" with lore "&3全役職購入可能" and "&6値段:5" and "&aこのアイテムを持ちながら占いたい人を殴ると占うことができる" and "&a1度使うと消える" and "&c※夜の間だけ使用可能" and "&b>>>クリックで購入<<<" to run [execute console command "shop 7 %player%"]
- format slot 11 of player with totems of undying named "&7透姿" with lore "&3全役職購入可能" and "&6値段:18" and "&a捨てると使用できる" and "&a10秒間すべてのプレイヤーに発行を付ける" and "&a1度使うと消える" and "&b>>>クリックで購入<<<" to run [execute console command "shop 8 %player%"]
- format slot 12 of player with firework star named "&8煙幕" with lore "&3全役職購入可能" and "&6値段:8" and "&a捨てると使用できる" and "&a使ったプレイヤーの付近にいる人に盲目を付ける" and "&a1度使うと消える" and "&b>>>クリックで購入<<<" to run [execute console command "shop 9 %player%"]
- format slot 13 of player with redstone dust named "&d聖なる十字架" with lore "&3全役職購入可能" and "&6値段:5" and "&aこのアイテムを持ちながら殴ると使用できる" and "&a相手が吸血鬼だったら殺すことができ、" and "&a吸血鬼ではなかったら何も起こらない" and "&a1度使ったら壊れる" and "&b>>>クリックで購入<<<" to run [execute console command "/shop 14 %player%"]
- format slot 17 of player with black stained glass pane named "&6" to run [command "a"]
- format slot 18 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 19 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 20 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 21 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 22 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 23 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 24 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 25 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 26 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 27 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 35 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 36 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 37 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 38 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 39 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 40 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 41 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 42 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 43 of player with black stained glass pane named "&a" to run [command "a"]
- format slot 44 of player with black stained glass pane named "&a" to run [command "a"]
- if {jinrou.%player%} is "true":
- format slot 28 of player with invisibility potion named "&a&l30秒&b&l透明" with lore "&3人狼のみ購入可能" and "&6値段:5" and "&a30秒間透明になる" and "&b>>>クリックで購入<<<" to run [execute console command "shop 13 %player%"]
- format slot 29 of player with splash potions of strong speed named "&a&l60秒&b&lスピード" with lore "&3人狼のみ購入可能" and "&6値段:3" and "&a60秒間俊敏がつく" and "&b>>>クリックで購入<<<" to run [execute console command "shop 12 %player%"]
- format slot 37 of player with 5 emerald named "&a↓必要エメラルド:5↓" to run [command "a"]
- format slot 38 of player with 3 emerald named "&a↓必要エメラルド:3↓" to run [command "a"]
- else:
- if {kyouzin.%player%} is "true":
- format slot 28 of player with end crystal item named "&5共犯者の目" with lore "&3共犯者のみ購入可能" and "&6値段:5" and "&a捨てると使用できる" and "30秒間人狼のネームバーが見え,人狼を確認できる" and "&b>>>クリックで購入<<<" to run [execute console command "shop 11 %player%"]
- format slot 37 of player with 5 emerald named "&a↓必要エメラルド:5↓" to run [command "a"]
- else:
- format slot 28 of player with armor stand named "&6騎士の祈り" with lore "&3人狼陣営以外購入可能" and "&6値段:5" and "&a捨てると使用できる" and "&a夜の間だけ無敵になれる" and "&a1度使うと壊れる" and "&c※夜の間だけしか使用できません" and "&b>>>クリックで購入<<<" to run [execute console command "shop 10 %player%"]
- format slot 37 of player with 5 emerald named "&a↓必要エメラルド:5↓" to run [command "a"]
- command /shop [<text>] [<player>]:
- executable by: console
- trigger:
- if arg-1 is "1": #弓
- set {_a} to amount of emerald in arg-2's inventory
- if {_a} is greater than or equal to 3:
- execute console command "/give %arg-2% minecraft:bow 1 384 {HideFlags:33,display:{Name:""&6&l弓""},ench:[{id:48,lvl:1000}]}"
- execute console command "clear %arg-2% emerald 0 3"
- else:
- send "{@logo} &cエメラルドが足りません" to arg-2
- if arg-1 is "2": #矢
- set {_b} to amount of emerald in arg-2's inventory
- if {_b} is greater than or equal to 2:
- give arg-2 arrow named "&6&l矢"
- execute console command "clear %arg-2% emerald 0 2"
- else:
- send "{@logo} &cエメラルドが足りません" to arg-2
- if arg-1 is "3": #ステーキ
- set {_c} to amount of emerald in arg-2's inventory
- if {_c} is greater than or equal to 1:
- give arg-2 5 steak
- execute console command "clear %arg-2% emerald 0 1"
- else:
- send "{@logo} &cエメラルドが足りません" to arg-2
- if arg-1 is "4": #スケ狩剣
- set {_d} to amount of emerald in arg-2's inventory
- if {_d} is greater than or equal to 5:
- execute console command "give %arg-2% minecraft:wooden_sword 1 0 {HideFlags:4,Unbreakable:1,display:{Name:""&c&lスケ狩剣""}}"
- execute console command "clear %arg-2% emerald 0 5"
- else:
- send "{@logo} &cエメラルドが足りません" to arg-2
- if arg-1 is "5": #スケ狩剣 <強化>
- set {_e} to amount of emerald in arg-2's inventory
- if {_e} is greater than or equal to 10:
- execute console command "/give %arg-2% minecraft:stone_sword 1 0 {HideFlags:5,Unbreakable:1,display:{Name:""&6&l<強化> &c&lスケ狩剣""},ench:[{id:16,lvl:2}]}"
- execute console command "clear %arg-2% emerald 0 10"
- else:
- send "{@logo} &cエメラルドが足りません" to arg-2
- if arg-1 is "6": #人狼の斧
- set {_f} to amount of emerald in arg-2's inventory
- if {_f} is greater than or equal to 3:
- execute console command "/give %arg-2% minecraft:stone_axe 1 131 {HideFlags:5,display:{Name:""&4&l人狼の斧""},ench:[{id:16,lvl:10000}]}"
- execute console command "clear %arg-2% emerald 0 3"
- else:
- send "{@logo} &cエメラルドが足りません" to arg-2
- if arg-1 is "7": #占いの権利
- set {_g} to amount of emerald in arg-2's inventory
- if {_g} is greater than or equal to 5:
- give arg-2 stick named "&5占いの権利"
- execute console command "clear %arg-2% emerald 0 5"
- else:
- send "{@logo} &cエメラルドが足りません" to arg-2
- if arg-1 is "8": #透姿
- set {_h} to amount of emerald in arg-2's inventory
- if {_h} is greater than or equal to 18:
- give arg-2 totems of undying named "&7透姿"
- execute console command "clear %arg-2% emerald 0 18"
- else:
- send "{@logo} &cエメラルドが足りません" to arg-2
- if arg-1 is "9": #煙幕
- set {_i} to amount of emerald in arg-2's inventory
- if {_i} is greater than or equal to 8:
- give arg-2 firework star named "&8煙幕"
- command "/clear %arg-2% emerald 0 8"
- else:
- send "{@logo} &cエメラルドが足りません" to arg-2
- if arg-1 is "10": #騎士の祈り
- set {_j} to amount of emerald in arg-2's inventory
- if {_j} is greater than or equal to 5:
- give arg-2 armor stand named "&6騎士の祈り"
- command "/clear %arg-2% emerald 0 5"
- else:
- send "{@logo} &cエメラルドが足りません" to arg-2
- if arg-1 is "11": #共犯者の目
- set {_k} to amount of emerald in arg-2's inventory
- if {_k} is greater than or equal to 5:
- give arg-2 end crystal item named "&5共犯者の目"
- command "/clear %arg-2% emerald 0 5"
- else:
- send "{@logo} &cエメラルドが足りません" to arg-2
- if arg-1 is "12": #透明
- set {_l} to amount of emerald in arg-2's inventory
- if {_l} is greater than or equal to 5:
- execute console command "/give %arg-2% minecraft:potion 1 0 {display:{Name:""&a&l30秒&b透明""},CustomPotionEffects:[{Id:14,Amplifier:0,Duration:600}],CustomPotionColor:13104383}"
- command "/clear %arg-2% emerald 0 5"
- else:
- send "{@logo} &cエメラルドが足りません" to arg-2
- if arg-1 is "13": #スピード
- set {_m} to amount of emerald in arg-2's inventory
- if {_m} is greater than or equal to 3:
- execute console command "/give %arg-2% minecraft:splash_potion 1 0 {display:{Name:""&a&l60秒&俊敏""},CustomPotionEffects:[{Id:1,Amplifier:1,Duration:1200}],Potion:""minecraft:water"",CustomPotionColor:5429247}"
- command "/clear %arg-2% emerald 0 3"
- else:
- send "{@logo} &cエメラルドが足りません" to arg-2
- if arg-1 is "14": #聖なる十字架
- set {_n} to amount of emerald in arg-2's inventory
- if {_n} is greater than or equal to 5:
- give arg-2 redstone dust named "&d聖なる十字架"
- command "/clear %arg-2% emerald 0 5"
- else:
- send "{@logo} &cエメラルドが足りません" to arg-2
- on drop:
- if event-item is written book:
- cancel event
- command /join [<player>]:
- trigger:
- if {game} is "false":
- if arg-1 is not set:
- if {sanka.%player%} is "false":
- send "&8[&2&lケイドロ&8] &aゲームに参加しました!"
- command "/execute %player% ~ ~ ~ /playsound minecraft:block.dispenser.fail master %player%"
- set {sanka.%player%} to "true"
- command "/scoreboard teams join sanka %player%"
- add 1 to {join}
- else:
- send "&8[&2&lケイドロ&8] &cすでに参加しています"
- command "/execute %player% ~ ~ ~ /playsound minecraft:block.dispenser.fail master %player%"
- if arg-1 is set:
- if player is op:
- if {sanka.%arg-1%} is "false":
- send "{@logo} &a%player%により強制参加させられました" to arg-1
- command "/execute %arg-1% ~ ~ ~ /playsound minecraft:block.dispenser.fail master %arg-1%"
- send "{@logo} &a%arg-1%を強制参加させました"
- set {sanka.%arg-1%} to "true"
- add 1 to {join}
- command "/scoreboard teams join sanka %arg-1%"
- else:
- send "{@logo} &a%arg-1%はすでに参加しています"
- command "/execute %player% ~ ~ ~ /playsound minecraft:block.dispenser.fail master %player%"
- else:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement