Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ---------------- #
- # 役職IDリスト #
- # murabito #
- # kyouzinn #
- # jinnrou #
- # yogennsya #
- # reibaisi #
- # kariudo #
- # wanasi #
- # youko #
- # kyousinnsya #
- # sasayakukyouzinn #
- # nekomata #
- # kuroneko #
- # kennzya #
- # youzyutusi #
- # ---------------- #
- #---------#
- # options #
- #---------#
- options:
- j: &d[マイクラ人狼]
- g: &9[GAME]
- qm: &b&l[QuickMath]
- a: &e&l[Attention]
- #-----------#
- # variables #
- #-----------#
- variables:
- {arrowup} = "MHF_ArrowUp"
- {arrowdown} = "MHF_ArrowDown"
- {arrowright} = "MHF_ArrowDown"
- {arrowleft} = "MHF_ArrowDown"
- #----------------#
- # yakusyoku edit #
- #----------------#
- on inventory click:
- if name of player's current inventory contains "edit":
- cancel event
- command /arrow:
- trigger:
- set {arrowup} to "MHF_ArrowUp"
- set {arrowdown} to "MHF_ArrowDown"
- set {arrowleft} to "MHF_ArrowDown"
- set {arrowright} to "MHF_ArrowDown"
- command /kitediter [<integer>] [<integer>]:
- trigger:
- if player is not an op:
- send "{@j} &c権限がありません。"
- else:
- if arg 1 is between 2 and 20:
- if arg 2 is between 1 and 100:
- set {arrowup} to {arrowup} parsed as offline player
- set {arrowdown} to {arrowdown} parsed as offline player
- set {arrowleft} to {arrowleft} parsed as offline player
- set {arrowright} to {arrowright} parsed as offline player
- if {kit-%arg 1%-%arg 2%-total} is not set:
- set {kit-%arg 1%-%arg 2%-remaining} to arg 1
- open chest with 5 rows named "Edit menu / ゲームの人数: %arg 1%" to player
- set slot 0 of player's current inventory to white stained glass pane
- set slot 8 of player's current inventory to white stained glass pane
- set slot 9 of player's current inventory to white stained glass pane
- set slot 17 of player's current inventory to white stained glass pane
- set slot 18 of player's current inventory to white stained glass pane
- set slot 26 of player's current inventory to white stained glass pane
- set slot 27 of player's current inventory to white stained glass pane
- set slot 35 of player's current inventory to white stained glass pane
- set slot 36 of player's current inventory to white stained glass pane
- set slot 44 of player's current inventory to white stained glass pane
- if {kit-%arg 1%-%arg 2%-remaining} is arg 1:
- set slot 1 of player's current inventory to black stained glass pane
- set slot 2 of player's current inventory to black stained glass pane
- set slot 3 of player's current inventory to black stained glass pane
- set slot 5 of player's current inventory to black stained glass pane
- set slot 6 of player's current inventory to black stained glass pane
- set slot 7 of player's current inventory to black stained glass pane
- set slot 37 of player's current inventory to black stained glass pane
- set slot 38 of player's current inventory to black stained glass pane
- set slot 39 of player's current inventory to black stained glass pane
- set slot 40 of player's current inventory to black stained glass pane
- set slot 41 of player's current inventory to black stained glass pane
- set slot 42 of player's current inventory to black stained glass pane
- set slot 43 of player's current inventory to black stained glass pane
- if {kit-%arg 1%-%arg 2%-remaining} is 0:
- set slot 1 of player's current inventory to lime stained glass pane
- set slot 2 of player's current inventory to lime stained glass pane
- set slot 3 of player's current inventory to lime stained glass pane
- set slot 5 of player's current inventory to lime stained glass pane
- set slot 6 of player's current inventory to lime stained glass pane
- set slot 7 of player's current inventory to lime stained glass pane
- set slot 37 of player's current inventory to lime stained glass pane
- set slot 38 of player's current inventory to lime stained glass pane
- set slot 39 of player's current inventory to lime stained glass pane
- set slot 40 of player's current inventory to lime stained glass pane
- set slot 41 of player's current inventory to lime stained glass pane
- set slot 42 of player's current inventory to lime stained glass pane
- set slot 43 of player's current inventory to lime stained glass pane
- set {_yes} to arg 1 - 1
- if {kit-%arg 1%-%arg 2%-remaining} is between 1 and {_yes}
- set slot 4 of player's current inventory to book named "&e情報" with lore "&a現在の役職の総数: ?", "&c人狼の人数: ?" and "&a村人陣営の人数: ?"
- set slot 10 of player's current inventory to skull of {arrowup} named "&e一人増やす"
- set slot 11 of player's current inventory to skull of {arrowup} named "&e一人増やす"
- set slot 12 of player's current inventory to skull of {arrowup} named "&e一人増やす"
- set slot 13 of player's current inventory to skull of {arrowup} named "&e一人増やす"
- set slot 14 of player's current inventory to skull of {arrowup} named "&e一人増やす"
- set slot 19 of player's current inventory to lime wool named "&a村人"
- set slot 20 of player's current inventory to red wool named "&c人狼"
- set slot 21 of player's current inventory to blue wool named "&1占い師"
- set slot 22 of player's current inventory to yellow wool named "&e霊媒師"
- set slot 23 of player's current inventory to purple wool named "&5狂人"
- set slot 28 of player's current inventory to skull of {arrowdown} named "&e一人減らす"
- set slot 29 of player's current inventory to skull of {arrowdown} named "&e一人減らす"
- set slot 30 of player's current inventory to skull of {arrowdown} named "&e一人減らす"
- set slot 31 of player's current inventory to skull of {arrowdown} named "&e一人減らす"
- set slot 32 of player's current inventory to skull of {arrowdown} named "&e一人減らす"
- else:
- send "{@j} &c数字は1から100の間である必要があります。"
- else:
- send "{@j} &c数字は2から20の間である必要があります。"
- command /edit [<integer>] [<integer>] [<text>] [<text>]:
- if player is not an op:
- send "{@j} &c権限がありません。"
- else:
- if arg 1 is not set:
- send "{@j} &c/edit <参加人数> <ID> <役職> <add or remove>"
- stop
- if arg 1 is between 2 and 20:
- if arg 2 not set:
- send "{@j} &c/edit %arg 1% <ID> <役職> <add or remove>"
- stop
- if arg 2 is between 1 and 99:
- if arg 3 is not set:
- send "{@j} &c/edit %arg 1% %arg 2% <役職> <add or remove>"
- send "{@j} murabito, kyouzinn, jinnrou, yogennsya, reibaisi, kariudo, wanasi, youko, kyousinnsya, sasayakukyouzinn, nekomata, kuroneko, kennzya or youzyutusi"
- stop
- if arg 3 is "murabito", "kyouzinn", "jinnrou", "yogennsya", "reibaisi", "kariudo", "wanasi", "youko", "kyousinnsya", "sasayakukyouzinn", "nekomata", "kuroneko", "kennzya" or "youzyutusi":
- if arg 4 is not set:
- send "{@j} &c/edit %arg 1% %arg 2% %arg 3% <add or remove>"
- stop
- if arg 4 is "add" or "remove":
- if arg 4 is "add":
- add 1 to {kit-%arg 1%-%arg 2%-%arg 3%}
- if arg 4 is "remove":
- remove 1 from {kit-%arg 1%-%arg 2%-%arg 3%}
- on inventory click:
- if name of current inventory contains "警告履歴":
- cancel event
- on inventory close:
- delete {page.%uuid of player%}
- command /rule:
- trigger:
- open chest with 5 rows named "ルールリスト" to player
- format slot 0 of player with black stained glass pane named " " to be unstealable
- format slot 1 of player with black stained glass pane named " " to be unstealable
- format slot 2 of player with black stained glass pane named " " to be unstealable
- format slot 3 of player with black stained glass pane named " " to be unstealable
- format slot 4 of player with black stained glass pane named " " to be unstealable
- format slot 5 of player with black stained glass pane named " " to be unstealable
- format slot 6 of player with black stained glass pane named " " to be unstealable
- format slot 7 of player with black stained glass pane named " " to be unstealable
- format slot 8 of player with black stained glass pane named " " to be unstealable
- format slot 9 of player with black stained glass pane named " " to be unstealable
- format slot 10 of player with black stained glass pane named " " to be unstealable
- format slot 11 of player with barrier named "&c禁止事項 1" with lore "&e過度な暴言、過度な性的発言" to be unstealable
- format slot 12 of player with barrier named "&c禁止事項 2" with lore "&e過度な煽り行為" to be unstealable
- format slot 13 of player with barrier named "&c禁止事項 3" with lore "&e差別発言" to be unstealable
- format slot 14 of player with barrier named "&c禁止事項 4" with lore "&eチャットのSPAM行為" to be unstealable
- format slot 15 of player with barrier named "&c禁止事項 5" with lore "&e過度なコマンドSPAM" to be unstealable
- format slot 16 of player with black stained glass pane named " " to be unstealable
- format slot 17 of player with black stained glass pane named " " to be unstealable
- format slot 18 of player with black stained glass pane named " " to be unstealable
- format slot 19 of player with black stained glass pane named " " to be unstealable
- format slot 20 of player with barrier named "&c禁止事項 6" with lore "&e性的なスキン、またはMCID" to be unstealable
- format slot 21 of player with barrier named "&c禁止事項 7" with lore "&eゲームの進行を妨害する行為" to be unstealable
- format slot 22 of player with barrier named "&c禁止事項 8" with lore "&eゲーム内での利敵行為" to be unstealable
- format slot 23 of player with barrier named "&c禁止事項 9" with lore "&eForge以外の外部ツールの使用" to be unstealable
- format slot 24 of player with barrier named "&c禁止事項 10" with lore "&e軽量化MODや日本語MOD等、ゲームの有利不利に" and "&e影響を及ぼさないMOD以外の使用" to be unstealable
- format slot 25 of player with black stained glass pane named " " to be unstealable
- format slot 26 of player with black stained glass pane named " " to be unstealable
- format slot 27 of player with black stained glass pane named " " to be unstealable
- format slot 28 of player with black stained glass pane named " " to be unstealable
- format slot 29 of player with barrier named "&c禁止事項 11" with lore "&eあらゆる勧誘" to be unstealable
- format slot 30 of player with barrier named "&c禁止事項 12" with lore "&e有害なURLをチャットに貼る行為" to be unstealable
- format slot 31 of player with barrier named "&c禁止事項 13" with lore "&eブロックグリッチの使用" to be unstealable
- format slot 32 of player with barrier named "&c禁止事項 14" with lore "&e運営の言うことを聞かないこと" to be unstealable
- format slot 33 of player with barrier named "&c禁止事項 15" with lore "&eその他運営が不適切だと判断した行為" to be unstealable
- format slot 34 of player with black stained glass pane named " " to be unstealable
- format slot 35 of player with black stained glass pane named " " to be unstealable
- format slot 36 of player with black stained glass pane named " " to be unstealable
- format slot 37 of player with black stained glass pane named " " to be unstealable
- format slot 38 of player with black stained glass pane named " " to be unstealable
- format slot 39 of player with black stained glass pane named " " to be unstealable
- format slot 41 of player with black stained glass pane named " " to be unstealable
- format slot 41 of player with black stained glass pane named " " to be unstealable
- format slot 42 of player with black stained glass pane named " " to be unstealable
- format slot 43 of player with black stained glass pane named " " to be unstealable
- format slot 44 of player with black stained glass pane named " " to be unstealable
- command /attention [<offline player>] [<integer>] [<text>] [<text>]:
- trigger:
- if arg 1 is not set:
- wait 5 ticks
- set {page.%uuid of player%} to 1
- open chest with 5 rows named "&4%player%の警告履歴" to player
- format slot 0 of player with red stained glass pane named " " to be unstealable
- format slot 1 of player with red stained glass pane named " " to be unstealable
- format slot 2 of player with red stained glass pane named " " to be unstealable
- format slot 3 of player with red stained glass pane named " " to be unstealable
- format slot 4 of player with book named "&e%{page.%uuid of player%}%ページ目" to be unstealable
- format slot 5 of player with red stained glass pane named " " to be unstealable
- format slot 6 of player with red stained glass pane named " " to be unstealable
- format slot 7 of player with red stained glass pane named " " to be unstealable
- format slot 8 of player with red stained glass pane named " " to be unstealable
- format slot 9 of player with red stained glass pane named " " to be unstealable
- format slot 17 of player with red stained glass pane named " " to be unstealable
- format slot 18 of player with red stained glass pane named " " to be unstealable
- format slot 26 of player with red stained glass pane named " " to be unstealable
- format slot 27 of player with red stained glass pane named " " to be unstealable
- format slot 35 of player with red stained glass pane named " " to be unstealable
- format slot 36 of player with red stained glass pane named " " to be unstealable
- format slot 37 of player with red stained glass pane named " " to be unstealable
- format slot 38 of player with red stained glass pane named " " to be unstealable
- format slot 39 of player with red stained glass pane named " " to be unstealable
- format slot 41 of player with red stained glass pane named " " to be unstealable
- format slot 42 of player with red stained glass pane named " " to be unstealable
- format slot 43 of player with red stained glass pane named " " to be unstealable
- format slot 44 of player with red stained glass pane named " " to be unstealable
- format slot 40 of player with skull of player named "&e&l&n%player%" with lore "&cスコア&a: &6%{attention-point.%uuid of player%}%" and "&c警告された回数&a: &6%{attention-count.%uuid of player%}%&c回" to be unstealable
- if {attention-count.%uuid of player%} is higher than 21:
- if {page.%uuid of player%} is higher than 1:
- format slot 36 of player with arrow named "&a前のページへ" to close then run [make player execute "/attention %player% 1"]
- if {attention-count.%uuid of player%} is higher than 42:
- if {page.%uuid of player%} is higher than 2:
- format slot 36 of player with arrow named "&a前のページへ" to close then run [make player execute "/attention %player% 2"]
- if {attention-count.%uuid of player%} is higher than 63:
- if {page.%uuid of player%} is higher than 3:
- format slot 36 of player with arrow named "&a前のページへ" to close then run [make player execute "/attention %player% 3"]
- if {attention-count.%uuid of player%} is higher than 84:
- if {page.%uuid of player%} is higher than 4:
- format slot 36 of player with arrow named "&a前のページへ" to close then run [make player execute "/attention %player% 4"]
- if {attention-count.%uuid of player%} is higher than 105:
- if {page.%uuid of player%} is higher than 5:
- format slot 36 of player with arrow named "&a前のページへ" to close then run [make player execute "/attention %player% 5"]
- if {attention-count.%uuid of player%} is higher than 126:
- if {page.%uuid of player%} is higher than 6:
- format slot 36 of player with arrow named "&a前のページへ" to close then run [make player execute "/attention %player% 6"]
- if {attention-count.%uuid of player%} is 0:
- format slot 22 of player with barrier named " " with lore "&cこのプレイヤーはあらゆる警告を" and "&c受けていません。" to be unstealable
- if {attention-count.%uuid of player%} is higher than 21:
- if {page.%uuid of player%} is higher than 0:
- if {page.%uuid of player%} is 2:
- format slot 44 of player with red stained glass pane named " " to be unstealable
- else:
- format slot 44 of player with arrow named "&a次のページへ" to close then run [make player execute "/attention %player% 2"]
- if {attention-count.%uuid of player%} is higher than 42:
- if {page.%uuid of player%} is higher than 1:
- if {page.%uuid of player%} is 3:
- format slot 44 of player with red stained glass pane named " " to be unstealable
- else:
- format slot 44 of player with arrow named "&a次のページへ" to close then run [make player execute "/attention %player% 3"]
- if {attention-count.%uuid of player%} is higher than 63:
- if {page.%uuid of player%} is higher than 2:
- if {page.%uuid of player%} is 4:
- format slot 44 of player with red stained glass pane named " " to be unstealable
- else:
- format slot 44 of player with arrow named "&a次のページへ" to close then run [make player execute "/attention %player% 4"]
- if {attention-count.%uuid of player%} is higher than 84:
- if {page.%uuid of player%} is higher than 3:
- if {page.%uuid of player%} is 5:
- format slot 44 of player with red stained glass pane named " " to be unstealable
- else:
- format slot 44 of player with arrow named "&a次のページへ" to close then run [make player execute "/attention %player% 5"]
- if {attention-count.%uuid of player%} is higher than 105:
- if {page.%uuid of player%} is higher than 4:
- if {page.%uuid of player%} is 6:
- format slot 44 of player with red stained glass pane named " " to be unstealable
- else:
- format slot 44 of player with arrow named "&a次のページへ" to close then run [make player execute "/attention %player% 6"]
- if {attention-count.%uuid of player%} is higher than 0:
- set {_integer} to 0
- if {attention-count.%uuid of player%} is smaller than 21:
- loop {attention-count.%uuid of player%} times:
- add 1 to {_integer}
- if {_integer} is 1:
- set {_format-slot} to 10
- if {_integer} is 2:
- set {_format-slot} to 11
- if {_integer} is 3:
- set {_format-slot} to 12
- if {_integer} is 4:
- set {_format-slot} to 13
- if {_integer} is 5:
- set {_format-slot} to 14
- if {_integer} is 6:
- set {_format-slot} to 15
- if {_integer} is 7:
- set {_format-slot} to 16
- if {_integer} is 8:
- set {_format-slot} to 19
- if {_integer} is 9:
- set {_format-slot} to 20
- if {_integer} is 10:
- set {_format-slot} to 21
- if {_integer} is 11:
- set {_format-slot} to 22
- if {_integer} is 12:
- set {_format-slot} to 23
- if {_integer} is 13:
- set {_format-slot} to 24
- if {_integer} is 14:
- set {_format-slot} to 25
- if {_integer} is 15:
- set {_format-slot} to 28
- if {_integer} is 16:
- set {_format-slot} to 29
- if {_integer} is 17:
- set {_format-slot} to 30
- if {_integer} is 18:
- set {_format-slot} to 31
- if {_integer} is 19:
- set {_format-slot} to 32
- if {_integer} is 20:
- set {_format-slot} to 33
- if {_integer} is 21:
- set {_format-slot} to 34
- if {attention-log-reason-2-%{_integer}%.%uuid of arg 1%} is not set:
- format slot {_format-slot} of player with paper named "&c%{_integer}%回目の警告" with lore "&c理由&a: &e%{attention-log-reason-1-%{_integer}%.%uuid of player%}%", "&cスコア&a: &6%{attention-log-point-1-%{_integer}%.%uuid of player%}% &e-> &6%{attention-log-point-2-%{_integer}%.%uuid of player%}%" and "&c実行者&a: %{attention-log-executor-%{_integer}%.%uuid of player%}%" to be unstealable
- if {attention-log-reason-2-%{_integer}%.%uuid of arg 1%} is set:
- format slot {_format-slot} of player with paper named "&c%{_integer}%回目の警告" with lore "&c理由&a: &e%{attention-log-reason-1-%{_integer}%.%uuid of player%}%", "&e %{attention-log-reason-2-%{_integer}%.%uuid of player%}%", "&cスコア&a: &6%{attention-log-point-1-%{_integer}%.%uuid of player%}% &e-> &6%{attention-log-point-2-%{_integer}%.%uuid of player%}%" and "&c実行者&a: %{attention-log-executor-%{_integer}%.%uuid of player%}%" to be unstealable
- stop
- else:
- loop 21 times:
- add 1 to {_integer}
- if {_integer} is 1:
- set {_format-slot} to 10
- if {_integer} is 2:
- set {_format-slot} to 11
- if {_integer} is 3:
- set {_format-slot} to 12
- if {_integer} is 4:
- set {_format-slot} to 13
- if {_integer} is 5:
- set {_format-slot} to 14
- if {_integer} is 6:
- set {_format-slot} to 15
- if {_integer} is 7:
- set {_format-slot} to 16
- if {_integer} is 8:
- set {_format-slot} to 19
- if {_integer} is 9:
- set {_format-slot} to 20
- if {_integer} is 10:
- set {_format-slot} to 21
- if {_integer} is 11:
- set {_format-slot} to 22
- if {_integer} is 12:
- set {_format-slot} to 23
- if {_integer} is 13:
- set {_format-slot} to 24
- if {_integer} is 14:
- set {_format-slot} to 25
- if {_integer} is 15:
- set {_format-slot} to 28
- if {_integer} is 16:
- set {_format-slot} to 29
- if {_integer} is 17:
- set {_format-slot} to 30
- if {_integer} is 18:
- set {_format-slot} to 31
- if {_integer} is 19:
- set {_format-slot} to 32
- if {_integer} is 20:
- set {_format-slot} to 33
- if {_integer} is 21:
- set {_format-slot} to 34
- if {attention-log-reason-2-%{_integer}%.%uuid of arg 1%} is not set:
- format slot {_format-slot} of player with paper named "&c%{_integer}%回目の警告" with lore "&c理由&a: &e%{attention-log-reason-1-%{_integer}%.%uuid of player%}%", "&cスコア&a: &6%{attention-log-point-1-%{_integer}%.%uuid of player%}% &e-> &6%{attention-log-point-2-%{_integer}%.%uuid of player%}%" and "&c実行者&a: %{attention-log-executor-%{_integer}%.%uuid of player%}%" to be unstealable
- if {attention-log-reason-2-%{_integer}%.%uuid of arg 1%} is set:
- format slot {_format-slot} of player with paper named "&c%{_integer}%回目の警告" with lore "&c理由&a: &e%{attention-log-reason-1-%{_integer}%.%uuid of player%}%", "&e %{attention-log-reason-2-%{_integer}%.%uuid of player%}%", "&cスコア&a: &6%{attention-log-point-1-%{_integer}%.%uuid of player%}% &e-> &6%{attention-log-point-2-%{_integer}%.%uuid of player%}%" and "&c実行者&a: %{attention-log-executor-%{_integer}%.%uuid of player%}%" to be unstealable
- stop
- if arg 1 is set:
- loop {uuid::*}:
- if loop-value is uuid of arg 1:
- if arg 2 is not set:
- wait 5 ticks
- set {page.%uuid of player%} to 1
- open chest with 5 rows named "&4%arg 1%の警告履歴" to player
- format slot 0 of player with red stained glass pane named " " to be unstealable
- format slot 1 of player with red stained glass pane named " " to be unstealable
- format slot 2 of player with red stained glass pane named " " to be unstealable
- format slot 3 of player with red stained glass pane named " " to be unstealable
- format slot 4 of player with book named "&e%{page.%uuid of player%}%ページ目" to be unstealable
- format slot 5 of player with red stained glass pane named " " to be unstealable
- format slot 6 of player with red stained glass pane named " " to be unstealable
- format slot 7 of player with red stained glass pane named " " to be unstealable
- format slot 8 of player with red stained glass pane named " " to be unstealable
- format slot 9 of player with red stained glass pane named " " to be unstealable
- format slot 17 of player with red stained glass pane named " " to be unstealable
- format slot 18 of player with red stained glass pane named " " to be unstealable
- format slot 26 of player with red stained glass pane named " " to be unstealable
- format slot 27 of player with red stained glass pane named " " to be unstealable
- format slot 35 of player with red stained glass pane named " " to be unstealable
- format slot 36 of player with red stained glass pane named " " to be unstealable
- format slot 37 of player with red stained glass pane named " " to be unstealable
- format slot 38 of player with red stained glass pane named " " to be unstealable
- format slot 39 of player with red stained glass pane named " " to be unstealable
- format slot 41 of player with red stained glass pane named " " to be unstealable
- format slot 42 of player with red stained glass pane named " " to be unstealable
- format slot 43 of player with red stained glass pane named " " to be unstealable
- format slot 44 of player with red stained glass pane named " " to be unstealable
- format slot 40 of player with skull of arg 1 named "&e&l&n%arg 1%" with lore "&cスコア&a: &6%{attention-point.%uuid of arg 1%}%" and "&c警告された回数&a: &6%{attention-count.%uuid of arg 1%}%&c回" to be unstealable
- if {attention-count.%uuid of arg 1%} is higher than 21:
- if {page.%uuid of player%} is higher than 1:
- format slot 36 of player with arrow named "&a前のページへ" to close then run [make player execute "/attention %arg 1% 1"]
- if {attention-count.%uuid of arg 1%} is higher than 42:
- if {page.%uuid of player%} is higher than 2:
- format slot 36 of player with arrow named "&a前のページへ" to close then run [make player execute "/attention %arg 1% 2"]
- if {attention-count.%uuid of arg 1%} is higher than 63:
- if {page.%uuid of player%} is higher than 3:
- format slot 36 of player with arrow named "&a前のページへ" to close then run [make player execute "/attention %arg 1% 3"]
- if {attention-count.%uuid of arg 1%} is higher than 84:
- if {page.%uuid of player%} is higher than 4:
- format slot 36 of player with arrow named "&a前のページへ" to close then run [make player execute "/attention %arg 1% 4"]
- if {attention-count.%uuid of arg 1%} is higher than 105:
- if {page.%uuid of player%} is higher than 5:
- format slot 36 of player with arrow named "&a前のページへ" to close then run [make player execute "/attention %arg 1% 5"]
- if {attention-count.%uuid of arg 1%} is higher than 126:
- if {page.%uuid of player%} is higher than 6:
- format slot 36 of player with arrow named "&a前のページへ" to close then run [make player execute "/attention %arg 1% 6"]
- if {attention-count.%uuid of arg 1%} is higher than 21:
- if {page.%uuid of player%} is higher than 0:
- if {page.%uuid of player%} is 2:
- format slot 44 of player with red stained glass pane named " " to be unstealable
- else:
- format slot 44 of player with arrow named "&a次のページへ" to close then run [make player execute "/attention %arg 1% 2"]
- if {attention-count.%uuid of arg 1%} is higher than 42:
- if {page.%uuid of player%} is higher than 1:
- if {page.%uuid of player%} is 3:
- format slot 44 of player with red stained glass pane named " " to be unstealable
- else:
- format slot 44 of player with arrow named "&a次のページへ" to close then run [make player execute "/attention %arg 1% 3"]
- if {attention-count.%uuid of arg 1%} is higher than 63:
- if {page.%uuid of player%} is higher than 2:
- if {page.%uuid of player%} is 4:
- format slot 44 of player with red stained glass pane named " " to be unstealable
- else:
- format slot 44 of player with arrow named "&a次のページへ" to close then run [make player execute "/attention %arg 1% 4"]
- if {attention-count.%uuid of arg 1%} is higher than 84:
- if {page.%uuid of player%} is higher than 3:
- if {page.%uuid of player%} is 5:
- format slot 44 of player with red stained glass pane named " " to be unstealable
- else:
- format slot 44 of player with arrow named "&a次のページへ" to close then run [make player execute "/attention %arg 1% 5"]
- if {attention-count.%uuid of arg 1%} is higher than 105:
- if {page.%uuid of player%} is higher than 4:
- if {page.%uuid of player%} is 6:
- format slot 44 of player with red stained glass pane named " " to be unstealable
- else:
- format slot 44 of player with arrow named "&a次のページへ" to close then run [make player execute "/attention %arg 1% 6"]
- if {attention-count.%uuid of arg 1%} is 0:
- format slot 22 of player with barrier named " " with lore "&cこのプレイヤーはあらゆる警告を" and "&c受けていません。" to be unstealable
- if {attention-count.%uuid of arg 1%} is higher than 0:
- set {_integer} to 0
- if {attention-count.%uuid of arg 1%} is smaller than 21:
- loop {attention-count.%uuid of arg 1%} times:
- add 1 to {_integer}
- if {_integer} is 1:
- set {_format-slot} to 10
- if {_integer} is 2:
- set {_format-slot} to 11
- if {_integer} is 3:
- set {_format-slot} to 12
- if {_integer} is 4:
- set {_format-slot} to 13
- if {_integer} is 5:
- set {_format-slot} to 14
- if {_integer} is 6:
- set {_format-slot} to 15
- if {_integer} is 7:
- set {_format-slot} to 16
- if {_integer} is 8:
- set {_format-slot} to 19
- if {_integer} is 9:
- set {_format-slot} to 20
- if {_integer} is 10:
- set {_format-slot} to 21
- if {_integer} is 11:
- set {_format-slot} to 22
- if {_integer} is 12:
- set {_format-slot} to 23
- if {_integer} is 13:
- set {_format-slot} to 24
- if {_integer} is 14:
- set {_format-slot} to 25
- if {_integer} is 15:
- set {_format-slot} to 28
- if {_integer} is 16:
- set {_format-slot} to 29
- if {_integer} is 17:
- set {_format-slot} to 30
- if {_integer} is 18:
- set {_format-slot} to 31
- if {_integer} is 19:
- set {_format-slot} to 32
- if {_integer} is 20:
- set {_format-slot} to 33
- if {_integer} is 21:
- set {_format-slot} to 34
- if {attention-log-reason-2-%{_integer}%.%uuid of arg 1%} is not set:
- format slot {_format-slot} of player with paper named "&c%{_integer}%回目の警告" with lore "&c理由&a: &e%{attention-log-reason-1-%{_integer}%.%uuid of arg 1%}%", "&cスコア&a: &6%{attention-log-point-1-%{_integer}%.%uuid of arg 1%}% &e-> &6%{attention-log-point-2-%{_integer}%.%uuid of arg 1%}%" and "&c実行者&a: %{attention-log-executor-%{_integer}%.%uuid of arg 1%}%" to be unstealable
- if {attention-log-reason-2-%{_integer}%.%uuid of arg 1%} is set:
- format slot {_format-slot} of player with paper named "&c%{_integer}%回目の警告" with lore "&c理由&a: &e%{attention-log-reason-1-%{_integer}%.%uuid of arg 1%}%", "&e %{attention-log-reason-2-%{_integer}%.%uuid of arg 1%}%", "&cスコア&a: &6%{attention-log-point-1-%{_integer}%.%uuid of arg 1%}% &e-> &6%{attention-log-point-2-%{_integer}%.%uuid of arg 1%}%" and "&c実行者&a: %{attention-log-executor-%{_integer}%.%uuid of arg 1%}%" to be unstealable
- stop
- else:
- loop 21 times:
- add 1 to {_integer}
- if {_integer} is 1:
- set {_format-slot} to 10
- if {_integer} is 2:
- set {_format-slot} to 11
- if {_integer} is 3:
- set {_format-slot} to 12
- if {_integer} is 4:
- set {_format-slot} to 13
- if {_integer} is 5:
- set {_format-slot} to 14
- if {_integer} is 6:
- set {_format-slot} to 15
- if {_integer} is 7:
- set {_format-slot} to 16
- if {_integer} is 8:
- set {_format-slot} to 19
- if {_integer} is 9:
- set {_format-slot} to 20
- if {_integer} is 10:
- set {_format-slot} to 21
- if {_integer} is 11:
- set {_format-slot} to 22
- if {_integer} is 12:
- set {_format-slot} to 23
- if {_integer} is 13:
- set {_format-slot} to 24
- if {_integer} is 14:
- set {_format-slot} to 25
- if {_integer} is 15:
- set {_format-slot} to 28
- if {_integer} is 16:
- set {_format-slot} to 29
- if {_integer} is 17:
- set {_format-slot} to 30
- if {_integer} is 18:
- set {_format-slot} to 31
- if {_integer} is 19:
- set {_format-slot} to 32
- if {_integer} is 20:
- set {_format-slot} to 33
- if {_integer} is 21:
- set {_format-slot} to 34
- if {attention-log-reason-2-%{_integer}%.%uuid of arg 1%} is not set:
- format slot {_format-slot} of player with paper named "&c%{_integer}%回目の警告" with lore "&c理由&a: &e%{attention-log-reason-1-%{_integer}%.%uuid of arg 1%}%", "&cスコア&a: &6%{attention-log-point-1-%{_integer}%.%uuid of arg 1%}% &e-> &6%{attention-log-point-2-%{_integer}%.%uuid of arg 1%}%" and "&c実行者&a: %{attention-log-executor-%{_integer}%.%uuid of arg 1%}%" to be unstealable
- if {attention-log-reason-2-%{_integer}%.%uuid of arg 1%} is set:
- format slot {_format-slot} of player with paper named "&c%{_integer}%回目の警告" with lore "&c理由&a: &e%{attention-log-reason-1-%{_integer}%.%uuid of arg 1%}%", "&e %{attention-log-reason-2-%{_integer}%.%uuid of arg 1%}%", "&cスコア&a: &6%{attention-log-point-1-%{_integer}%.%uuid of arg 1%}% &e-> &6%{attention-log-point-2-%{_integer}%.%uuid of arg 1%}%" and "&c実行者&a: %{attention-log-executor-%{_integer}%.%uuid of arg 1%}%" to be unstealable
- stop
- if arg 2 is set:
- if arg 2 is between 1 and 100:
- if arg 3 is not set:
- set {_integer} to 21*arg 2
- set {_integer} to {_integer}-20
- if {attention-count.%uuid of arg 1%} is smaller than {_integer}:
- send "{@a} &c%arg 1%の%arg 2%ページ目の警告履歴が見つかりませんでした。"
- stop
- else:
- wait 5 ticks
- set {page.%uuid of player%} to arg 2
- open chest with 5 rows named "&4%arg 1%の警告履歴" to player
- format slot 0 of player with red stained glass pane named " " to be unstealable
- format slot 1 of player with red stained glass pane named " " to be unstealable
- format slot 2 of player with red stained glass pane named " " to be unstealable
- format slot 3 of player with red stained glass pane named " " to be unstealable
- format slot 4 of player with book named "&e%{page.%uuid of player%}%ページ目" to be unstealable
- format slot 5 of player with red stained glass pane named " " to be unstealable
- format slot 6 of player with red stained glass pane named " " to be unstealable
- format slot 7 of player with red stained glass pane named " " to be unstealable
- format slot 8 of player with red stained glass pane named " " to be unstealable
- format slot 9 of player with red stained glass pane named " " to be unstealable
- format slot 17 of player with red stained glass pane named " " to be unstealable
- format slot 18 of player with red stained glass pane named " " to be unstealable
- format slot 26 of player with red stained glass pane named " " to be unstealable
- format slot 27 of player with red stained glass pane named " " to be unstealable
- format slot 35 of player with red stained glass pane named " " to be unstealable
- format slot 36 of player with red stained glass pane named " " to be unstealable
- format slot 37 of player with red stained glass pane named " " to be unstealable
- format slot 38 of player with red stained glass pane named " " to be unstealable
- format slot 39 of player with red stained glass pane named " " to be unstealable
- format slot 41 of player with red stained glass pane named " " to be unstealable
- format slot 42 of player with red stained glass pane named " " to be unstealable
- format slot 43 of player with red stained glass pane named " " to be unstealable
- format slot 44 of player with red stained glass pane named " " to be unstealable
- format slot 40 of player with skull of arg 1 named "&e&l&n%arg 1%" with lore "&cスコア&a: &6%{attention-point.%uuid of arg 1%}%" and "&c警告された回数&a: &6%{attention-count.%uuid of arg 1%}%&c回" to be unstealable
- if {attention-count.%uuid of arg 1%} is higher than 21:
- if {page.%uuid of player%} is higher than 1:
- format slot 36 of player with arrow named "&a前のページへ" to close then run [make player execute "/attention %arg 1% 1"]
- if {attention-count.%uuid of arg 1%} is higher than 42:
- if {page.%uuid of player%} is higher than 2:
- format slot 36 of player with arrow named "&a前のページへ" to close then run [make player execute "/attention %arg 1% 2"]
- if {attention-count.%uuid of arg 1%} is higher than 63:
- if {page.%uuid of player%} is higher than 3:
- format slot 36 of player with arrow named "&a前のページへ" to close then run [make player execute "/attention %arg 1% 3"]
- if {attention-count.%uuid of arg 1%} is higher than 84:
- if {page.%uuid of player%} is higher than 4:
- format slot 36 of player with arrow named "&a前のページへ" to close then run [make player execute "/attention %arg 1% 4"]
- if {attention-count.%uuid of arg 1%} is higher than 105:
- if {page.%uuid of player%} is higher than 5:
- format slot 36 of player with arrow named "&a前のページへ" to close then run [make player execute "/attention %arg 1% 5"]
- if {attention-count.%uuid of arg 1%} is higher than 126:
- if {page.%uuid of player%} is higher than 6:
- format slot 36 of player with arrow named "&a前のページへ" to close then run [make player execute "/attention %arg 1% 6"]
- if {attention-count.%uuid of arg 1%} is higher than 21:
- if {page.%uuid of player%} is higher than 0:
- if {page.%uuid of player%} is 2:
- format slot 44 of player with red stained glass pane named " " to be unstealable
- else:
- format slot 44 of player with arrow named "&a次のページへ" to close then run [make player execute "/attention %arg 1% 2"]
- if {attention-count.%uuid of arg 1%} is higher than 42:
- if {page.%uuid of player%} is higher than 1:
- if {page.%uuid of player%} is 3:
- format slot 44 of player with red stained glass pane named " " to be unstealable
- else:
- format slot 44 of player with arrow named "&a次のページへ" to close then run [make player execute "/attention %arg 1% 3"]
- if {attention-count.%uuid of arg 1%} is higher than 63:
- if {page.%uuid of player%} is higher than 2:
- if {page.%uuid of player%} is 4:
- format slot 44 of player with red stained glass pane named " " to be unstealable
- else:
- format slot 44 of player with arrow named "&a次のページへ" to close then run [make player execute "/attention %arg 1% 4"]
- if {attention-count.%uuid of arg 1%} is higher than 84:
- if {page.%uuid of player%} is higher than 3:
- if {page.%uuid of player%} is 5:
- format slot 44 of player with red stained glass pane named " " to be unstealable
- else:
- format slot 44 of player with arrow named "&a次のページへ" to close then run [make player execute "/attention %arg 1% 5"]
- if {attention-count.%uuid of arg 1%} is higher than 105:
- if {page.%uuid of player%} is higher than 4:
- if {page.%uuid of player%} is 6:
- format slot 44 of player with red stained glass pane named " " to be unstealable
- else:
- format slot 44 of player with arrow named "&a次のページへ" to close then run [make player execute "/attention %arg 1% 6"]
- if {attention-count.%uuid of arg 1%} is 0:
- format slot 22 of player with barrier named " " with lore "&cこのプレイヤーはあらゆる警告を" and "&c受けていません。" to be unstealable
- set {_integer1} to {attention-count.%uuid of arg 1%}
- set {_integer2} to {_integer}-1
- set {_integer3} to 0
- set {_test} to true
- while {_test} is true:
- add 1 to {_integer2}
- add 1 to {_integer3}
- if {_integer3} is 1:
- set {_format-slot} to 10
- if {_integer3} is 2:
- set {_format-slot} to 11
- if {_integer3} is 3:
- set {_format-slot} to 12
- if {_integer3} is 4:
- set {_format-slot} to 13
- if {_integer3} is 5:
- set {_format-slot} to 14
- if {_integer3} is 6:
- set {_format-slot} to 15
- if {_integer3} is 7:
- set {_format-slot} to 16
- if {_integer3} is 8:
- set {_format-slot} to 19
- if {_integer3} is 9:
- set {_format-slot} to 20
- if {_integer3} is 10:
- set {_format-slot} to 21
- if {_integer3} is 11:
- set {_format-slot} to 22
- if {_integer3} is 12:
- set {_format-slot} to 23
- if {_integer3} is 13:
- set {_format-slot} to 24
- if {_integer3} is 14:
- set {_format-slot} to 25
- if {_integer3} is 15:
- set {_format-slot} to 28
- if {_integer3} is 16:
- set {_format-slot} to 29
- if {_integer3} is 17:
- set {_format-slot} to 30
- if {_integer3} is 18:
- set {_format-slot} to 31
- if {_integer3} is 19:
- set {_format-slot} to 32
- if {_integer3} is 20:
- set {_format-slot} to 33
- if {_integer3} is 21:
- set {_format-slot} to 34
- if {_integer2} is {attention-count.%uuid of arg 1%}:
- stop
- if {_integer3} is higher than 21:
- stop
- if {attention-log-reason-2-%{_integer2}%.%uuid of arg 1%} is not set:
- format slot {_format-slot} of player with paper named "&c%{_integer2}%回目の警告" with lore "&c理由&a: &e%{attention-log-reason-1-%{_integer2}%.%uuid of arg 1%}%", "&cスコア&a: &6%{attention-log-point-1-%{_integer2}%.%uuid of arg 1%}% &e-> &6%{attention-log-point-2-%{_integer2}%.%uuid of arg 1%}%" and "&c実行者&a: %{attention-log-executor-%{_integer2}%.%uuid of arg 1%}%" to be unstealable
- if {attention-log-reason-2-%{_integer2}%.%uuid of arg 1%} is set:
- format slot {_format-slot} of player with paper named "&c%{_integer2}%回目の警告" with lore "&c理由&a: &e%{attention-log-reason-1-%{_integer2}%.%uuid of arg 1%}%", "&e %{attention-log-reason-2-%{_integer2}%.%uuid of arg 1%}%", "&cスコア&a: &6%{attention-log-point-1-%{_integer2}%.%uuid of arg 1%}% &e-> &6%{attention-log-point-2-%{_integer2}%.%uuid of arg 1%}%" and "&c実行者&a: %{attention-log-executor-%{_integer2}%.%uuid of arg 1%}%" to be unstealable
- stop
- if arg 3 is set:
- if player is not an op:
- send "{@a} &c権限がありません。"
- if player is an op:
- if {attention-log-number.%uuid of arg 1%} is set:
- add 1 to {attention-log-number.%uuid of arg 1%}
- if {attention-log-number.%uuid of arg 1%} is not set:
- set {attention-log-number.%uuid of arg 1%} to 1
- set {attention-log-executor-%{attention-log-number.%uuid of arg 1%}%.%uuid of arg 1%} to player
- set {attention-log-point-1-%{attention-log-number.%uuid of arg 1%}%.%uuid of arg 1%} to {attention-point.%uuid of arg 1%}
- set {attention-log-point-2-%{attention-log-number.%uuid of arg 1%}%.%uuid of arg 1%} to {attention-point.%uuid of arg 1%}-arg 2
- set {attention-point.%uuid of arg 1%} to {attention-log-point-2-%{attention-log-number.%uuid of arg 1%}%.%uuid of arg 1%}
- set {attention-log-reason-1-%{attention-log-number.%uuid of arg 1%}%.%uuid of arg 1%} to arg 3
- if arg 4 is set:
- set {attention-log-reason-2-%{attention-log-number.%uuid of arg 1%}%.%uuid of arg 1%} to arg 4
- add 1 to {attention-count.%uuid of arg 1%}
- broadcast "{@a} &4====================[&e&lAttention&r&4]===================="
- broadcast "{@a} &6%arg 1%&cさんがAdminから警告を受けました。"
- broadcast "{@a} &c理由&a: &e%arg 3%"
- if arg 4 is set:
- broadcast "{@a} &c &e%arg 4%"
- if {attention-point.%uuid of arg 1%} is higher than 0:
- broadcast "{@a} &cスコア&a: &6%{attention-log-point-1-%{attention-log-number.%uuid of arg 1%}%.%uuid of arg 1%}% &e-> &6%{attention-log-point-2-%{attention-log-number.%uuid of arg 1%}%.%uuid of arg 1%}%"
- else:
- broadcast "{@a} &cスコア&a: &6%{attention-log-point-1-%{attention-log-number.%uuid of arg 1%}%.%uuid of arg 1%}% &e-> &40"
- broadcast "{@a} &c実行者&a: &6%player%"
- if {attention-point.%uuid of arg 1%} is higher than 0:
- broadcast "{@a} &4スコアが0になるとサーバーからBANされます。"
- broadcast "{@a} &4====================[&e&lAttention&r&4]===================="
- if {attention-point.%uuid of arg 1%} is smaller than 1:
- broadcast "{@a} &4&l%arg 1%のスコアが0になったため、BANされました。"
- make console execute command "/ban %arg 1% 貴方のスコアは0になったためBANされました。"
- loop all players:
- play sound "entity.enderdragon.growl" with volume 100 and pitch 1 at loop-player for loop-player
- loop all players:
- play sound "entity.villager.death" with volume 100 and pitch 0 at loop-player for loop-player
- play sound "entity.blaze.death" with volume 100 and pitch 0 at loop-player for loop-player
- make console execute command "/particle cloud %x-coordinate of arg 1% %y-coordinate of arg 1% %z-coordinate of arg 1% 0 0 0 0.5 200"
- stop
- else:
- if arg 2 is 99999:
- delete {attention-log-number.%uuid of arg 1%}
- loop {attention-count.%uuid of arg 1%} times:
- delete {attention-log-point-1-%{attention-count.%uuid of arg 1%}%.%uuid of arg 1%}
- delete {attention-log-point-2-%{attention-count.%uuid of arg 1%}%.%uuid of arg 1%}
- delete {attention-log-reason-1-%{attention-count.%uuid of arg 1%}%.%uuid of arg 1%}
- delete {attention-log-reason-2-%{attention-count.%uuid of arg 1%}%.%uuid of arg 1%}
- delete {attention-log-executor-%{attention-count.%uuid of arg 1%}%.%uuid of arg 1%}
- remove 1 from {attention-count.%uuid of arg 1%}
- set {attention-count.%uuid of arg 1%} to 0
- set {attention-point.%uuid of arg 1%} to 100
- send "{@a} &a%arg 1%をリセットしました。"
- stop
- else:
- send "{@a} &c1から100の数字を指定してください。"
- stop
- send "{@a} &cそのプレイヤーはこのサーバーにログインしたことがありません。"
- stop
- command /co [<text>]:
- trigger:
- if arg 1 is not set:
- send "&6--------------------[&bCOコマンドリスト&6]--------------------"
- on command "/help":
- cancel event
- send "&e--------- &fHelp: Index (1/1) &e--------------------"
- send "&7Use /help [n] to get page n of help."
- send "&6mocchi_0: &fAll commands for mocchi_0"
- send "&6Futaba_Nyan: &fAll commands for Futaba_Nyan"
- command /jc [<text>]:
- trigger:
- if {yakusyoku.%player%} is "jinnrou":
- if arg 1 is not set:
- send "{@j} &c/jc [message] で、人狼にだけ見えるチャットを送信することができます。"
- if arg 1 is set:
- if {died.%player%} is true:
- send "{@j} 既に死んでいる為使用できません。"
- else:
- loop all players:
- if {yakusyoku.%loop-player%} is "jinnrou" or "sasayakukyouzinn":
- send "{@g}&4[人狼チャット]&c%player%&a: &f%arg-1%" to loop-player
- if {yakusyoku.%loop-player%} is not set:
- send "{@g}&4[人狼チャット]&c%player%&a: &f%arg-1%" to loop-player
- if {yakusyoku.%loop-player%} is "murabito", "yogennsya", "reibaisi", "kariudo", "kyousinnzya", "youko" or "kyouzinn":
- if {died.%loop-player%} is true:
- send "{@g}&4[人狼チャット]&c%player%&a: &f%arg-1%" to loop-player
- else:
- send "{@j} &c使用できません。"
- command /rank [<offline player>] [<text>]:
- trigger:
- send "{@j} &c未実装のコマンドです。"
- on command "/message":
- if {timer} is true:
- cancel event
- send "&c試合中はそのコマンドを使用できません。"
- on command "//calc":
- cancel event
- send "&cそのコマンドは許可されていません。"
- on command "/lc":
- cancel event
- send "&cそのコマンドは許可されていません。"
- on command "/lunachat":
- cancel event
- send "&cそのコマンドは許可されていません。"
- on command "/ch":
- cancel event
- send "&cそのコマンドは許可されていません。"
- on command "/tell":
- if {timer} is true:
- cancel event
- send "&c試合中はそのコマンドを使用できません。"
- on command "/t":
- if {timer} is true:
- cancel event
- send "&c試合中はそのコマンドを使用できません。"
- on command "/msg":
- if {timer} is true:
- cancel event
- send "&c試合中はそのコマンドを使用できません。"
- on command "/m":
- if {timer} is true:
- cancel event
- send "&c試合中はそのコマンドを使用できません。"
- on command "/w":
- if {timer} is true:
- cancel event
- send "&c試合中はそのコマンドを使用できません。"
- on command "/me":
- cancel event
- send "&cそのコマンドは許可されていません。"
- on command "/pl":
- cancel event
- send "Plugins (2): &aFutaba_Nyan&f, &amocchi_0"
- on command "/plugins":
- cancel event
- send "Plugins (2): &aFutaba_Nyan&f, &amocchi_0"
- on explode:
- cancel event
- on bed enter:
- cancel event
- on rightclick on chest:
- {yakusyoku.%player%} is set
- cancel event
- on rightclick on furnace:
- {yakusyoku.%player%} is set
- cancel event
- on book edit:
- player is not an op
- cancel event
- on book sign:
- player is not an op
- cancel event
- on break:
- if player is not an op:
- cancel event
- if player is an op:
- if player's gamemode is survival:
- cancel event
- on bucket empty:
- player is not an op
- cancel event
- on bucket fill:
- player is not an op
- cancel event
- on craft:
- player is not an op
- cancel event
- on player drop:
- player is not an op
- cancel event
- on sheep eat:
- cancel event
- on rightclick on furnace:
- if {yakusyoku.%player%} is set:
- cancel event
- on rightclick on anvil:
- if {yakusyoku.%player%} is set:
- cancel event
- on experience spawn:
- cancel event
- on lightning strike:
- cancel event
- on place:
- player is not an op
- cancel event
- on rightclick on white shulker box:
- cancel event
- command /discord:
- trigger:
- make console execute command "/tellraw %player% ["""",{""text"":""[Discord] "",""color"":""aqua""},{""text"":""https://discord.gg/hZaH4PP"",""bold"":true,""color"":""yellow"",""clickEvent"":{""action"":""open_url"",""value"":""https://discord.gg/hZaH4PP""},""hoverEvent"":{""action"":""show_text"",""value"":""\u3053\u3053\u3092\u30af\u30ea\u30c3\u30af\uff01""}}]"
- command /broadcast [<text>]:
- trigger:
- if player is not an op:
- send "&c権限がありません。"
- if player is an op:
- if arg 1 is not set:
- send "&c内容が含まれていません。"
- if arg 1 is set:
- broadcast "&a|&bBROADCAST&a| &e&l%arg 1%"
- on death:
- if {timer} is true:
- loop all players:
- if {yakusyoku.%loop-player%} is not set:
- victim is a player
- damager is a player
- send "{@j} &4%victim%が%damager%に殺されました。" to loop-player
- if {yakusyoku.%loop-player%} is not set:
- if {died.%loop-player%} is true:
- send "{@j} &4%victim%が%damager%に殺されました。" to loop-player
- if {yakusyoku.%player%} is "jinnrou":
- clear player's inventory
- add 30 to {time}
- set {died.%player%} to true
- remove 1 from {jinnroucount}
- set victim's gamemode to spectator
- force respawn victim
- send "{@j} &c%damager%に殺されました。" to victim
- send "{@j} &c%victim%を殺しました。" to damager
- teleport victim to location of damager
- set victim's tablist name to " "
- if {yakusyoku.%player%} is "murabito" , "yogennsya", "reibaisi", "kariudo", "nekomata" or "kennzya":
- clear player's inventory
- add 30 to {time}
- set {died.%player%} to true
- remove 1 from {murabitocount}
- set victim's gamemode to spectator
- force respawn victim
- send "{@j} &c%damager%に殺されました。" to victim
- send "{@j} &c%victim%を殺しました。" to damager
- teleport victim to location of damager
- set victim's tablist name to " "
- if {yakusyoku.%player%} is "kyouzinn":
- clear player's inventory
- add 30 to {time}
- set {died.%player%} to true
- set victim's gamemode to spectator
- force respawn victim
- send "{@j} &c%damager%に殺されました。" to victim
- send "{@j} &c%victim%を殺しました。" to damager
- teleport victim to location of damager
- set victim's tablist name to " "
- if {jinnroucount} is smaller than 1:
- if {murabitocount} is smaller than 1:
- loop all players:
- send loop-player title "&6&l引き分けです" with subtitle "&6&l村人と人狼が全滅しました。" for 2 seconds
- play sound "entity.zombie.break_door_wood" with volume 50 and pitch 1 at loop-player for loop-player
- set {time} to 0
- set {timer} to false
- set {_integer} to 0
- wait 5 seconds
- delete {used-time-602}
- delete {used-time-600}
- delete {used-time-599}
- loop all players:
- teleport loop-player to {firstjoinlocation}
- set loop-player's gamemode to survival
- clear loop-player's inventory
- delete {playing.%loop-player%}
- delete {died.%loop-player%}
- delete {used.%loop-player%}
- set loop-player's tablist name to "&f%loop-player%"
- set {state} to false
- set {started} to false
- broadcast "{@j} &6=================[&d今回の内訳&6]================="
- broadcast "{@j} &b勝利陣営: なし"
- if {sannkaninnzuu} is 4:
- broadcast "{@j} &4人狼: [%{jinnrou1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 5:
- broadcast "{@j} &4人狼: [%{jinnrou1}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%]"
- if {sannkaninnzuu} is 6:
- broadcast "{@j} &4人狼: [%{jinnrou1}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 7:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%]"
- if {sannkaninnzuu} is 8:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 9:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%], [%{jinnrou3}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 10:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%], [%{jinnrou3}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%], [%{murabito4}%]"
- broadcast "{@j} &6============================================"
- set {sannkaninnzuu} to 0
- loop 10 times:
- add 1 to {_integer}
- delete {yakusyoku.%{sannka%{_integer}%}%}
- delete {murabito%{_integer}%}
- delete {jinnrou%{_integer}%}
- delete {kyouzinn%{_integer}%}
- delete {yogennsya%{_integer}%}
- delete {reibaisi%{_integer}%}
- delete {playing.%{sannka%{_integer}%}%}
- delete {died.%{sannka%{_integer}%}%}
- stop
- if {murabitocount} is higher than 0:
- loop all players:
- send loop-player title "&a&l村人の勝利です!" with subtitle "&a&l人狼が全滅しました。" for 2 seconds
- play sound "entity.player.levelup" with volume 50 and pitch 0 at loop-player for loop-player
- set {time} to 0
- set {timer} to false
- set {_integer} to 0
- wait 5 seconds
- delete {used-time-602}
- delete {used-time-600}
- delete {used-time-599}
- loop all players:
- teleport loop-player to {firstjoinlocation}
- set loop-player's gamemode to survival
- clear loop-player's inventory
- delete {playing.%loop-player%}
- delete {died.%loop-player%}
- delete {used.%loop-player%}
- set loop-player's tablist name to "&f%loop-player%"
- set {state} to false
- set {started} to false
- broadcast "{@j} &6=================[&d今回の内訳&6]================="
- broadcast "{@j} &b勝利陣営: 村人陣営"
- if {sannkaninnzuu} is 4:
- broadcast "{@j} &4人狼: [%{jinnrou1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 5:
- broadcast "{@j} &4人狼: [%{jinnrou1}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%]"
- if {sannkaninnzuu} is 6:
- broadcast "{@j} &4人狼: [%{jinnrou1}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 7:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%]"
- if {sannkaninnzuu} is 8:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 9:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%], [%{jinnrou3}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 10:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%], [%{jinnrou3}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%], [%{murabito4}%]"
- broadcast "{@j} &6============================================"
- set {sannkaninnzuu} to 0
- loop 10 times:
- add 1 to {_integer}
- delete {yakusyoku.%{sannka%{_integer}%}%}
- delete {murabito%{_integer}%}
- delete {jinnrou%{_integer}%}
- delete {kyouzinn%{_integer}%}
- delete {yogennsya%{_integer}%}
- delete {reibaisi%{_integer}%}
- delete {sannka%{_integer}%}
- delete {playing.%{sannka%{_integer}%}%}
- delete {died.%{sannka%{_integer}%}%}
- stop
- if {murabitocount} is smaller than 1:
- if {jinnroucount} is smaller than 1:
- loop all players:
- send loop-player title "&6&l引き分けです" with subtitle "&6&l村人と人狼が全滅しました。" for 2 seconds
- play sound "entity.zombie.break_door_wood" with volume 50 and pitch 1 at loop-player for loop-player
- set {time} to 0
- set {timer} to false
- set {_integer} to 0
- wait 5 seconds
- delete {used-time-602}
- delete {used-time-600}
- delete {used-time-599}
- loop all players:
- teleport loop-player to {firstjoinlocation}
- set loop-player's gamemode to survival
- clear loop-player's inventory
- delete {playing.%loop-player%}
- delete {died.%loop-player%}
- delete {used.%loop-player%}
- set loop-player's tablist name to "&f%loop-player%"
- set {state} to false
- set {started} to false
- broadcast "{@j} &6=================[&d今回の内訳&6]================="
- broadcast "{@j} &b勝利陣営: なし"
- if {sannkaninnzuu} is 4:
- broadcast "{@j} &4人狼: [%{jinnrou1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 5:
- broadcast "{@j} &4人狼: [%{jinnrou1}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%]"
- if {sannkaninnzuu} is 6:
- broadcast "{@j} &4人狼: [%{jinnrou1}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 7:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%]"
- if {sannkaninnzuu} is 8:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 9:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%], [%{jinnrou3}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 10:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%], [%{jinnrou3}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%], [%{murabito4}%]"
- broadcast "{@j} &6============================================"
- set {sannkaninnzuu} to 0
- loop 10 times:
- add 1 to {_integer}
- delete {yakusyoku.%{sannka%{_integer}%}%}
- delete {murabito%{_integer}%}
- delete {jinnrou%{_integer}%}
- delete {kyouzinn%{_integer}%}
- delete {yogennsya%{_integer}%}
- delete {reibaisi%{_integer}%}
- delete {sannka%{_integer}%}
- delete {playing.%{sannka%{_integer}%}%}
- delete {died.%{sannka%{_integer}%}%}
- stop
- if {jinnroucount} is higher than 0:
- loop all players:
- send loop-player title "&c&l人狼の勝利です!" with subtitle "&c&l村人が全滅しました。" for 2 seconds
- play sound "entity.wither.death" with volume 50 and pitch 1 at loop-player for loop-player
- set {winner} to "jinnrou"
- set {time} to 0
- set {timer} to false
- set {_integer} to 0
- wait 5 seconds
- delete {used-time-602}
- delete {used-time-600}
- delete {used-time-599}
- loop all players:
- teleport loop-player to {firstjoinlocation}
- set loop-player's gamemode to survival
- clear loop-player's inventory
- delete {playing.%loop-player%}
- delete {died.%loop-player%}
- delete {used.%loop-player%}
- set loop-player's tablist name to "&f%loop-player%"
- set {state} to false
- set {started} to false
- broadcast "{@j} &6=================[&d今回の内訳&6]================="
- broadcast "{@j} &b勝利陣営: 人狼陣営"
- if {sannkaninnzuu} is 4:
- broadcast "{@j} &4人狼: [%{jinnrou1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 5:
- broadcast "{@j} &4人狼: [%{jinnrou1}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%]"
- if {sannkaninnzuu} is 6:
- broadcast "{@j} &4人狼: [%{jinnrou1}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 7:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%]"
- if {sannkaninnzuu} is 8:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 9:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%], [%{jinnrou3}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 10:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%], [%{jinnrou3}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%], [%{murabito4}%]"
- broadcast "{@j} &6============================================"
- set {sannkaninnzuu} to 0
- loop 10 times:
- add 1 to {_integer}
- delete {yakusyoku.%{sannka%{_integer}%}%}
- delete {murabito%{_integer}%}
- delete {jinnrou%{_integer}%}
- delete {kyouzinn%{_integer}%}
- delete {yogennsya%{_integer}%}
- delete {reibaisi%{_integer}%}
- delete {sannka%{_integer}%}
- delete {playing.%{sannka%{_integer}%}%}
- delete {died.%{sannka%{_integer}%}%}
- stop
- command /qm [<number>] [<text>] [<number>]:
- trigger:
- if player is not an op:
- send "{@qm} &c権限がありません"
- if player is an op:
- if {quickmathing} is true:
- send "{@qm} &cQuickMathが既に行われています。"
- else:
- if arg 1 is not set:
- send "{@qm} &c arg 1 が設定されていません。"
- if arg 1 is set:
- if arg 2 is not set:
- send "{@qm} &c arg 2 が設定されていません。"
- if arg 2 is set:
- if arg 2 is "+", "-", "*" or "/":
- if arg 3 is not set:
- send "{@qm} &c arg 3 が設定されていません。"
- if arg 3 is set:
- set {qm-arg-1} to arg 1
- set {qm-arg-2} to arg 2
- set {qm-arg-3} to arg 3
- if {qm-arg-2} is "+":
- set {qm-answer} to {qm-arg-1}+{qm-arg-3}
- if {qm-arg-2} is "-":
- set {qm-answer} to {qm-arg-1}-{qm-arg-3}
- if {qm-arg-2} is "*":
- set {qm-answer} to {qm-arg-1}*{qm-arg-3}
- set {qm-arg-2} to "x"
- if {qm-arg-2} is "/":
- set {qm-answer} to {qm-arg-1}/{qm-arg-3}
- set {qm-arg-2} to "÷"
- set {quickmathing} to true
- broadcast "{@qm} &r&b--------------------------------------------"
- broadcast "{@qm} &6&lQuick Math!!!"
- broadcast "{@qm} &e&l%{qm-arg-1}% %{qm-arg-2}% %{qm-arg-3}% = ?"
- broadcast "{@qm} &r&b--------------------------------------------"
- loop all players:
- play sound "entity.wither.spawn" with volume 25 and pitch 1 at loop-player for loop-player
- set {qm-time-1} to 10
- set {qm-time-2} to 0
- while {quickmathing} is true:
- loop all players:
- set action bar of loop-player to "&f残り時間: &f&l%{qm-time-1}%.%{qm-time-2}%&r&f秒"
- wait 2 ticks
- remove 1 from {qm-time-2}
- if {qm-time-2} is smaller than 0:
- if {qm-time-1} is higher than 0:
- set {qm-time-2} to 9
- remove 1 from {qm-time-1}
- if {qm-time-1} is smaller than 1:
- if {qm-time-2} is smaller than 1:
- delete {quickmathing}
- send player title "&6&d&l終了です!" with subtitle "&e&l答えは&6&l%{qm-answer}%&e&lでした。" for 5 seconds
- broadcast "{@qm} &6終了です!"
- broadcast "{@qm} &e&l答えは&6&l%{qm-answer}%&e&lでした。"
- loop all players:
- play sound "entity.enderdragon.death" with volume 25 and pitch 2 at loop-player for loop-player
- broadcast "{@qm} &r&b--------------&e[&5Ranking&e]&b--------------"
- if {qm-1st} is set:
- if {qm-answer-time-2.%{qm-1st}%} is not set:
- broadcast "{@qm} &e&l1st Place: &6&l%{qm-1st}% &r&e%{qm-answer-time-1.%{qm-1st}%}%.0秒"
- else:
- broadcast "{@qm} &e&l1st Place: &6&l%{qm-1st}% &r&e%{qm-answer-time-1.%{qm-1st}%}%.%{qm-answer-time-2.%{qm-1st}%}%秒"
- if {qm-2nd} is set:
- if {qm-answer-time-2.%{qm-2nd}%} is not set:
- broadcast "{@qm} &e&l2nd Place: &6&l%{qm-2nd}% &r&e%{qm-answer-time-1.%{qm-2nd}%}%.0秒"
- else:
- broadcast "{@qm} &e&l2nd Place: &6&l%{qm-2nd}% &r&e%{qm-answer-time-1.%{qm-2nd}%}%.%{qm-answer-time-2.%{qm-2nd}%}%秒"
- if {qm-3rd} is set:
- if {qm-answer-time-2.%{qm-3rd}%} is not set:
- broadcast "{@qm} &e&l3rd Place: &6&l%{qm-3rd}% &r&e%{qm-answer-time-1.%{qm-3rd}%}%.0秒"
- else:
- broadcast "{@qm} &e&l3rd Place: &6&l%{qm-3rd}% &r&e%{qm-answer-time-1.%{qm-3rd}%}%.%{qm-answer-time-2.%{qm-3rd}%}%秒"
- if {qm-1st} is not set:
- broadcast "{@qm} &c&l正解者はいませんでした…。"
- broadcast "{@qm} &r&b--------------&e[&5Ranking&e]&b--------------"
- delete {qm-arg-1}
- delete {qm-arg-2}
- delete {qm-arg-3}
- delete {qm-time-1}
- delete {qm-time-2}
- delete {qm-answer}
- delete {qm-1st}
- delete {qm-2nd}
- delete {qm-3rd}
- loop {servermember::*}:
- delete {qm-answer-time-1.%loop-value%}
- delete {qm-answer-time-2.%loop-value%}
- delete {qm-answered.%loop-value%}
- else:
- send "{@qm} &cその文字は有効ではありません。"
- on chat:
- cancel event
- if {yakusyoku.%player%} is set:
- if {died.%player%} is not set:
- broadcast "{@g}&f%player%&a: &r%message%"
- if {died.%player%} is true:
- loop all players:
- if {playing.%loop-player%} is not set:
- send "&7[死者]%player%&a: &r%message%" to loop-player
- if {playing.%loop-player%} is set:
- if {died.%loop-player%} is true:
- send "&7[死者]%player%&a: &r%message%" to loop-player
- if {yakusyoku.%player%} is not set:
- if {quickmathing} is true:
- if message contains "%{qm-answer}% ":
- if {qm-answered.%player%} is true:
- cancel event
- send "{@qm} &c貴方はすでに正解を答えています。"
- else:
- cancel event
- broadcast "{@qm} &r&6%player%&r&eさんが正解しました!"
- send "{@qm} &6正解です!"
- loop all players:
- play sound "entity.arrow.hit_player" with volume 50 and pitch 1 at loop-player for loop-player
- set {qm-answered.%player%} to true
- set {qm-answer-time-1.%player%} to 10-{qm-time-1}
- if {qm-time-2} is higher than 0:
- set {qm-answer-time-2.%player%} to 10-{qm-time-2}
- remove 1 from {qm-answer-time-1.%player%}
- if {qm-1st} is not set:
- set {qm-1st} to player
- stop
- if {qm-1st} is set:
- if {qm-2nd} is not set:
- set {qm-2nd} to player
- stop
- if {qm-2nd} is set:
- if {qm-3rd} is not set:
- set {qm-3rd} to player
- stop
- else:
- if player is an op:
- broadcast "&c[ADMIN]%player%&a: &r%message%"
- else:
- broadcast "%player%&a: &r%message%"
- else:
- if player is an op:
- loop all players:
- if {playing.%loop-player%} is not set:
- send "&c[ADMIN]%player%&a: &r%message%" to loop-player
- if {playing.%loop-player%} is set:
- if {died.%loop-player%} is true:
- send "&c[ADMIN]%player%&a: &r%message%" to loop-player
- if player is not an op:
- loop all players:
- if {playing.%loop-player%} is not set:
- send "%player%&a: &r%message%" to loop-player
- if {playing.%loop-player%} is set:
- if {died.%loop-player%} is true:
- send "%player%&a: &r%message%" to loop-player
- on food bar change:
- set player's food level to 10
- on damage:
- victim is player
- if {yakusyoku.%victim%} is not set:
- cancel event
- if {yakusyoku.%victim%} is set:
- if {yakusyoku.%damager%} is not set:
- cancel event
- command /kansen [<text>]:
- trigger:
- if arg 1 is "join":
- if {timer} is true:
- if {yakusyoku.%player%} is not set:
- teleport player to {kansenlocation}
- set player's gamemode to spectator
- send "{@j} &e観戦に参加しました。戻る場合は/kansen leaveと入力してください。"
- if {yakusyoku.%player%} is set:
- send "{@j} &c参加者は使えません。"
- else:
- send "{@j} &c試合中にしか使えません。"
- if arg 1 is "leave":
- if {timer} is true:
- if {yakusyoku.%player%} is not set:
- teleport player to {firstjoinlocation}
- set player's gamemode to survival
- send "{@j} &e観戦から戻りました。"
- if {yakusyoku.%player%} is set:
- send "{@j} &c参加者は使えません。"
- else:
- send "{@j} &c試合中にしか使えません。"
- if arg 1 is "location":
- if player is not an op:
- send "&c権限がありません。"
- if player is an op:
- set {kansenlocation} to location of player
- send "&a%{kansenlocation}%"
- #--------#
- # System #
- #--------#
- command /fj [<text>]:
- trigger:
- if player is not an op:
- send "{@j} &c権限がありません。"
- if player is an op:
- if arg 1 is not set:
- send "{@j} &e%{firstjoinlocation}%"
- if arg 1 is set:
- if arg 1 is "set":
- set {firstjoinlocation} to location of player
- send "{@j} &e{firstjoinlocation}を%{firstjoinlocation}%に変更しました。"
- else:
- send "{@j} &e%{firstjoinlocation}%"
- every 3 second:
- if {state} is not set:
- set {state} to false
- if {state} is set:
- if {state} is false:
- loop all players:
- wipe loop-player sidebar
- set name of sidebar of loop-player to "&d&lじんろうげーむ"
- set score "参加人数: &6%{sannkaninnzuu}%" in sidebar of loop-player to 0
- command /resetdigits:
- trigger:
- if player is not an op:
- send "&c権限がありません。"
- if player is an op:
- loop {servermember::*}:
- delete {1digit.%loop-value%}
- delete {2digit.%loop-value%}
- delete {3digit.%loop-value%}
- delete {4digit.%loop-value%}
- delete {5digit.%loop-value%}
- delete {6digit.%loop-value%}
- remove loop-value from {servermember::*}
- loop {uuid::*}:
- delete {1digit.%loop-value%}
- delete {2digit.%loop-value%}
- delete {3digit.%loop-value%}
- delete {4digit.%loop-value%}
- delete {5digit.%loop-value%}
- delete {6digit.%loop-value%}
- remove loop-value from {uuid::*}
- set {_integer} to 0
- loop 6 times:
- add 1 to {_integer}
- delete {%{_integer}%digit}
- send "&cすべてのdigitが削除されました。ログインしなおしてください。"
- on join:
- teleport player to {firstjoinlocation}
- delete {page.%uuid of player%}
- set player's gamemode to survival
- clear player's inventory
- set player's tablist name to "&f%player%"
- send "&c&l/rule &r&cでルールを確認してください。"
- if {attention-point.%uuid of player%} is not set:
- set {attention-point.%uuid of player%} to 100
- if {attention-count.%uuid of player%} is not set:
- set {attention-count.%uuid of player%} to 0
- loop {servermember::*}:
- if loop-value is player:
- set the join message to "&b[+]&9>> &6%player%##%{6digit.%uuid of player%}%%{5digit.%uuid of player%}%%{4digit.%uuid of player%}%%{3digit.%uuid of player%}%%{2digit.%uuid of player%}%%{1digit.%uuid of player%}% &eがログインしました。"
- delete {yakusyoku.%player%}
- delete {died.%player%}
- delete {used.%player%}
- delete {playing.%player%}
- stop
- loop {uuid::*}:
- loop-value is uuid of player:
- set the join message to "&b[+]&9>> &6%player%##%{6digit.%uuid of player%}%%{5digit.%uuid of player%}%%{4digit.%uuid of player%}%%{3digit.%uuid of player%}%%{2digit.%uuid of player%}%%{1digit.%uuid of player%}% &eがログインしました。"
- delete {yakusyoku.%player%}
- delete {died.%player%}
- delete {used.%player%}
- delete {playing.%player%}
- stop
- set {_integer} to 0
- loop 6 times:
- add 1 to {_integer}
- if {%{_integer}%digit} is not set:
- set {%{_integer}%digit} to 0
- set {_integer} to 0
- loop 6 times:
- add 1 to {_integer}
- set {%{_integer}%digit.%uuid of player%} to {%{_integer}%digit}
- set the join message to "&b[+]&9>> &d%player%##%{6digit.%uuid of player%}%%{5digit.%uuid of player%}%%{4digit.%uuid of player%}%%{3digit.%uuid of player%}%%{2digit.%uuid of player%}%%{1digit.%uuid of player%}% &eがログインしました。"
- add player to {servermember::*}
- add uuid of player to {uuid::*}
- add 1 to {1digit}
- if {1digit} is higher than 9:
- add 1 to {2digit}
- set {1digit} to 0
- if {2digit} is higher than 9:
- add 1 to {3digit}
- set {2digit} to 0
- if {3digit} is higher than 9:
- add 1 to {4digit}
- set {3digit} to 0
- if {4digit} is higher than 9:
- add 1 to {5digit}
- set {4digit} to 0
- if {5digit} is higher than 9:
- add 1 to {6digit}
- set {5digit} to 0
- command /digit:
- trigger:
- if player is not an op:
- send "&c権限がありません。"
- if player is an op:
- send "&e%{6digit}%%{5digit}%%{4digit}%%{3digit}%%{2digit}%%{1digit}%"
- on quit:
- set the quit message to "&c[-]&4>> &6%player% &eがログアウトしました。"
- set {_integer} to 0
- loop 10 times:
- add 1 to {_integer}
- if player is {sannka%{_integer}%}:
- if {timer} is false:
- remove 1 from {sannkaninnzuu}
- delete {sannka%{_integer}%}
- if {timer} is true:
- if {died.%player%} is not set:
- if {yakusyoku.%player%} is "yogennsya" , "reibaisi" or "murabito":
- remove 1 from {murabitocount}
- delete {yakusyoku.%player%}
- if {yakusyoku.%player%} is "jinnrou":
- remove 1 from {jinnroucount}
- delete {yakusyoku.%player%}
- if {yakusyoku.%player%} is "kyouzinn":
- delete {yakusyoku.%player%}
- on right click:
- if player's gamemode is spectator:
- if targeted player's gamemode is survival:
- if {yakusyoku.%targeted player%} is set:
- command /j [<text>] [<integer>]:
- trigger:
- if arg 1 is "join":
- if {state} is true:
- send "{@j} &cゲームへの参加に失敗しました。ゲームがすでに始まっています。"
- if {state} is false:
- set {_integer} to 0
- loop 16 times:
- add 1 to {_integer}
- if {sannka%{_integer}%} is player:
- send "{@j} &c既に参加しています。"
- stop
- set {_integer} to 0
- loop 10 times:
- add 1 to {_integer}
- if {sannka%{_integer}%} is not set:
- set {sannka%{_integer}%} to player
- add 1 to {sannkaninnzuu}
- send "{@j} &eゲームに参加します。"
- broadcast "{@j} &6%player% &eさんが参加しました。"
- set {_aaalocal} to 16-{sannkaninnzuu}
- if {_aaalocal} is higher than 0:
- broadcast "{@j} &eあと&6%{_aaalocal}%&e人参加できます。"
- if {_aaalocal} is 0:
- broadcast "{@j} &cゲームの定員人数に達しました。"
- set player's tablist name to "&6%player%"
- stop
- if {_integer} is higher than 16:
- send "{@j} &cゲームへの参加に失敗しました。定員人数に達しています。"
- stop
- if arg 1 is "leave":
- if {state} is true:
- send "{@j} &cゲームから抜けることに失敗しました。ゲームがすでに始まっています。"
- if {state} is false:
- set {_integer} to 0
- loop 16 times:
- add 1 to {_integer}
- if {sannka%{_integer}%} is player:
- delete {sannka%{_integer}%}
- remove 1 from {sannkaninnzuu}
- send "{@j} &eゲームから抜けました。"
- broadcast "{@j} &6%player% &cさんがゲームから抜けました。"
- set {_aaalocal} to 16-{sannkaninnzuu}
- broadcast "{@j} &eあと&6%{_aaalocal}%&e人参加できます。"
- set player's tablist name to "&f%player%"
- stop
- send "{@j} &cゲームに参加していません。"
- if arg 1 is "start":
- if player is not an op:
- send "{@j} &c権限がありません。"
- else:
- if {started} is true:
- send "{@j} &cゲームの開始に失敗しました。ゲームがすでに始まっています。"
- if {started} is false:
- if {sannkaninnzuu} is smaller than 4:
- send "{@j} &c参加人数が3人以下の為ゲームの開始ができません。"
- stop
- if {sannkaninnzuu} is higher than 3:
- set {started} to true
- set {state} to false
- set {time} to 16
- delete {_local::*}
- set {_local} to 0
- loop 15 times:
- add 1 to {_local}
- add {_local} to {_local::*}
- loop 16 times:
- remove 1 from {time}
- loop all players:
- set action bar of loop-player to "&f残り時間: &f&l%{time}%"
- if {sannkaninnzuu} is smaller than 4:
- broadcast "{@j} &c参加人数が4人を下回った為、カウントダウンを停止しました。"
- loop all players:
- set action bar of loop-player to "&cカウントダウンが停止しました。"
- set {zyoutai} to 1
- set {started} to false
- stop
- if {sannkaninnzuu} is higher than 3:
- if {time} is 15:
- broadcast "{@j} &e15秒後にゲームを開始します。"
- if {sannkaninnzuu} is 15:
- broadcast "{@j} &c参加者が定員人数に達しています。"
- broadcast "{@j} &cカウントダウン終了後、&6/kansen join&cと入力することで試合を観戦できます。"
- if {sannkaninnzuu} is smaller than 16:
- broadcast "{@j} &eゲームに参加したい方は、&6/j join&eと入力することでゲームに参加できます。"
- broadcast "{@j} &eまた、ゲームから抜けたい方は、&6/j leave&eと入力することでゲームから離脱できます。"
- loop all players:
- play sound "entity.arrow.hit_player" with volume 50 and pitch 1 at loop-player for loop-player
- if {time} is 10:
- broadcast "{@j} &e10秒後にゲームを開始します。"
- loop all players:
- play sound "entity.arrow.hit_player" with volume 50 and pitch 1 at loop-player for loop-player
- if {time} is 5:
- broadcast "{@j} &e5秒後にゲームを開始します。"
- loop all players:
- play sound "entity.arrow.hit_player" with volume 50 and pitch 1 at loop-player for loop-player
- if {time} is 4:
- broadcast "{@j} &e4秒後にゲームを開始します。"
- loop all players:
- play sound "entity.arrow.hit_player" with volume 50 and pitch 1 at loop-player for loop-player
- if {time} is 3:
- broadcast "{@j} &e3秒後にゲームを開始します。"
- loop all players:
- play sound "entity.arrow.hit_player" with volume 50 and pitch 1 at loop-player for loop-player
- if {time} is 2:
- broadcast "{@j} &e2秒後にゲームを開始します。"
- loop all players:
- play sound "entity.arrow.hit_player" with volume 50 and pitch 1 at loop-player for loop-player
- if {time} is 1:
- broadcast "{@j} &e1秒後にゲームを開始します。"
- loop all players:
- play sound "entity.arrow.hit_player" with volume 50 and pitch 1 at loop-player for loop-player
- if {time} is 0:
- loop all players:
- play sound "entity.arrow.hit_player" with volume 50 and pitch 0 at loop-player for loop-player
- else:
- wait 1 second
- if {sannkaninnzuu} is smaller than 4:
- broadcast "{@j} &c参加人数が4人を下回った為、カウントダウンを停止しました。"
- loop all players:
- set action bar of loop-player to "&cカウントダウンが停止しました。"
- set {started} to false
- stop
- if {sannkaninnzuu} is higher than 3:
- delete {playmember::*}
- set {_integer} to 0
- loop 16 times:
- add 1 to {_integer}
- if {sannka%{_integer}%} is set:
- add {sannka%{_integer}%} to {playmember::*}
- loop 16 times:
- add 1 to {_integer}
- set {playing.%{sannka%{_integer}%}%} to true
- set tablist name of {sannka%{_integer}%} to "&6%{sannka%{_integer}%}%"
- set {_a} to random element of {_local::*}
- delete {died.%{sannka%{_integer}%}%}
- remove {_a} from {_local::*}
- teleport {sannka%{_integer}%} to {location%{_a}%}
- set {sannka%{_integer}%}'s gamemode to survival
- clear {sannka%{_integer}%}'s inventory
- set {state} to true
- set {timer} to true
- set {time} to 606
- while {timer} is true:
- remove 1 from {time}
- loop all players:
- if {yakusyoku.%loop-player%} is not set:
- set action bar of loop-player to "&f残り時間: &f&l%{time}%"
- if {yakusyoku.%loop-player%} is set:
- if {yakusyoku.%loop-player%} is "jinnrou":
- set action bar of loop-player to "&f残り時間: &f&l%{time}% &r&4あなたの役職: &4&l人狼 &r&4/jc [message]で人狼にだけ見えるチャットを送信できます"
- if {yakusyoku.%loop-player%} is "kyouzinn":
- set action bar of loop-player to "&f残り時間: &f&l%{time}% &r&5あなたの役職: &5&l狂人"
- if {yakusyoku.%loop-player%} is "murabito":
- set action bar of loop-player to "&f残り時間: &f&l%{time}% &r&aあなたの役職: &a&l村人"
- if {yakusyoku.%loop-player%} is "yogennsya":
- set action bar of loop-player to "&f残り時間: &f&l%{time}% &r&1あなたの役職: &1&l預言者 &r&1/uranai [player]で占いの能力を使えます"
- if {yakusyoku.%loop-player%} is "reibaisi":
- set action bar of loop-player to "&f残り時間: &f&l%{time}% &r&6あなたの役職: &6&l霊媒師 &r&6/reibai [player]で霊媒の能力を使えます"
- if {time} is 602:
- if {used-time-602} is not true:
- set {used-time-602} to true
- loop all players:
- send loop-player title "&d&lマイクラ人狼" for 2 seconds
- play sound "entity.arrow.hit_player" with volume 50 and pitch 0 at loop-player for loop-player
- if {time} is 600:
- if {used-time-600} is true:
- loop all players:
- send "{@j} &a残り時間は600秒です。" to loop-player
- if {used-time-600} is not true:
- set {used-time-600} to true
- loop all players:
- send loop-player title "&d&lマイクラ人狼" with subtitle "&c&lSTART!" for 2 seconds
- play sound "entity.arrow.hit_player" with volume 50 and pitch 1 at loop-player for loop-player
- if {yakusyoku.%loop-player%} is "jinnrou":
- send "{@j} &eあなたの役職は &4&l人狼 &r&eです。" to loop-player
- if {sannkaninnzuu} is smaller than 7:
- send "{@j} &c今回の人狼は &c&l[%{jinnrou1}%] &r&cです。" to loop-player
- if {sannkaninnzuu} is 7 or 8:
- send "{@j} &c今回の人狼は &c&l[%{jinnrou1}%], [%{jinnrou2}%] &r&cです。" to loop-player
- if {sannkaninnzuu} is higher than 8:
- send "{@j} &c今回の人狼は &c&l[%{jinnrou1}%], [%{jinnrou2}%], [%{jinnrou3}%] &r&cです。" to loop-player
- send "{@j} &6/jc [message]&eで人狼にだけ見えるチャットを送信できます。" to loop-player
- if {yakusyoku.%loop-player%} is "kyouzinn":
- send "{@j} &eあなたの役職は &5&l狂人 &r&eです。" to loop-player
- if {yakusyoku.%loop-player%} is "murabito":
- send "{@j} &eあなたの役職は &a&l村人 &r&eです。" to loop-player
- if {yakusyoku.%loop-player%} is "yogennsya":
- send "{@j} &eあなたの役職は &1&l預言者 &r&eです。" to loop-player
- send "{@j} &1/uranai [player] &eでプレイヤーを一人だけ占うことができます。" to loop-player
- if {yakusyoku.%loop-player%} is "reibaisi":
- send "{@j} &eあなたの役職は &6&l霊媒師 &r&eです。" to loop-player
- send "{@j} &6/reibai [player] &eでプレイヤーが死んでいる場合はプレイヤーの役職、" to loop-player
- send "{@j} &e生きている場合は、生きていることが通知されます。" to loop-player
- if {yakusyoku.%loop-player%} is not set:
- send "{@j} &fあなたはゲームに参加しませんでした。" to loop-player
- send "{@j} &f/kansen joinとうつことで現在のゲームを観戦できます。" to loop-player
- if {time} is 599:
- if {used-time-599} is not true:
- set {used-time-599} to true
- loop all players:
- if {yakusyoku.%loop-player%} is set:
- make console execute command "/give %loop-player% minecraft:bow 1 0 {HideFlags:5,Unbreakable:1,display:{Name:""§a§l人狼ゲームの弓"",Lore:[""§7どんな相手でも一発で倒せちゃう!""]},ench:[{id:48,lvl:30000},{id:51,lvl:1}]}"
- make console execute command "/give %loop-player% minecraft:arrow 1 0 {HideFlags:5,Unbreakable:1,display:{Name:""§a§l人狼ゲームの矢""},ench:[{id:48,lvl:30000},{id:51,lvl:1}]}"
- broadcast "{@j} &9=================[&a役職の人数&9]================="
- if {sannkaninnzuu} is 4:
- broadcast "{@j} &4[人狼] × 1"
- broadcast "{@j} &a[村人] × 3"
- if {sannkaninnzuu} is 5:
- broadcast "{@j} &4[人狼] × 1"
- broadcast "{@j} &5[狂人] × 1"
- broadcast "{@j} &1[預言者] × 1"
- broadcast "{@j} &a[村人] × 2"
- if {sannkaninnzuu} is 6:
- broadcast "{@j} &4[人狼] × 1"
- broadcast "{@j} &5[狂人] × 1"
- broadcast "{@j} &1[預言者] × 1"
- broadcast "{@j} &a[村人] × 3"
- if {sannkaninnzuu} is 7:
- broadcast "{@j} &4[人狼] × 2"
- broadcast "{@j} &5[狂人] × 1"
- broadcast "{@j} &1[預言者] × 1"
- broadcast "{@j} &6[霊媒師] × 1"
- broadcast "{@j} &a[村人] × 2"
- if {sannkaninnzuu} is 8:
- broadcast "{@j} &4[人狼] × 2"
- broadcast "{@j} &5[狂人] × 1"
- broadcast "{@j} &1[預言者] × 1"
- broadcast "{@j} &6[霊媒師] × 1"
- broadcast "{@j} &a[村人] × 3"
- if {sannkaninnzuu} is 9:
- broadcast "{@j} &4[人狼] × 3"
- broadcast "{@j} &5[狂人] × 1"
- broadcast "{@j} &1[預言者] × 1"
- broadcast "{@j} &6[霊媒師] × 1"
- broadcast "{@j} &a[村人] × 3"
- if {sannkaninnzuu} is 10:
- broadcast "{@j} &4[人狼] × 3"
- broadcast "{@j} &5[狂人] × 1"
- broadcast "{@j} &1[預言者] × 1"
- broadcast "{@j} &6[霊媒師] × 1"
- broadcast "{@j} &a[村人] × 4"
- broadcast "{@j} &9=================================================="
- if {stopgame} is true:
- delete {stopgame}
- broadcast "{@j} &4ゲームが強制終了されました。"
- set {sannkaninnzuu} to 0
- set {_integer} to 0
- loop 10 times:
- add 1 to {_integer}
- delete {murabito%{_integer}%}
- delete {jinnrou%{_integer}%}
- delete {kyouzinn%{_integer}%}
- delete {yogennsya%{_integer}%}
- delete {reibaisi%{_integer}%}
- delete {playing.%{sannka%{_integer}%}%}
- delete {died.%{sannka%{_integer}%}%}
- loop all players:
- teleport loop-player to {firstjoinlocation}
- set loop-player's gamemode to survival
- clear loop-player's inventory
- delete {playing.%loop-player%}
- delete {died.%loop-player%}
- delete {used.%loop-player%}
- delete {yakusyoku.%loop-player%}
- set loop-player's tablist name to "&f%loop-player%"
- set {state} to false
- set {started} to false
- set {time} to 0
- set {timer} to false
- stop
- if {time} is 500:
- loop all players:
- send "{@j} &a残り時間は500秒です。" to loop-player
- if {time} is 400:
- loop all players:
- send "{@j} &a残り時間は400秒です。" to loop-player
- if {time} is 300:
- loop all players:
- send "{@j} &e残り時間は300秒です。" to loop-player
- if {time} is 200:
- loop all players:
- send "{@j} &6残り時間は200秒です。" to loop-player
- if {time} is 100:
- if {used-time-100}
- loop all players:
- send "{@j} &c残り時間は100秒です。" to loop-player
- if {jinnroucount} is smaller than 1:
- if {murabitocount} is smaller than 1:
- loop all players:
- send loop-player title "&6&l引き分けです" with subtitle "&6&l村人と人狼が全滅しました。" for 2 seconds
- play sound "entity.zombie.break_door_wood" with volume 50 and pitch 1 at loop-player for loop-player
- set {time} to 0
- set {timer} to false
- set {_integer} to 0
- wait 5 seconds
- delete {used-time-602}
- delete {used-time-600}
- delete {used-time-599}
- loop all players:
- teleport loop-player to {firstjoinlocation}
- set loop-player's gamemode to survival
- clear loop-player's inventory
- delete {playing.%loop-player%}
- delete {died.%loop-player%}
- delete {used.%loop-player%}
- set loop-player's tablist name to "&f%loop-player%"
- set {state} to false
- set {started} to false
- broadcast "{@j} &6=================[&d今回の内訳&6]================="
- broadcast "{@j} &b勝利陣営: なし"
- if {sannkaninnzuu} is 4:
- broadcast "{@j} &4人狼: [%{jinnrou1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 5:
- broadcast "{@j} &4人狼: [%{jinnrou1}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%]"
- if {sannkaninnzuu} is 6:
- broadcast "{@j} &4人狼: [%{jinnrou1}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 7:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%]"
- if {sannkaninnzuu} is 8:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 9:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%], [%{jinnrou3}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 10:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%], [%{jinnrou3}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%], [%{murabito4}%]"
- broadcast "{@j} &6============================================"
- set {sannkaninnzuu} to 0
- loop 10 times:
- add 1 to {_integer}
- delete {yakusyoku.%{sannka%{_integer}%}%}
- delete {murabito%{_integer}%}
- delete {jinnrou%{_integer}%}
- delete {kyouzinn%{_integer}%}
- delete {yogennsya%{_integer}%}
- delete {reibaisi%{_integer}%}
- delete {playing.%{sannka%{_integer}%}%}
- delete {died.%{sannka%{_integer}%}%}
- stop
- if {murabitocount} is higher than 0:
- loop all players:
- send loop-player title "&a&l村人の勝利です!" with subtitle "&a&l人狼が全滅しました。" for 2 seconds
- play sound "entity.player.levelup" with volume 50 and pitch 0 at loop-player for loop-player
- set {time} to 0
- set {timer} to false
- set {_integer} to 0
- wait 5 seconds
- delete {used-time-602}
- delete {used-time-600}
- delete {used-time-599}
- loop all players:
- teleport loop-player to {firstjoinlocation}
- set loop-player's gamemode to survival
- clear loop-player's inventory
- delete {playing.%loop-player%}
- delete {died.%loop-player%}
- delete {used.%loop-player%}
- set loop-player's tablist name to "&f%loop-player%"
- set {state} to false
- set {started} to false
- broadcast "{@j} &6=================[&d今回の内訳&6]================="
- broadcast "{@j} &b勝利陣営: 村人陣営"
- if {sannkaninnzuu} is 4:
- broadcast "{@j} &4人狼: [%{jinnrou1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 5:
- broadcast "{@j} &4人狼: [%{jinnrou1}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%]"
- if {sannkaninnzuu} is 6:
- broadcast "{@j} &4人狼: [%{jinnrou1}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 7:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%]"
- if {sannkaninnzuu} is 8:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 9:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%], [%{jinnrou3}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 10:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%], [%{jinnrou3}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%], [%{murabito4}%]"
- broadcast "{@j} &6============================================"
- set {sannkaninnzuu} to 0
- loop 10 times:
- add 1 to {_integer}
- delete {yakusyoku.%{sannka%{_integer}%}%}
- delete {murabito%{_integer}%}
- delete {jinnrou%{_integer}%}
- delete {kyouzinn%{_integer}%}
- delete {yogennsya%{_integer}%}
- delete {reibaisi%{_integer}%}
- delete {sannka%{_integer}%}
- delete {playing.%{sannka%{_integer}%}%}
- delete {died.%{sannka%{_integer}%}%}
- stop
- if {murabitocount} is smaller than 1:
- if {jinnroucount} is smaller than 1:
- loop all players:
- send loop-player title "&6&l引き分けです" with subtitle "&6&l村人と人狼が全滅しました。" for 2 seconds
- play sound "entity.zombie.break_door_wood" with volume 50 and pitch 1 at loop-player for loop-player
- set {time} to 0
- set {timer} to false
- set {_integer} to 0
- wait 5 seconds
- delete {used-time-602}
- delete {used-time-600}
- delete {used-time-599}
- loop all players:
- teleport loop-player to {firstjoinlocation}
- set loop-player's gamemode to survival
- clear loop-player's inventory
- delete {playing.%loop-player%}
- delete {died.%loop-player%}
- delete {used.%loop-player%}
- set loop-player's tablist name to "&f%loop-player%"
- set {state} to false
- set {started} to false
- broadcast "{@j} &6=================[&d今回の内訳&6]================="
- broadcast "{@j} &b勝利陣営: なし"
- if {sannkaninnzuu} is 4:
- broadcast "{@j} &4人狼: [%{jinnrou1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 5:
- broadcast "{@j} &4人狼: [%{jinnrou1}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%]"
- if {sannkaninnzuu} is 6:
- broadcast "{@j} &4人狼: [%{jinnrou1}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 7:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%]"
- if {sannkaninnzuu} is 8:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 9:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%], [%{jinnrou3}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 10:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%], [%{jinnrou3}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%], [%{murabito4}%]"
- broadcast "{@j} &6============================================"
- set {sannkaninnzuu} to 0
- loop 10 times:
- add 1 to {_integer}
- delete {yakusyoku.%{sannka%{_integer}%}%}
- delete {murabito%{_integer}%}
- delete {jinnrou%{_integer}%}
- delete {kyouzinn%{_integer}%}
- delete {yogennsya%{_integer}%}
- delete {reibaisi%{_integer}%}
- delete {sannka%{_integer}%}
- delete {playing.%{sannka%{_integer}%}%}
- delete {died.%{sannka%{_integer}%}%}
- stop
- if {jinnroucount} is higher than 0:
- loop all players:
- send loop-player title "&c&l人狼の勝利です!" with subtitle "&c&l村人が全滅しました。" for 2 seconds
- play sound "entity.wither.death" with volume 50 and pitch 1 at loop-player for loop-player
- set {winner} to "jinnrou"
- set {time} to 0
- set {timer} to false
- set {_integer} to 0
- wait 5 seconds
- delete {used-time-602}
- delete {used-time-600}
- delete {used-time-599}
- loop all players:
- teleport loop-player to {firstjoinlocation}
- set loop-player's gamemode to survival
- clear loop-player's inventory
- delete {playing.%loop-player%}
- delete {died.%loop-player%}
- delete {used.%loop-player%}
- set loop-player's tablist name to "&f%loop-player%"
- set {state} to false
- set {started} to false
- broadcast "{@j} &6=================[&d今回の内訳&6]================="
- broadcast "{@j} &b勝利陣営: 人狼陣営"
- if {sannkaninnzuu} is 4:
- broadcast "{@j} &4人狼: [%{jinnrou1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 5:
- broadcast "{@j} &4人狼: [%{jinnrou1}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%]"
- if {sannkaninnzuu} is 6:
- broadcast "{@j} &4人狼: [%{jinnrou1}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 7:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%]"
- if {sannkaninnzuu} is 8:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 9:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%], [%{jinnrou3}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 10:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%], [%{jinnrou3}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%], [%{murabito4}%]"
- broadcast "{@j} &6============================================"
- set {sannkaninnzuu} to 0
- loop 10 times:
- add 1 to {_integer}
- delete {yakusyoku.%{sannka%{_integer}%}%}
- delete {murabito%{_integer}%}
- delete {jinnrou%{_integer}%}
- delete {kyouzinn%{_integer}%}
- delete {yogennsya%{_integer}%}
- delete {reibaisi%{_integer}%}
- delete {sannka%{_integer}%}
- delete {playing.%{sannka%{_integer}%}%}
- delete {died.%{sannka%{_integer}%}%}
- stop
- if {time} is smaller than 1:
- set {timer} to false
- loop all players:
- send loop-player title "&6&l引き分けです" with subtitle "&c&l制限時間を過ぎました。" for 2 seconds
- play sound "entity.player.levelup" with volume 50 and pitch 1 at loop-player for loop-player
- set {time} to 0
- set {timer} to false
- set {_integer} to 0
- wait 5 seconds
- delete {used-time-602}
- delete {used-time-600}
- delete {used-time-599}
- loop all players:
- teleport loop-player to {firstjoinlocation}
- set loop-player's gamemode to survival
- clear loop-player's inventory
- delete {used.%loop-player%}
- delete {playing.%loop-player%}
- delete {died.%loop-player%}
- set loop-player's tablist name to "&f%loop-player%"
- set {state} to false
- set {started} to false
- broadcast "{@j} &6=================[&d今回の内訳&6]================="
- broadcast "{@j} &b勝利陣営: 村人陣営"
- if {sannkaninnzuu} is 4:
- broadcast "{@j} &4人狼: [%{jinnrou1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 5:
- broadcast "{@j} &4人狼: [%{jinnrou1}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%]"
- if {sannkaninnzuu} is 6:
- broadcast "{@j} &4人狼: [%{jinnrou1}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 7:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%]"
- if {sannkaninnzuu} is 8:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 9:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%], [%{jinnrou3}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%]"
- if {sannkaninnzuu} is 10:
- broadcast "{@j} &4人狼: [%{jinnrou1}%], [%{jinnrou2}%], [%{jinnrou3}%]"
- broadcast "{@j} &5狂人: [%{kyouzinn1}%]"
- broadcast "{@j} &1預言者: [%{yogennsya1}%]"
- broadcast "{@j} &6霊媒師: [%{reibaisi1}%]"
- broadcast "{@j} &a村人: [%{murabito1}%], [%{murabito2}%], [%{murabito3}%], [%{murabito4}%]"
- broadcast "{@j} &6============================================"
- set {sannkaninnzuu} to 0
- loop 10 times:
- add 1 to {_integer}
- delete {yakusyoku.%{sannka%{_integer}%}%}
- delete {murabito%{_integer}%}
- delete {jinnrou%{_integer}%}
- delete {kyouzinn%{_integer}%}
- delete {yogennsya%{_integer}%}
- delete {reibaisi%{_integer}%}
- delete {sannka%{_integer}%}
- delete {playing.%{sannka%{_integer}%}%}
- delete {died.%{sannka%{_integer}%}%}
- stop
- wait 1 second
- if arg 1 is "view":
- if player is not an op:
- send "{@j} &c権限がありません。"
- if player is an op:
- send "{@j} &e現在の参加者は %{sannka1}% %{sannka2}% %{sannka3}% %{sannka4}% %{sannka5}% %{sannka6}% %{sannka7}% %{sannka8}% %{sannka9}% %{sannka10}%"
- send "{@j} &e参加人数は &e&l%{sannkaninnzuu}% &r&e人です。"
- if arg 1 is "locate":
- if player is not an op:
- send "{@j} &c権限がありません。"
- if player is an op:
- if arg 2 is not set:
- set {_integer} to 0
- loop 10 times:
- add 1 to {_integer}
- send "{@j} locate %{_integer}% %{location%{_integer}%}%"
- if arg 2 is set:
- if arg 2 is higher than 0:
- if arg 2 is smaller than 11:
- set {location%arg 2%} to location of player
- send "{@j} &e{location%arg 2%}を%location of player%に設定しました。"
- if arg 1 is "stop":
- if player is not an op:
- send "{@j} &c権限がありません。"
- else:
- send "{@j} &c/j accept と10秒以内に入力することで、ゲームを強制終了できます。"
- send "{@j} &e&o※注意。よく考えて使用してください。"
- set {accept} to true
- wait 10 seconds
- if {accept} is true:
- delete {accept}
- send "{@j} &c{accept}はfalseになりました。"
- if arg 1 is "accept":
- if player is not an op:
- send "{@j} &c権限がありません。"
- else:
- if {accept} is true:
- set {stopgame} to true
- delete {accept}
- send "{@j} &cゲームは停止されます。"
- if arg 1 is "info":
- if {timer} is true:
- if {yakusyoku.%player%} is set:
- if {died.%player%} is true:
- open chest with 5 rows named "&6参加人数&a: %{sannkaninnzuu}%" to player
- else:
- send "{@j} &cゲームに参加して、なおかつ死んでいないので使用できません。"
- else:
- open chest with 5 rows named "&6参加人数&a: %{sannkaninnzuu}%" to player
- else:
- send "{@j} &cゲームが始まっていないため使用できません。"
- on right click with stick:
- if name of player's tool is "glowing rod":
- apply glowing to targeted player for 10 seconds
- command /var [<text>] [<integer>]:
- trigger:
- if player is not an op:
- send "{@j} &c権限がありません。"
- else:
- if arg 1 is "sannkaninnzuu":
- set {sannkaninnzuu} to arg 2
- send "{@j} &e設定しました。"
- if arg 1 is "state":
- if arg 2 is not set:
- send "{@j} &e%{state}%"
- if arg 2 is 1:
- set {state} to true
- send "{@j} &e%{state}%"
- if arg 2 is 2:
- set {state} to false
- send "{@j} &e%{state}%"
- if arg 1 is "timer":
- if arg 2 is not set:
- send "{@j} &e%{timer}%"
- if arg 2 is 1:
- set {timer} to true
- send "{@j} &e%{timer}%"
- if arg 2 is 2:
- set {timer} to false
- send "{@j} &e%{timer}%"
- if arg 1 is "started":
- if arg 2 is not set:
- send "{@j} &e%{started}%"
- if arg 2 is 1:
- set {started} to true
- send "{@j} &e%{started}%"
- if arg 2 is 2:
- set {started} to false
- send "{@j} &e%{started}%"
- if arg 1 is "time":
- if arg 2 is not set:
- send "{@j} &e%{time}%"
- if arg 2 is set:
- if arg 2 is between 0 and 9999:
- set {time} to arg 2
- send "{@j} &e%{time}%"
- else:
- send "{@j} &cその数値は無効です。"
- command /uranai [<player>]:
- trigger:
- if {yakusyoku.%player%} is "yogennsya":
- if {died.%player%} is set:
- send "{@j} &c死亡しているため使用できません。"
- if {died.%player%} is not set:
- if {used.%player%} is true:
- send "{@j} &c使用済みです。"
- else:
- if arg 1 is not set:
- send "{@j} 使用例: /uranai [player]"
- if arg 1 is set:
- if {yakusyoku.%arg 1%} is not set:
- send "{@j} &cそのプレイヤーはゲームに参加していません。"
- if {yakusyoku.%arg 1%} is set:
- if {yakusyoku.%arg 1%} is "yogennsya", "reibaisi", "kyouzinn" or "murabito":
- send "&c[GM] &a%arg 1% &eは、&a&l人狼ではありません。"
- set {used.%player%} to true
- if {yakusyoku.%arg 1%} is "jinnrou":
- send "&c[GM] &a%arg 1% &eは、&4&l人狼です。"
- set {used.%player%} to true
- if {yakusyoku.%arg 1%} is "youko":
- send "&c[GM] &a%arg 1% &eは、&a&l人狼ではありません。"
- set {used.%player%} to true
- broadcast "{@j} &d%arg 1%&eが呪殺されました。"
- send "{@j} &c貴方は&6%player%&cに呪殺されました。" to arg 1
- clear arg 1's inventory
- add 30 to {time}
- set {died.%arg 1%} to true
- remove 1 from {youkocount}
- set arg 1's gamemode to spectator
- set arg 1's tablist name to " "
- else:
- send "{@j} &c貴方の役職はこのコマンドを使用することができません。"
- command /reibai [<player>]:
- trigger:
- if {yakusyoku.%player%} is "reibaisi":
- if {died.%player%} is set:
- send "{@j} &c死亡しているため使用できません。"
- if {died.%player%} is not set:
- if {used.%player%} is true:
- send "{@j} &c使用済みです。"
- else:
- if arg 1 is not set:
- send "{@j} 使用例: /reibai [player]"
- if arg 1 is set:
- if {yakusyoku.%arg 1%} is not set:
- send "{@j} &cそのプレイヤーはゲームに参加していません。"
- if {yakusyoku.%arg 1%} is set:
- if {died.%arg 1%} is true:
- if {yakusyoku.%arg 1%} is "yogennsya", "reibaisi", "kyouzinn", "kyouyuusya", "kyousinnsya", "sasayakukyouzinn", "kennzya", "wanasi", "kariudo", "nekomata", "kuroneko", "haitokusya" or "murabito":
- send "&c[GM] &a%arg 1% &eは、&a&l人狼ではありません。"
- set {used.%player%} to true
- if {yakusyoku.%arg 1%} is "jinnrou":
- send "&c[GM] &a%arg 1% &eは、&4&l人狼です。"
- set {used.%player%} to true
- else:
- send "&c[GM] &a%arg 1% &eは、&b生存しています。"
- else:
- send "{@j} &c貴方の役職はこのコマンドを使用することができません。"
- command /yakusyoku [<integer>]:
- trigger:
- if player is not an op:
- send "{@j} &c権限がありません。"
- if player is an op:
- if arg 1 is not set:
- send "{@j} &c内容が含まれていません。"
- if arg 1 is set:
- if arg 1 is 1:
- loop {servermember::*}:
- if {yakusyoku.%loop-value%} is set:
- send "{@j} &e%loop-value% %{yakusyoku.%loop-value%}%"
- if arg 1 is 2:
- set {_integer} to 0
- loop 10 times:
- add 1 to {_integer}
- send "{@j} %{sannka%{_integer}%}% : %{yakusyoku.%{sannka%{_integer}%}%}%"
- command /oukyuu:
- trigger:
- if player is not an op:
- send "{@j} &c権限がありません。"
- if player is an op:
- set {_integer} to 0
- loop 10 times:
- add 1 to {_integer}
- delete {yakusyoku.%{sannka%{_integer}%}%}
- delete {murabito%{_integer}%}
- delete {jinnrou%{_integer}%}
- delete {kyouzinn%{_integer}%}
- delete {yogennsya%{_integer}%}
- delete {reibaisi%{_integer}%}
- delete {sannka%{_integer}%}
- delete {playing.%{sannka%{_integer}%}%}
- delete {died.%{sannka%{_integer}%}%}
- delete {used-time-602}
- delete {used-time-600}
- delete {used-time-599}
- set {started} to false
- set {sannkaninnzuu} to 0
- loop all players:
- delete {yakusyoku.%loop-player%}
- set loop-player's tablist name to "&f%loop-player%"
- command /distance [<player>]:
- trigger:
- if player is not an op:
- send "{@j} &c権限がありません。"
- if player is an op:
- set {_a} to distance between player and arg 1
- send "{@j} &6%player%&aと&6%arg 1%&aの距離は&b%{_a}%&aMです!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement