Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- s: &c[system]&6
- command /join:
- trigger:
- if {game} is true:
- message "{@s} 現在ゲーム中です、ゲームが終わり次第入れます"
- stop
- if {game} is false:
- if {join.%player%} is true:
- message "{@s} 既に参加しています"
- stop
- broadcast "{@s} &e%player%&6が参加しました"
- add player to {allplayer::*}
- add player to {player::*}
- add 1 to {member}
- set {join.%player%} to true
- loop all players:
- set tab header to "&lサーバー参加人数 &a%number of all players%&7/15" and footer to "&c&l人狼参加人数 &6%{member}%&7/15" for loop-player
- stop
- command /zinnrou:
- permission: admin
- trigger:
- set {game} to true
- broadcast "{@s} 人狼ゲームを開始します"
- wait 3 seconds
- command "/jks"
- teleport {player::*} to the location (100, 100, 100) #tp
- command "/effect @a invisibility 30 10 true"
- command "/time set 16000"
- set {uranaitime} to true
- set {uranai.%{U}%} to true
- set {uranai.%{U2}%} to true
- loop all players:
- if loop-player has permission "sk.admin":
- set {logs.%loop-player%} to false
- set {uranai.%loop-player%} to true
- set {nu.%loop-player%} to true
- execute loop-player command "/job"
- broadcast "{@s} 夜になりました、夜行動の役職を持ってる人は行動してください"
- message "{@s} &f&l&n/u (プレイヤー)" to {U} and {U2}
- wait 20 seconds #夜行動の役職のため
- broadcast "{@s} 残り10秒"
- wait 5 seconds
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- broadcast "{@s} 5"
- wait 1 seconds
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- broadcast "{@s} 4"
- wait 1 seconds
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- broadcast "{@s} 3"
- wait 1 seconds
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- broadcast "{@s} 2"
- wait 1 seconds
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- broadcast "{@s} 1"
- wait 1 seconds
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- loop all players:
- if loop-player has permission "sk.admin":
- set {logs.%loop-player%} to true
- set {uranaitime} to false
- set {migatime} to true
- message "{@s} 人狼は&4%{Z}%&6です" to {K}
- if {H} is set:
- if {Y} is set:
- message "{@s} てるてるは&d%{Y}%&6です" to {H}
- if {C} is set:
- message "{@s} クリーパーは&b%{C}%&6です" to {H}
- if {Y} and {C} is not set:
- message "{@s} 今回はクリーパーもてるてるもいません" to {H}
- if {ut} is true:
- if {U2} is set:
- message "{@s} もう一人の占い師は&5%{U2}%&6です" to {U}
- message "{@s} もう一人の占い師は&5%{U}%&6です" to {U2}
- if {kt} is true:
- if {K} is set:
- message "{@s} 狂人は&3%{K}%&6です" to {Z}
- if {D} is set:
- message "{@s} ""&f&l&n/miga (プレイヤー)""&6でその人の身代わりになれます" to {D}
- if {member} is 2 or 1:
- broadcast "{@s} &cError"
- command "/stopgame"
- stop
- if {member} is 3 or 4:
- broadcast "{@s} 夜が明けました、話し合いを開始してください。 (話し合いの時間:1 Minutes)"
- teleport {player::*} to the location (991, 101, 1002)
- set {nomove} to true
- wait 30 seconds
- broadcast "{@s} 残り30秒"
- wait 20 seconds
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- broadcast "{@s} 残り10秒"
- wait 7 seconds
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- broadcast "{@s} 3"
- wait 1 seconds
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- broadcast "{@s} 2"
- wait 1 seconds
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- broadcast "{@s} 1"
- wait 1 seconds
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- broadcast "{@s} 話し合いが終了しました、処刑に移ります"
- set {migatime} to false
- command "/startvote"
- if {member} is 5 or 6:
- broadcast "{@s} 夜が明けました、話し合いを開始してください。 (話し合いの時間:2 Minutes)"
- teleport {player::*} to the location (991, 101, 1002)
- set {nomove} to true
- wait 1 minutes
- broadcast "{@s} 残り1分"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 50 seconds
- broadcast "{@s} 残り10秒"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 7 seconds
- broadcast "{@s} 3"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "{@s} 2"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "{@s} 1"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "{@s} 話し合いが終了しました、処刑に移ります"
- set {migatime} to false
- command "/startvote"
- if {member} is 7 or 8 or 9:
- broadcast "{@s} 夜が明けました、話し合いを開始してください。 (話し合いの時間:4 Minutes)"
- teleport {player::*} to the location (991, 101, 1002)
- set {nomove} to true
- wait 1 minutes
- broadcast "{@s} 残り3分"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 minutes
- broadcast "{@s} 残り2分"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 minutes
- broadcast "{@s} 残り1分"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 50 seconds
- broadcast "{@s} 残り10秒"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 7 seconds
- broadcast "{@s} 3"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "{@s} 2"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "{@s} 1"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "{@s} 話し合いが終了しました、処刑に移ります"
- set {migatime} to false
- command "/startvote"
- if {member} is 10 or 11 or 12 or 13 or 14 or 15:
- broadcast "{@s} 夜が明けました、話し合いを開始してください。 (話し合いの時間:7 Minutes)"
- teleport {player::*} to the location (991, 101, 1002)
- set {nomove} to true
- wait 1 minutes
- broadcast "{@s} 残り6分"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 minutes
- broadcast "{@s} 残り5分"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 minutes
- broadcast "{@s} 残り4分"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 minutes
- broadcast "{@s} 残り3分"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 minutes
- broadcast "{@s} 残り2分"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 minutes
- broadcast "{@s} 残り1分"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 50 seconds
- broadcast "{@s} 残り10秒"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 7 seconds
- broadcast "{@s} 3"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "{@s} 2"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "{@s} 1"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "{@s} 話し合いが終了しました、処刑に移ります"
- set {migatime} to false
- command "/startvote"
- command /u [<player>]:
- trigger:
- if arg 1 is not set:
- message "占うプレイヤーを指定してください"
- stop
- if arg 1 is set:
- if player is {U} or {U2}:
- if {uranaitime} is true:
- if {uranai.%player%} is true:
- if arg 1 is {Z}:
- message "{@s} %arg 1%は&4人狼&6です"
- set {uranai.%player%} to false
- stop
- if arg 1 is {K}:
- message "{@s} %arg 1%は&3狂人&6です"
- set {uranai.%player%} to false
- stop
- if arg 1 is {U}:
- message "{@s} %arg 1%は&5占い師&6です"
- set {uranai.%player%} to false
- stop
- if arg 1 is {U2}:
- message "{@s} %arg 1%は占い師&6です"
- set {uranai.%player%} to false
- stop
- if arg 1 is {Y}:
- message "{@s} %arg 1%は&dてるてる&6です"
- set {uranai.%player%} to false
- stop
- if arg 1 is {N}:
- message "{@s} %arg 1%は&e猫又&6です"
- set {uranai.%player%} to false
- stop
- if arg 1 is {C}:
- message "{@s} %arg 1%は&bクリーパー&6です"
- set {uranai.%player%} to false
- stop
- if arg 1 is {D}:
- message "{@s} %arg 1%は&1身代わり&6です"
- set {uranai.%player%} to false
- stop
- if arg 1 is {H}:
- message "{@s} %arg 1%は&2背徳者&6です"
- set {uranai.%player%} to false
- stop
- else:
- message "{@s} %arg 1%は&a村人&6です"
- set {uranai.%player%} to false
- stop
- stop
- else:
- message "{@s} 既に占いました"
- stop
- else:
- message "{@s} 現在は占えません"
- stop
- else:
- message "{@s} あなたは占い師ではありません"
- else:
- message "{@s} Error"
- command /jks:
- permission: skript.admin
- trigger:
- if {member} is less than or equal to 2:
- broadcast "{@s} 人数が足りません!"
- if {member} is equal to 3: #三人
- chance of 60%:
- set {Z} to random player of {allplayer::*}
- remove {Z} from {allplayer::*}
- set {U} to random player of {allplayer::*}
- remove {U} from {allplayer::*}
- message "{@s} あなたは&a村人&6になりました" to {allplayer::*}
- message "{@s} あなたは&4人狼&6になりました" to {Z}
- message "{@s} あなたは&5占い師&6になりました" to {U}
- stop
- if {member} is equal to 4: #四人
- chance of 35%:
- set {Z} to random player of {allplayer::*}
- remove {Z} from {allplayer::*}
- set {U} to random player of {allplayer::*}
- remove {U} from {allplayer::*}
- chance of 70%:
- set {Y} to random player of {allplayer::*}
- remove {Y} from {allplayer::*}
- message "{@s} あなたは&a村人&6になりました" to {allplayer::*}
- message "{@s} あなたは&4人狼&6になりました" to {Z}
- message "{@s} あなたは&5占い師&6になりました" to {U}
- message "{@s} あなたは&dてるてる&6になりました" to {Y}
- stop
- if {member} is equal to 5: #五人
- set {Z} to random player of {allplayer::*}
- remove {Z} from {allplayer::*}
- set {U} to random player of {allplayer::*}
- remove {U} from {allplayer::*}
- chance of 20%:
- set {Y} to random player of {allplayer::*}
- remove {Y} from {allplayer::*}
- chance of 90%:
- set {N} to random player of {allplayer::*}
- remove {N} from {allplayer::*}
- message "{@s} あなたは&a村人&6になりました" to {allplayer::*}
- message "{@s} あなたは&4人狼&6になりました" to {Z}
- message "{@s} あなたは&5占い師&6になりました" to {U}
- message "{@s} あなたは&dてるてる&6になりました" to {Y}
- message "{@s} あなたは&7猫又&6になりました" to {N}
- stop
- if {member} is equal to 6: #六人 (五人と同じ)
- set {Z} to random player of {allplayer::*}
- remove {Z} from {allplayer::*}
- set {U} to random player of {allplayer::*}
- remove {U} from {allplayer::*}
- chance of 20%:
- set {Y} to random player of {allplayer::*}
- remove {Y} from {allplayer::*}
- chance of 90%:
- set {N} to random player of {allplayer::*}
- remove {N} from {allplayer::*}
- message "{@s} あなたは&a村人&6になりました" to {allplayer::*}
- message "{@s} あなたは&4人狼&6になりました" to {Z}
- message "{@s} あなたは&5占い師&6になりました" to {U}
- message "{@s} あなたは&dてるてる&6になりました" to {Y}
- message "{@s} あなたは&7猫又&6になりました" to {N}
- stop
- if {member} is equal to 7: #七人
- set {Z} to random player of {allplayer::*}
- remove {Z} from {allplayer::*}
- set {U} to random player of {allplayer::*}
- remove {U} from {allplayer::*}
- chance of 20%:
- set {Y} to random player of {allplayer::*}
- remove {Y} from {allplayer::*}
- chance of 90%:
- set {N} to random player of {allplayer::*}
- remove {N} from {allplayer::*}
- message "{@s} あなたは&a村人&6になりました" to {allplayer::*}
- message "{@s} あなたは&4人狼&6になりました" to {Z}
- message "{@s} あなたは&5占い師&6になりました" to {U}
- message "{@s} あなたは&dてるてる&6になりました" to {Y}
- message "{@s} あなたは&7猫又&6になりました" to {N}
- message "{@s} あなたは&bクリーパー&6になりました" to {C}
- stop
- if {member} is equal to 8: #八人
- set {Z} to random player of {allplayer::*}
- remove {Z} from {allplayer::*}
- chance of 45%:
- set {K} to random player of {allplayer::*}
- remove {K} from {allplayer::*}
- set {U} to random player of {allplayer::*}
- remove {U} from {allplayer::*}
- chance of 20%:
- set {Y} to random player of {allplayer::*}
- remove {Y} from {allplayer::*}
- set {N} to random player of {allplayer::*}
- remove {N} from {allplayer::*}
- message "{@s} あなたは&a村人&6になりました" to {allplayer::*}
- message "{@s} あなたは&4人狼&6になりました" to {Z}
- message "{@s} あなたは&3狂人者&6になりました" to {K}
- message "{@s} あなたは&5占い師&6になりました" to {U}
- message "{@s} あなたは&dてるてる&6になりました" to {Y}
- message "{@s} あなたは&7猫又&6になりました" to {N}
- message "{@s} あなたは&bクリーパー&6になりました" to {C}
- stop
- if {member} is equal to 9: #九人
- set {Z} to random player of {allplayer::*}
- remove {Z} from {allplayer::*}
- set {U} to random player of {allplayer::*}
- remove {U} from {allplayer::*}
- set {U2} to random player of {allplayer::*}
- remove {U2} from {allplayer::*}
- set {Y} to random player of {allplayer::*}
- remove {Y} from {allplayer::*}
- set {N} to random player of {allplayer::*}
- remove {N} from {allplayer::*}
- message "{@s} あなたは&a村人&6になりました" to {allplayer::*}
- message "{@s} あなたは&4人狼&6になりました" to {Z}
- message "{@s} あなたは&3狂人者&6になりました" to {K}
- message "{@s} あなたは&5占い師&6になりました" to {U}
- message "{@s} あなたは&5占い師&6になりました" to {U2}
- message "{@s} あなたは&dてるてる&6になりました" to {Y}
- message "{@s} あなたは&7猫又&6になりました" to {N}
- message "{@s} あなたは&bクリーパー&6になりました" to {C}
- stop
- if {member} is equal to 10: #十人
- set {Z} to random player of {allplayer::*}
- remove {Z} from {allplayer::*}
- chance of 45%:
- set {K} to random player of {allplayer::*}
- remove {K} from {allplayer::*}
- set {U} to random player of {allplayer::*}
- remove {U} from {allplayer::*}
- set {U2} to random player of {allplayer::*}
- remove {U2} from {allplayer::*}
- chance of 20%:
- set {Y} to random player of {allplayer::*}
- remove {Y} from {allplayer::*}
- set {N} to random player of {allplayer::*}
- remove {N} from {allplayer::*}
- set {D} to random player of {allplayer::*}
- remove {D} from {allplayer::*}
- message "{@s} あなたは&a村人&6になりました" to {allplayer::*}
- message "{@s} あなたは&4人狼&6になりました" to {Z}
- message "{@s} あなたは&3狂人者&6になりました" to {K}
- message "{@s} あなたは&5占い師&6になりました" to {U}
- message "{@s} あなたは&5占い師&6になりました" to {U2}
- message "{@s} あなたは&dてるてる&6になりました" to {Y}
- message "{@s} あなたは&7猫又&6になりました" to {N}
- message "{@s} あなたは&bクリーパー&6になりました" to {C}
- message "{@s} あなたは&1身代わり&6になりました" to {D}
- stop
- if {member} is equal to 11: #十一人
- set {Z} to random player of {allplayer::*}
- remove {Z} from {allplayer::*}
- chance of 35%:
- set {K} to random player of {allplayer::*}
- remove {K} from {allplayer::*}
- set {U} to random player of {allplayer::*}
- remove {U} from {allplayer::*}
- set {U2} to random player of {allplayer::*}
- remove {U2} from {allplayer::*}
- chance of 20%:
- set {Y} to random player of {allplayer::*}
- remove {Y} from {allplayer::*}
- set {N} to random player of {allplayer::*}
- remove {N} from {allplayer::*}
- set {D} to random player of {allplayer::*}
- remove {D} from {allplayer::*}
- message "{@s} あなたは&a村人&6になりました" to {allplayer::*}
- message "{@s} あなたは&4人狼&6になりました" to {Z}
- message "{@s} あなたは&3狂人者&6になりました" to {K}
- message "{@s} あなたは&5占い師&6になりました" to {U}
- message "{@s} あなたは&5占い師&6になりました" to {U2}
- message "{@s} あなたは&dてるてる&6になりました" to {Y}
- message "{@s} あなたは&7猫又&6になりました" to {N}
- message "{@s} あなたは&bクリーパー&6になりました" to {C}
- message "{@s} あなたは&1身代わり&6になりました" to {D}
- stop
- if {member} is equal to 12: #十二人
- set {Z} to random player of {allplayer::*}
- remove {Z} from {allplayer::*}
- chance of 35%:
- set {K} to random player of {allplayer::*}
- remove {K} from {allplayer::*}
- set {U} to random player of {allplayer::*}
- remove {U} from {allplayer::*}
- set {U2} to random player of {allplayer::*}
- remove {U2} from {allplayer::*}
- chance of 10%:
- set {Y} to random player of {allplayer::*}
- remove {Y} from {allplayer::*}
- set {N} to random player of {allplayer::*}
- remove {N} from {allplayer::*}
- set {D} to random player of {allplayer::*}
- remove {D} from {allplayer::*}
- message "{@s} あなたは&a村人&6になりました" to {allplayer::*}
- message "{@s} あなたは&4人狼&6になりました" to {Z}
- message "{@s} あなたは&3狂人者&6になりました" to {K}
- message "{@s} あなたは&5占い師&6になりました" to {U}
- message "{@s} あなたは&5占い師&6になりました" to {U2}
- message "{@s} あなたは&dてるてる&6になりました" to {Y}
- message "{@s} あなたは&7猫又&6になりました" to {N}
- message "{@s} あなたは&bクリーパー&6になりました" to {C}
- message "{@s} あなたは&1身代わり&6になりました" to {D}
- stop
- if {member} is equal to 13: #十三人
- set {Z} to random player of {allplayer::*}
- remove {Z} from {allplayer::*}
- chance of 35%:
- set {K} to random player of {allplayer::*}
- remove {K} from {allplayer::*}
- set {U} to random player of {allplayer::*}
- remove {U} from {allplayer::*}
- set {U2} to random player of {allplayer::*}
- remove {U2} from {allplayer::*}
- set {Y} to random player of {allplayer::*}
- remove {Y} from {allplayer::*}
- set {H} to random player of {allplayer::*}
- remove {H} from {allplayer::*}
- message "{@s} あなたは&a村人&6になりました" to {allplayer::*}
- message "{@s} あなたは&4人狼&6になりました" to {Z}
- message "{@s} あなたは&3狂人者&6になりました" to {K}
- message "{@s} あなたは&5占い師&6になりました" to {U}
- message "{@s} あなたは&5占い師&6になりました" to {U2}
- message "{@s} あなたは&dてるてる&6になりました" to {Y}
- message "{@s} あなたは&7猫又&6になりました" to {N}
- message "{@s} あなたは&bクリーパー&6になりました" to {C}
- message "{@s} あなたは&1身代わり&6になりました" to {D}
- message "{@s} あなたは&2背徳者&6になりました" to {H}
- stop
- if {member} is equal to 14: #十四人
- set {Z} to random player of {allplayer::*}
- remove {Z} from {allplayer::*}
- chance of 45%:
- set {K} to random player of {allplayer::*}
- remove {K} from {allplayer::*}
- set {U} to random player of {allplayer::*}
- remove {U} from {allplayer::*}
- set {U2} to random player of {allplayer::*}
- remove {U2} from {allplayer::*}
- chance of 40%:
- set {Y} to random player of {allplayer::*}
- remove {Y} from {allplayer::*}
- chance of 80%:
- set {N} to random player of {allplayer::*}
- remove {N} from {allplayer::*}
- chance of 30%:
- set {D} to random player of {allplayer::*}
- remove {D} from {allplayer::*}
- chance of 80%:
- set {H} to random player of {allplayer::*}
- remove {H} from {allplayer::*}
- message "{@s} あなたは&a村人&6になりました" to {allplayer::*}
- message "{@s} あなたは&4人狼&6になりました" to {Z}
- message "{@s} あなたは&3狂人者&6になりました" to {K}
- message "{@s} あなたは&5占い師&6になりました" to {U}
- message "{@s} あなたは&5占い師&6になりました" to {U2}
- message "{@s} あなたは&dてるてる&6になりました" to {Y}
- message "{@s} あなたは&7猫又&6になりました" to {N}
- message "{@s} あなたは&bクリーパー&6になりました" to {C}
- message "{@s} あなたは&1身代わり&6になりました" to {D}
- message "{@s} あなたは&2背徳者&6になりました" to {H}
- stop
- if {member} is equal to 15: #十五人
- set {Z} to random player of {allplayer::*}
- remove {Z} from {allplayer::*}
- chance of 45%:
- set {K} to random player of {allplayer::*}
- remove {K} from {allplayer::*}
- set {U} to random player of {allplayer::*}
- remove {U} from {allplayer::*}
- set {U2} to random player of {allplayer::*}
- remove {U2} from {allplayer::*}
- set {Y} to random player of {allplayer::*}
- remove {Y} from {allplayer::*}
- set {N} to random player of {allplayer::*}
- remove {N} from {allplayer::*}
- set {D} to random player of {allplayer::*}
- remove {D} from {allplayer::*}
- set {H} to random player of {allplayer::*}
- remove {H} from {allplayer::*}
- message "{@s} あなたは&a村人&6になりました" to {allplayer::*}
- message "{@s} あなたは&4人狼&6になりました" to {Z}
- message "{@s} あなたは&3狂人者&6になりました" to {K}
- message "{@s} あなたは&5占い師&6になりました" to {U}
- message "{@s} あなたは&5占い師&6になりました" to {U2}
- message "{@s} あなたは&dてるてる&6になりました" to {Y}
- message "{@s} あなたは&7猫又&6になりました" to {N}
- message "{@s} あなたは&bクリーパー&6になりました" to {C}
- message "{@s} あなたは&1身代わり&6になりました" to {D}
- message "{@s} あなたは&2背徳者&6になりました" to {H}
- stop
- command /Z:
- permission: skript.admin
- trigger:
- message "&a村人 %{allplayer::*}%"
- message "&4人狼 %{Z}%"
- message "&3狂人 %{K}%"
- message "&5占い師 %{U}%"
- message "&5占い師2 %{U2}%"
- message "&dてるてる %{Y}%"
- message "&7猫又 %{N}%"
- message "&bクリーパー %{C}%"
- message "&1身代わり %{D}%"
- message "&2背徳者 %{H}%"
- command /de:
- permission: skript.admin
- trigger:
- delete {allplayer::*}
- delete {player::*}
- delete {member}
- delete {Z}
- delete {U}
- delete {U2}
- delete {K}
- delete {Y}
- delete {N}
- delete {C}
- delete {D}
- delete {H}
- delete {nekotime}
- delete {nekovote}
- delete {mitizure}
- set {migatime} to false
- set {game} to false
- set {chat} to true
- loop all players:
- set {join.%loop-player%} to false
- broadcast "{@s} リセット"
- command /stopgame:
- permission: skript.admin
- trigger:
- broadcast "{@s} ゲームを終了しました"
- command "/tp @a 0 10 0"
- command "/jobview"
- command "/resetlogs"
- command "/gamemode 2 @a"
- delete {allplayer::*}
- delete {player::*}
- delete {member}
- delete {Z}
- delete {U}
- delete {U2}
- delete {K}
- delete {Y}
- delete {N}
- delete {C}
- delete {D}
- delete {H}
- delete {nekotime}
- delete {nekovote}
- delete {mitizure}
- set {migatime} to false
- set {game} to false
- set {chat} to true
- loop all players:
- set {join.%loop-player%} to false
- set {uranai.%loop-player%} to true
- if {re} is true:
- broadcast "{@s} 30秒後に人狼ゲームを開始します"
- wait 30 seconds
- execute console command "/zinnrou"
- command /restart <text>:
- permission: skript.admin
- trigger:
- if arg 1 is "true":
- set {re} to true
- broadcast "{@s} リスタートを有効にしました"
- stop
- if arg 1 is "false":
- set {re} to false
- broadcast "{@s} リスタートを無効にしました"
- stop
- command /job:
- trigger:
- if {member} is 3:
- message "==============="
- message "&4人狼 &6(60%%)"
- message "&5占い師"
- message "&a村人"
- stop
- if {member} is 4:
- message "==============="
- message "&4人狼 &6(35%%)"
- message "&5占い師"
- message "&a村人"
- message "&dてるてる &6(70%%)"
- stop
- if {member} is 5:
- message "==============="
- message "&4人狼"
- message "&5占い師"
- message "&a村人"
- message "&dてるてる &6(20%%)"
- message "&7猫又 &6(90%%)"
- stop
- if {member} is 6:
- message "==============="
- message "&4人狼"
- message "&5占い師"
- message "&a村人"
- message "&dてるてる &6(20%%)"
- message "&7猫又 &6(90%%)"
- stop
- if {member} is 7:
- message "==============="
- message "&4人狼"
- message "&5占い師"
- message "&a村人"
- message "&dてるてる &6(20%%)"
- message "&7猫又 &6(90%%)"
- stop
- if {member} is 8:
- message "==============="
- message "&4人狼"
- message "&3狂人者 &6(45%%)"
- message "&5占い師"
- message "&a村人"
- message "&dてるてる &6(30%%)"
- message "&7猫又"
- stop
- if {member} is 9:
- message "==============="
- message "&4人狼"
- message "&3&m狂人者"
- message "&5占い師 &6(×2)"
- message "&a村人"
- message "&dてるてる"
- message "&7猫又"
- stop
- if {member} is 10:
- message "==============="
- message "&4人狼"
- message "&3狂人者 &6(45%%)"
- message "&5占い師 &6(×2)"
- message "&a村人"
- message "&d&mてるてる"
- message "&7猫又"
- message "&1身代わり"
- stop
- if {member} is 11:
- message "==============="
- message "&4人狼"
- message "&3狂人者 &6(35%%)"
- message "&5占い師 &6(×2)"
- message "&a村人"
- message "&dてるてる &6(20%%)"
- message "&7猫又"
- message "&1身代わり"
- stop
- if {member} is 12:
- message "==============="
- message "&4人狼"
- message "&3狂人者 &6(35%%)"
- message "&5占い師 &6(×2)"
- message "&a村人"
- message "&dてるてる &6(10%%)"
- message "&7猫又"
- message "&1身代わり &6(60%%)"
- stop
- if {member} is 13:
- message "==============="
- message "&4人狼"
- message "&3狂人者 &6(35%%)"
- message "&5占い師 &6(×2)"
- message "&a村人"
- message "&dてるてる"
- message "&7&m猫又"
- message "&1&m身代わり"
- message "&2背徳者"
- stop
- if {member} is 14:
- message "==============="
- message "&4人狼"
- message "&3狂人者 &6(45%%)"
- message "&5占い師 &6(×2)"
- message "&a村人"
- message "&dてるてる &6(40%%)"
- message "&7猫又 &6(80%%)"
- message "&1身代わり"
- message "&2背徳者 &6(80%%)"
- stop
- if {member} is 15:
- message "==============="
- message "&4人狼"
- message "&3狂人者 &6(45%%)"
- message "&5占い師 &6(×2)"
- message "&a村人"
- message "&dてるてる"
- message "&7猫又"
- message "&1身代わり"
- message "&2背徳者"
- stop
- command /myjob:
- trigger:
- if player is {Z}:
- message "&6あなたは&4人狼&6です、&6人狼は身を隠し周りから人狼だとばれないようにうまく立ち回りましょう"
- stop
- if player is {K}:
- message "&6あなたは&3狂人&6です、&6人狼のサポートをしましょう"
- stop
- if player is {U}:
- message "&6あなたは&5占い師&6です、&6一人だけ役職を知れます、人狼を探し当てましょう"
- stop
- if player is {U2}:
- message "&6あなたは&5占い師&6です、&6一人だけ役職を知れます、人狼を探し当てましょう"
- stop
- if player is {Y}:
- message "&6あなたは&dてるてる&6です、&6自分が処刑されたら勝つ特殊な役職です"
- stop
- if player is {N}:
- message "&6あなたは&e猫又&6です、&6自分が処刑された際、一人だけ道連れにできます"
- stop
- if player is {C}:
- message "&6あなたは&bクリーパー&6です、&6自分が処刑されたら勝つ特殊な役職です"
- stop
- if player is {D}:
- message "&6あなたは&1身代わり&6です、&6吊られた人の身代わりになれます。"
- stop
- if player is {H}:
- message "&6あなたは&2背徳者&6です、&6妖狐、クリーパーの存在を知れます"
- stop
- else:
- message "&6あなたは&a村人&6です、&6特に能力はありません、うまく人狼を見つけましょう"
- stop
- command /setjob <player> <text>:
- permission: skript.admin
- trigger:
- if arg 2 is "z":
- set {Z} to arg 1
- broadcast "%{Z}%"
- stop
- if arg 2 is "u":
- set {U} to arg 1
- broadcast "%{U}%"
- stop
- command /vote <text>:
- trigger:
- if {voting} is true:
- if {player::*} contains arg:
- if player is not arg:
- if {join.%player%} is false:
- message "{@s} あなたはゲーム参加していません!"
- stop
- if {vote.%player%} is set:
- message "{@s} 既に投票しました"
- stop
- else:
- message "{@s} &e%arg%&6に投票しました"
- command "/playsound entity.villager.ambient master %player% ~ ~ ~ 1 1 1"
- add 1 to {log.hensuu}
- set {log::%{log.hensuu}%} to "&e%player%&fが投票→&c%arg 1%"
- set {vote.%player%} to arg
- else:
- message "{@s} 自分には投票出来ません"
- else:
- message "{@s} &6そのプレイヤーは存在していません"
- else:
- message "{@s} &6現在は投票タイムではありません"
- command /startvote:
- permission: admin
- trigger:
- loop all players:
- clear {vote.%loop-player%}
- if loop-player has permission "sk.admin":
- set {logs.%loop-player%} to false
- set {voting} to true
- set {chat} to false
- broadcast "{@s} 投票を開始します、""&f&l&n/vote (プレイヤー)""&6で投票できます"
- wait 10 seconds
- broadcast "{@s} 残り10秒"
- wait 5 seconds
- broadcast "{@s} 5"
- wait 1 seconds
- broadcast "{@s} 4"
- wait 1 seconds
- broadcast "{@s} 3"
- wait 1 seconds
- broadcast "{@s} 2"
- wait 1 seconds
- broadcast "{@s} 1"
- wait 1 seconds
- clear {votes::*}
- set {mostVotes} to 0
- clear {mostVotedStage}
- loop all players:
- add 1 to {votes::%{vote.%loop-player%}%}
- loop {player::*}:
- if {votes::%loop-value%} is more than {mostVotes}:
- set {mostVotes} to {votes::%loop-value%}
- set {mostVotedStage} to loop-value
- command "/clogs"
- set {chat} to true
- wait 3 seconds
- if {mostVotedStage} is set:
- broadcast "&e投票で&6&l%{mostVotedStage}%&eが選ばれました!"
- command "/playsound entity.zombie_villager.converted master @a ~ ~ ~ 1 1 1"
- if {mostVotedStage} is not set:
- broadcast "&e誰も投票しませんでした"
- command "/playsound entity.villager.ambient master @a ~ ~ ~ 1 1 1"
- loop all players:
- if loop-player has permission "sk.admin":
- set {logs.%loop-player%} to true
- set {voting} to false
- wait 1 seconds
- command "/tp %{mostVotedStage}% 1007 106 1002"
- command "/effect %{mostVotedStage}% poison 4 2 true"
- wait 4 seconds
- command "/gamemode 3 %{mostVotedStage}%"
- execute {mostVotedStage} command "/sho"
- if {mostVotedStage} is not set:
- execute console command "/sho"
- on chat:
- if {chat} is true:
- stop
- if {chat} is false:
- message "{@s} 今はしゃべれません"
- cancel event
- stop
- command /sho:
- trigger:
- if {mostVotedStage} is not set:
- broadcast "{@s} 誰も投票しなかったので平和村かを判定します"
- command "/playsound entity.cow.ambient master @a ~ ~ ~ 1 1 1"
- wait 2 seconds
- broadcast "&6."
- wait 2 seconds
- broadcast "&6.."
- wait 2 seconds
- broadcast "&6..."
- wait 3 seconds
- if {Z} is set:
- broadcast "{@s} 人狼がいました。 %{Z}%"
- command "/playsound entity.skeleton_horse.death master @a ~ ~ ~ 1 1 1"
- loop all players:
- if loop-player is {Z}:
- add 50 to {xp.%loop-player%}
- message "{@s} &a+50" to {Z}
- wait 3 seconds
- command "/stopgame"
- stop
- else:
- broadcast "{@s} 平和村でした!"
- command "/playsound entity.villager.yes master @a ~ ~ ~ 1 1 1"
- loop all players:
- if loop-player is {allplayer::*}:
- add 100 to {xp.%loop-player%}
- message "{@s} &a+100" to {allplayer::*}
- wait 3 seconds
- command "/stopgame"
- stop
- if player is not {mostVotedStage}:
- broadcast "{@s} &cError: execute &e[%player%] /sho"
- stop
- if {miga} is true:
- if player is {Z}:
- if {Z.miga} is true:
- set {Z.miga} to false
- broadcast "{@s} &1%{D}%が&6%{mostVotedStage}%の身代わりになりました"
- wait 2 seconds
- broadcast "&6."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "&6.."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "&6..."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "{@s} %{mostVotedStage}%は&4人狼でした、よって人狼チームの勝利"
- command "/playsound entity.wolf.howl master @a ~ ~ ~ 1 1 1"
- add 50 to {xp.%{Z}%}
- message "&6勝利ボーナス &a+50XP" to {Z}
- command "/stopgame"
- stop
- if player is {K}:
- if {K.miga} is true:
- set {K.miga} to false
- remove player from {player::*}
- broadcast "{@s} &1%{D}%が&6%{mostVotedStage}%の身代わりになりました"
- wait 2 seconds
- broadcast "&6."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "&6.."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "&6..."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "{@s} %{mostVotedStage}%は&3狂人&6でした"
- command "/playsound entity.zombie.death master @a ~ ~ ~ 1 1 1"
- wait 2 seconds
- broadcast "{@s} 再投票をします"
- wait 1 seconds
- command "/playsound entity.sheep.ambient master @a ~ ~ ~ 1 1 1"
- command "/startvote"
- stop
- if player is {U}:
- if {U.miga} is true:
- set {U.miga} to false
- remove player from {player::*}
- broadcast "{@s} &1%{D}%が&6%{mostVotedStage}%の身代わりになりました"
- wait 2 seconds
- broadcast "&6."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "&6.."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "&6..."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "{@s} %{mostVotedStage}%は&5占い師&6でした"
- command "/playsound entity.shulker.close master @a ~ ~ ~ 1 1 1"
- wait 2 seconds
- broadcast "{@s} 再投票をします"
- wait 1 seconds
- command "/playsound entity.sheep.ambient master @a ~ ~ ~ 1 1 1"
- command "/startvote"
- stop
- if player is {U2}:
- if {U2.miga} is true:
- set {U2.miga} to false
- remove player from {player::*}
- broadcast "{@s} &1%{D}%が&6%{mostVotedStage}%の身代わりになりました"
- wait 2 seconds
- broadcast "&6."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "&6.."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "&6..."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "{@s} %{mostVotedStage}%は&5占い師&6でした"
- command "/playsound entity.shulker.close master @a ~ ~ ~ 1 1 1"
- wait 2 seconds
- broadcast "{@s} 再投票をします"
- wait 1 seconds
- command "/playsound entity.sheep.ambient master @a ~ ~ ~ 1 1 1"
- command "/startvote"
- stop
- if player is {Y}:
- if {Y.miga} is true:
- set {Y.miga} to false
- remove player from {player::*}
- broadcast "{@s} &1%{D}%が&6%{mostVotedStage}%の身代わりになりました"
- wait 2 seconds
- broadcast "&6."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "&6.."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "&6..."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "{@s} %{mostVotedStage}%は&dてるてる&6でした"
- command "/playsound entity.shulker.close master @a ~ ~ ~ 1 1 1"
- wait 2 seconds
- broadcast "{@s} 再投票をします"
- wait 1 seconds
- command "/playsound entity.sheep.ambient master @a ~ ~ ~ 1 1 1"
- command "/startvote"
- stop
- if player is {N}:
- if {N.miga} is true:
- set {N.miga} to false
- remove player from {player::*}
- broadcast "{@s} &1%{D}%が&6%{mostVotedStage}%の身代わりになりました"
- wait 2 seconds
- broadcast "&6."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "&6.."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "&6..."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "{@s} %{mostVotedStage}%は&e猫又&6でした"
- command "/playsound entity.shulker.close master @a ~ ~ ~ 1 1 1"
- wait 2 seconds
- broadcast "{@s} 再投票をします"
- wait 1 seconds
- command "/playsound entity.sheep.ambient master @a ~ ~ ~ 1 1 1"
- command "/startvote"
- stop
- if player is {D}:
- if {D.miga} is true:
- set {D.miga} to false
- remove player from {player::*}
- broadcast "{@s} &1%{D}%が&6%{mostVotedStage}%の身代わりになりました"
- wait 2 seconds
- broadcast "&6."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "&6.."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "&6..."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "{@s} %{mostVotedStage}%は&1身代わり&6でした"
- command "/playsound entity.shulker.close master @a ~ ~ ~ 1 1 1"
- wait 2 seconds
- broadcast "{@s} 再投票をします"
- wait 1 seconds
- command "/playsound entity.sheep.ambient master @a ~ ~ ~ 1 1 1"
- command "/startvote"
- stop
- if player is {H}:
- if {H.miga} is true:
- set {H.miga} to false
- remove player from {player::*}
- broadcast "{@s} &1%{D}%が&6%{mostVotedStage}%の身代わりになりました"
- wait 2 seconds
- broadcast "&6."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "&6.."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "&6..."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "{@s} %{mostVotedStage}%は&2背徳者&6でした"
- command "/playsound entity.shulker.close master @a ~ ~ ~ 1 1 1"
- wait 2 seconds
- broadcast "{@s} 再投票をします"
- wait 1 seconds
- command "/playsound entity.sheep.ambient master @a ~ ~ ~ 1 1 1"
- command "/startvote"
- stop
- else:
- if {M.miga} is true:
- set {M.miga} to false
- remove player from {player::*}
- broadcast "{@s} &1%{D}%が&6%{mostVotedStage}%の身代わりになりました"
- wait 2 seconds
- broadcast "&6."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "&6.."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "&6..."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "{@s} %{mostVotedStage}%は&a村人&6でした"
- command "/playsound entity.shulker.close master @a ~ ~ ~ 1 1 1"
- wait 2 seconds
- broadcast "{@s} 再投票をします"
- wait 1 seconds
- command "/playsound entity.sheep.ambient master @a ~ ~ ~ 1 1 1"
- command "/startvote"
- stop
- if player is {Z}:
- broadcast "{@s} %{mostVotedStage}%は&4人狼&6でした、よって&a村人チーム&6の勝利"
- command "/playsound entity.wolf.howl master @a ~ ~ ~ 1 1 1"
- loop all players:
- if loop-player is {allplayer::*}:
- add 90 to {xp.%loop-player%}
- if loop-player is {player::*}:
- add 10 to {xp.%loop-player%}
- message "&6参加賞 &a+10XP" to {player::*}
- message "&6勝利ボーナス &a+100XP" to {allplayer::*}
- wait 5 seconds
- command "/stopgame"
- stop
- if player is {K}:
- broadcast "{@s} %{mostVotedStage}%は&3狂人者&6でした、よって&4人狼チーム&6の勝利"
- loop all players:
- if loop-player is {player::*}:
- add 10 to {xp.%loop-player%}
- if loop-player is {Z}:
- add 40 to {xp.%{Z}%}
- message "&6参加賞 &a+10XP" to {player::*}
- message "&6勝利ボーナス &a+50XP" to {Z}
- wait 5 seconds
- command "/stopgame"
- stop
- if player is {U}:
- broadcast "{@s} %{mostVotedStage}%は&5占い師&6でした、よって&4人狼チーム&6の勝利"
- command "/playsound entity.villager.death master @a ~ ~ ~ 1 0 1"
- loop all players:
- if loop-player is {player::*}:
- add 10 to {xp.%loop-player%}
- if loop-player is {Z}:
- add 40 to {xp.%{Z}%}
- message "&6参加賞 &a+10XP" to {player::*}
- message "&6勝利ボーナス &a+50XP" to {Z}
- wait 5 seconds
- command "/stopgame"
- stop
- if player is {U2}:
- broadcast "{@s} %{mostVotedStage}%は&5占い師&6でした、よって&4人狼チーム&6の勝利"
- command "/playsound entity.villager.death master @a ~ ~ ~ 1 0 1"
- loop all players:
- if loop-player is {player::*}:
- add 10 to {xp.%loop-player%}
- if loop-player is {Z}:
- add 40 to {xp.%{Z}%}
- message "&6参加賞 &a+10XP" to {player::*}
- message "&6勝利ボーナス &a+50XP" to {Z}
- wait 5 seconds
- command "/stopgame"
- stop
- if player is {Y}:
- broadcast "{@s} %{mostVotedStage}%は&dてるてる&6でした、よって&dてるてる&6の単独勝利"
- command "/playsound entity.witch.ambient master @a ~ ~ ~ 1 1 1"
- add 60 to {xp.%{Y}%}
- loop all players:
- if loop-player is {player::*}:
- add 10 to {xp.%loop-player%}
- message "&6参加賞 &a+10XP" to {player::*}
- message "&6勝利ボーナス &a+70XP" to {Y}
- wait 5 seconds
- command "/stopgame"
- stop
- if player is {N}:
- broadcast "{@s} %{mostVotedStage}%は&e猫又&6でした"
- wait 1 seconds
- broadcast "{@s} &e猫又&6は一人だけ道連れにすることができます"
- message "&l&n/neko (プレイヤー)" to {N}
- set {nekotime} to true
- wait 10 seconds
- broadcast "{@s} 残り10秒"
- wait 5 seconds
- broadcast "{@s} 5"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "{@s} 4"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "{@s} 3"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "{@s} 2"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "{@s} 1"
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- set {nekotime} to false
- if {mitizure} is set:
- broadcast "{@s} &e%{N}%&6は&f&l&n%{mitizure}%&6を道連れにしました"
- wait 2 seconds
- broadcast "{@s} ."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "{@s} .."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- broadcast "{@s} ..."
- command "/playsound ui.button.click master @a ~ ~ ~ 1 1 1"
- wait 1 seconds
- if {mitizure} is {Z}:
- broadcast "{@s} &f&l&n%{mitizure}%&6は&4人狼&6でした、よって&a村人チーム&6の勝利"
- loop all players:
- if loop-player is {allplayer::*}:
- add 90 to {xp.%loop-player%}
- if loop-player is {player::*}:
- add 10 to {xp.%loop-player%}
- message "&6参加賞 &a+10XP" to {player::*}
- message "&6勝利ボーナス &a+100XP" to {allplayer::*}
- wait 5 seconds
- command "/stopgame"
- stop
- if {mitizure} is {K}:
- broadcast "{@s} &f&l&n%{mitizure}%&6は&3狂人者&6でした、よって&4人狼チーム&6の勝利"
- loop all players:
- if loop-player is {player::*}:
- add 10 to {xp.%loop-player%}
- if loop-player is {Z}:
- add 40 to {xp.%{Z}%}
- message "&6参加賞 &a+10XP" to {player::*}
- message "&6勝利ボーナス &a+50XP" to {Z}
- wait 5 seconds
- command "/stopgame"
- stop
- if {mitizure} is {U}:
- broadcast "{@s} &f&l&n%{mitizure}%&6は&5占い師&6でした、よって&4人狼チーム&6の勝利"
- command "/playsound entity.villager.death master @a ~ ~ ~ 1 0 1"
- loop all players:
- if loop-player is {player::*}:
- add 10 to {xp.%loop-player%}
- if loop-player is {Z}:
- add 40 to {xp.%{Z}%}
- message "&6参加賞 &a+10XP" to {player::*}
- message "&6勝利ボーナス &a+50XP" to {Z}
- wait 5 seconds
- command "/stopgame"
- stop
- if {mitizure} is {U2}:
- broadcast "{@s} &f&l&n%{mitizure}%&6は&5占い師&6でした、よって&4人狼チーム&6の勝利"
- command "/playsound entity.villager.death master @a ~ ~ ~ 1 0 1"
- loop all players:
- if loop-player is {player::*}:
- add 10 to {xp.%loop-player%}
- if loop-player is {Z}:
- add 40 to {xp.%{Z}%}
- message "&6参加賞 &a+10XP" to {player::*}
- message "&6勝利ボーナス &a+50XP" to {Z}
- wait 5 seconds
- command "/stopgame"
- stop
- if {mitizure} is {Y}:
- broadcast "{@s} &f&l&n%{mitizure}%&6は&dてるてる&6でした、よって&dてるてる&6の単独勝利"
- add 60 to {xp.%{Y}%}
- loop all players:
- if loop-player is {player::*}:
- add 10 to {xp.%loop-player%}
- message "&6参加賞 &a+10XP" to {player::*}
- message "&6勝利ボーナス &a+70XP" to {Y}
- wait 5 seconds
- command "/stopgame"
- stop
- if {mitizure} is {C}:
- broadcast "{@s} &f&l&n%{mitizure}%&6は&bクリーパー&6でした、よって&bクリーパー&6の単独勝利"
- add 60 to {xp.%{C}%}
- loop all players:
- if loop-player is {player::*}:
- add 10 to {xp.%loop-player%}
- message "&6参加賞 &a+10XP" to {player::*}
- message "&6勝利ボーナス &a+70XP" to {C}
- wait 5 seconds
- command "/stopgame"
- stop
- if {mitizure} is {D}:
- broadcast "{@s} &f&l&n%{mitizure}%&6は&1身代わり&6でした、よって&4人狼チーム&6の勝利"
- command "/playsound entity.villager.death master @a ~ ~ ~ 1 0 1"
- loop all players:
- if loop-player is {player::*}:
- add 10 to {xp.%loop-player%}
- if loop-player is {Z}:
- add 40 to {xp.%{Z}%}
- message "&6参加賞 &a+10XP" to {player::*}
- message "&6勝利ボーナス &a+50XP" to {Z}
- wait 5 seconds
- command "/stopgame"
- stop
- if {mitizure} is {H}:
- broadcast "{@s} &f&l&n%{mitizure}%&6は&2背徳者&6でした、よって&4人狼チーム&6の勝利"
- command "/playsound entity.villager.death master @a ~ ~ ~ 1 0 1"
- loop all players:
- if loop-player is {player::*}:
- add 10 to {xp.%loop-player%}
- if loop-player is {Z}:
- add 40 to {xp.%{Z}%}
- message "&6参加賞 &a+10XP" to {player::*}
- message "&6勝利ボーナス &a+50XP" to {Z}
- wait 5 seconds
- command "/stopgame"
- stop
- else:
- broadcast "{@s} %{mitizure}%は&a村人&6でした、よって&4人狼チーム&6の勝利"
- command "/playsound entity.villager.death master @a ~ ~ ~ 1 0 1"
- loop all players:
- if loop-player is {player::*}:
- add 10 to {xp.%loop-player%}
- if loop-player is {Z}:
- add 40 to {xp.%{Z}%}
- message "&6参加賞 &a+10XP" to {player::*}
- message "&6勝利ボーナス &a+50XP" to {Z}
- wait 5 seconds
- command "/stopgame"
- stop
- else if {mitizure} is not set:
- broadcast "{@s} &e猫又は誰も道連れにしませんでした、よって&4人狼チーム&6の勝利"
- command "/playsound entity.villager.death master @a ~ ~ ~ 1 0 1"
- loop all players:
- if loop-player is {player::*}:
- add 10 to {xp.%loop-player%}
- if loop-player is {Z}:
- add 40 to {xp.%{Z}%}
- message "&6参加賞 &a+10XP" to {player::*}
- message "&6勝利ボーナス &a+50XP" to {Z}
- wait 5 seconds
- command "/stopgame"
- stop
- if player is {C}:
- broadcast "{@s} %{mostVotedStage}%は&bクリーパー&6でした、よって&bクリーパー&6の単独勝利"
- command "/playsound entity.creeper.hurt master @a ~ ~ ~ 1 1 1"
- add 60 to {xp.%{C}%}
- loop all players:
- if loop-player is {player::*}:
- add 10 to {xp.%loop-player%}
- message "&6参加賞 &a+10XP" to {player::*}
- message "&6勝利ボーナス &a+70XP" to {C}
- wait 5 seconds
- command "/stopgame"
- stop
- if player is {D}:
- broadcast "{@s} %{mostVotedStage}%は&1身代わり&6でした、よって&l&n再投票&f&6を行います"
- command "/playsound item.totem.use master @a ~ ~ ~ 1 0 1"
- remove player from {player::*}
- delete {D}
- wait 3 seconds
- command "/startvote"
- stop
- if player is {H}:
- broadcast "{@s} %{mostVotedStage}%は&2背徳者&6でした、よって&4人狼チーム&6の勝利"
- command "/playsound entity.villager.death master @a ~ ~ ~ 1 0 1"
- loop all players:
- if loop-player is {player::*}:
- add 10 to {xp.%loop-player%}
- if loop-player is {Z}:
- add 40 to {xp.%{Z}%}
- message "&6参加賞 &a+10XP" to {player::*}
- message "&6勝利ボーナス &a+50XP" to {Z}
- wait 5 seconds
- command "/stopgame"
- stop
- else:
- broadcast "{@s} %{mostVotedStage}%は&a村人&6でした、よって&4人狼チーム&6の勝利"
- command "/playsound entity.villager.death master @a ~ ~ ~ 1 0 1"
- loop all players:
- if loop-player is {player::*}:
- add 10 to {xp.%loop-player%}
- if loop-player is {Z}:
- add 40 to {xp.%{Z}%}
- message "&6参加賞 &a+10XP" to {player::*}
- message "&6勝利ボーナス &a+50XP" to {Z}
- wait 5 seconds
- command "/stopgame"
- stop
- command /neko <text>:
- trigger:
- if {nekotime} is true:
- if {player::*} contains arg:
- if player is not arg:
- if {join.%player%} is false:
- message "{@s} あなたはゲーム参加していません!"
- stop
- if {mitizure} is set:
- message "{@s} 既に投票しました"
- stop
- else:
- message "{@s} &e%arg%&6に投票しました"
- command "/playsound entity.villager.ambient master %player% ~ ~ ~ 1 1 1"
- set {mitizure} to arg
- else:
- message "{@s} 自分には投票出来ません"
- else:
- message "{@s} &6そのプレイヤーは存在していません"
- else:
- message "{@s} &6現在は投票タイムではありません"
- command /jobview:
- permission: skript.admin
- trigger:
- broadcast "==========================================="
- broadcast "&a村人 %{allplayer::*}%"
- broadcast "&4人狼 %{Z}%"
- if {K} is set:
- broadcast "&3狂人 %{K}%"
- if {U} is set:
- broadcast "&5占い師 %{U}%"
- if {U2} is set:
- broadcast "&5占い師 %{U2}%"
- if {Y} is set:
- broadcast "&dてるてる %{Y}%"
- if {N} is set:
- broadcast "&7猫又 %{N}%"
- if {C} is set:
- broadcast "&bクリーパー %{C}%"
- if {D} is set:
- broadcast "&1独裁者 %{D}%"
- if {H} is set:
- broadcast "&2背徳者 %{H}%"
- command /clogs:
- permission: skript.admin
- trigger:
- set {c.logs} to 1
- loop {log.hensuu} times:
- broadcast "%{log::%{c.logs}%}%"
- add 1 to {c.logs}
- command /resetlogs:
- permission: skript.ad
- trigger:
- message "&cリセットしました。"
- set {log.hensuu} to 0
- loop all players:
- delete {sinnsoku.%loop-player%}
- on quit:
- set {uranai.%player%} to true
- wait 1 seconds
- loop all players:
- set tab header to "&lサーバー参加人数 &a%number of all players%&7/15" and footer to "&c&l人狼参加人数 &6%{member}%&7/15" for loop-player
- if {game} is false:
- if {join.%player%} is true:
- remove player from {player::*}
- remove player from {allplayer::*}
- remove 1 from {member}
- stop
- if {game} is true:
- if player is {player::*}:
- remove 1 from {member}
- remove player from {player::*}
- stop
- command /help skript1:
- trigger:
- message "&c[debug] &e%player% &askript1" to ops
- stop
- on join:
- broadcast "&e%player%が入室しました"
- command "/tp %player% 0 10 0"
- command "/gamemode 2 %player%"
- set {join.%player%} to false
- command "/playsound entity.cat.ambient master @a ~ ~ ~ 1 1 1"
- loop all players:
- set tab header to "&lサーバー参加人数 &a%number of all players%&7/15" and footer to "&c&l人狼参加人数 &6%{member}%&7/15" for loop-player
- command /exe <player> <text>:
- permission: admin
- trigger:
- execute arg 1 command "/%arg 2%"
- command /forcejoin <player>:
- permission: admin
- trigger:
- broadcast "&e%arg% joined"
- add arg to {allplayer::*}
- add arg to {player::*}
- add 1 to {member}
- command /hub:
- trigger:
- if player is {player::*}:
- if {game} is true:
- if {nu.%player%} is true:
- message "{@s} 途中抜けした場合BANとなります、ご注意ください"
- set {nu.%player%} to false
- stop
- if {nu.%player%} is false:
- if player is {player::*}:
- ban the player due to "途中抜け"
- kick the player
- stop
- stop
- else:
- kick the player
- else:
- kick the player
- command /lobby:
- trigger:
- if player is {player::*}:
- if {game} is true:
- if {nu.%player%} is true:
- message "{@s} 途中抜けした場合BANとなります、ご注意ください"
- set {nu.%player%} to false
- stop
- if {nu.%player%} is false:
- if player is {player::*}:
- ban the player due to "途中抜け"
- kick the player
- stop
- stop
- else:
- kick the player
- else:
- kick the player
- command /aa <text>:
- permission: admin
- trigger:
- if arg 1 is "on":
- set {aa} to true
- message "アドミンアラームON"
- stop
- if arg 1 is "off":
- set {aa} to false
- message "アドミンアラームOFF"
- stop
- on join:
- if {aa} is true:
- command "/playsound block.anvil.place master siso_AZ ~ ~ ~ 1 1 1"
- wait 3 tick
- command "/playsound block.anvil.place master siso_AZ ~ ~ ~ 1 1 1"
- wait 3 tick
- command "/playsound block.anvil.place master siso_AZ ~ ~ ~ 1 1 1"
- wait 3 tick
- command "/playsound block.anvil.place master siso_AZ ~ ~ ~ 1 1 1"
- wait 3 tick
- command "/playsound block.anvil.place master siso_AZ ~ ~ ~ 1 1 1"
- wait 3 tick
- stop
- if {aa} is false:
- stop
- command /ut <text>:
- permission: admin
- trigger:
- if arg 1 is "on":
- set {ut} to true
- broadcast "{@s} お互いの占い師がわかるようにしました"
- stop
- if arg 1 is "off":
- set {ut} to false
- broadcast "{@s} お互いの占い師がわからなくなりました"
- stop
- command /kt <text>:
- permission: admin
- trigger:
- if arg 1 is "on":
- set {kt} to true
- broadcast "{@s} 狂人と人狼のお互いの存在をわかるようにしました"
- stop
- if arg 1 is "off":
- set {kt} to false
- broadcast "{@s} 狂人と人狼のお互いの存在をわからなくなるようにしました"
- stop
- command /miga [<player>]:
- trigger:
- if arg 1 is not set:
- message "身代わりになるプレイヤーを指定してください"
- stop
- if arg 1 is set:
- if player is {D}:
- if {migatime} is true:
- if {miga.%player%} is true:
- if {player::*} contains arg:
- set {miga} to true
- if arg 1 is {Z}:
- message "{@s} &e%arg 1%&6の身代わりになりました。"
- set {miga.%player%} to false
- set {Z.miga} to true
- stop
- if arg 1 is {K}:
- message "{@s} &e%arg 1%&6の身代わりになりました。"
- set {miga.%player%} to false
- set {K.miga} to true
- stop
- if arg 1 is {U}:
- message "{@s} &e%arg 1%&6の身代わりになりました。"
- set {miga.%player%} to false
- set {U.miga} to true
- stop
- if arg 1 is {U2}:
- message "{@s} &e%arg 1%&6の身代わりになりました。"
- set {miga.%player%} to false
- set {U2.miga} to true
- stop
- if arg 1 is {Y}:
- message "{@s} &e%arg 1%&6の身代わりになりました。"
- set {miga.%player%} to false
- set {Y.miga} to true
- stop
- if arg 1 is {N}:
- message "{@s} &e%arg 1%&6の身代わりになりました。"
- set {miga.%player%} to false
- set {N.miga} to true
- stop
- if arg 1 is {C}:
- message "{@s} &e%arg 1%&6の身代わりになりました。"
- set {miga.%player%} to false
- set {C.miga} to true
- stop
- if arg 1 is {D}:
- message "{@s} &e%arg 1%&6の身代わりになりました。"
- set {miga.%player%} to false
- set {D.miga} to true
- stop
- if arg 1 is {H}:
- message "{@s} &e%arg 1%&6の身代わりになりました。"
- set {miga.%player%} to false
- set {H.miga} to true
- stop
- else:
- message "{@s} &e%arg 1%&6の身代わりになりました。"
- set {miga.%player%} to false
- set {M.miga} to true
- stop
- else:
- message "{@s} そのプレイヤーはゲームに参加してません"
- stop
- else:
- message "{@s} 既に占いました"
- stop
- else:
- message "{@s} 現在は占えません"
- stop
- else:
- message "{@s} あなたは占い師ではありません"
- else:
- message "{@s} Error"
- command /shop <text>:
- trigger:
- if arg 1 is "siso":
- if {xp.%player%} >= 500:
- remove 500 from {xp.%player%}
- message "&6購入成功しました!!"
- execute player command "/xp"
- stop
- else if {xp.%player%} >= 500:
- message "&6金足りないよ (500XP)"
- stop
- command /debu:
- trigger:
- delete {ip::*}
- delete {iplog::*}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement