sugntlna 94c94c97e78e49b991177e3dc203b6a8
이해도 | 초보자 |
---|---|
게임버전 (JE) | 1.20.1 |
게임버전 (BE) | 관련없음 |
스크립트 버전 | 2.7.0-dev3 |
command /taggame:
trigger:
if {taggameplayerlist} is not 12:
if {taggamereplaydelay.%player%} is 0:
if {taggameplaydelay.%player%} is not 1:
send "참가 가능한 게임을 찾았습니다! 대기실로 이동합니다." to player
set {taggameplaydelay.%player%} to 1
add 1 to {taggameplayerlist}
set {taggameplayerlistcount.%player%} to "%{taggameplayerlist}%"
set {taggameplayer%{taggameplayerlist}%} to "%player%"
set {taggamescoreboard.%player%} to 1
give 1 of dark oak door named "&c[ TAG GAME ] 나가기" with lore "태그 게임 나가기" to player
set {taggamestat.%player%} to "다른 참가자를 기다리는 중.."
set {taggameplaydelay.%player%} to 1
set {taggameplayscm.%player%} to 1
else:
send "게임 참여 중에는 명령어를 사용할 수 없습니다." to player
else:
send "플레이에 40초 제한이 있습니다. 40초가 지난 후 다시 시도해주세요." to player
else:
send "인원이 꽉 찼습니다. 게임이 끝나거나 유저가 나갈 때 까지 기다린 후 다시 시도해주세요." to player
on command:
if {taggameplaydelay.%player%} is 1:
if sender is not op:
cancel event
message "게임 참여 중에는 명령어를 사용할 수 없습니다." to player
every 1 ticks:
loop all players:
if {taggameplayer1} is not set:
if {taggameplayer2} is set:
set {taggameplayer1} to "%{taggameplayer2}%"
set {taggameplayer2} to "%{taggameplayer3}%"
set {taggameplayer3} to "%{taggameplayer4}%"
set {taggameplayer4} to "%{taggameplayer5}%"
set {taggameplayer5} to "%{taggameplayer6}%"
set {taggameplayer6} to "%{taggameplayer7}%"
set {taggameplayer7} to "%{taggameplayer8}%"
set {taggameplayer8} to "%{taggameplayer9}%"
set {taggameplayer9} to "%{taggameplayer10}%"
set {taggameplayer10} to "%{taggameplayer11}%"
set {taggameplayer11} to "%{taggameplayer12}%"
delete {taggameplayer12}
if {taggameplayer2} is not set:
if {taggameplayer3} is set:
set {taggameplayer2} to "%{taggameplayer3}%"
set {taggameplayer3} to "%{taggameplayer4}%"
set {taggameplayer4} to "%{taggameplayer5}%"
set {taggameplayer5} to "%{taggameplayer6}%"
set {taggameplayer6} to "%{taggameplayer7}%"
set {taggameplayer7} to "%{taggameplayer8}%"
set {taggameplayer8} to "%{taggameplayer9}%"
set {taggameplayer9} to "%{taggameplayer10}%"
set {taggameplayer10} to "%{taggameplayer11}%"
set {taggameplayer11} to "%{taggameplayer12}%"
delete {taggameplayer12}
if {taggameplayer3} is not set:
if {taggameplayer4} is set:
set {taggameplayer3} to "%{taggameplayer4}%"
set {taggameplayer4} to "%{taggameplayer5}%"
set {taggameplayer5} to "%{taggameplayer6}%"
set {taggameplayer6} to "%{taggameplayer7}%"
set {taggameplayer7} to "%{taggameplayer8}%"
set {taggameplayer8} to "%{taggameplayer9}%"
set {taggameplayer9} to "%{taggameplayer10}%"
set {taggameplayer10} to "%{taggameplayer11}%"
set {taggameplayer11} to "%{taggameplayer12}%"
delete {taggameplayer12}
if {taggameplayer4} is not set:
if {taggameplayer5} is set:
set {taggameplayer4} to "%{taggameplayer5}%"
set {taggameplayer5} to "%{taggameplayer6}%"
set {taggameplayer6} to "%{taggameplayer7}%"
set {taggameplayer7} to "%{taggameplayer8}%"
set {taggameplayer8} to "%{taggameplayer9}%"
set {taggameplayer9} to "%{taggameplayer10}%"
set {taggameplayer10} to "%{taggameplayer11}%"
set {taggameplayer11} to "%{taggameplayer12}%"
delete {taggameplayer12}
if {taggameplayer5} is not set:
if {taggameplayer6} is set:
set {taggameplayer5} to "%{taggameplayer6}%"
set {taggameplayer6} to "%{taggameplayer7}%"
set {taggameplayer7} to "%{taggameplayer8}%"
set {taggameplayer8} to "%{taggameplayer9}%"
set {taggameplayer9} to "%{taggameplayer10}%"
set {taggameplayer10} to "%{taggameplayer11}%"
set {taggameplayer11} to "%{taggameplayer12}%"
delete {taggameplayer12}
if {taggameplayer6} is not set:
if {taggameplayer7} is set:
set {taggameplayer6} to "%{taggameplayer7}%"
set {taggameplayer7} to "%{taggameplayer8}%"
set {taggameplayer8} to "%{taggameplayer9}%"
set {taggameplayer9} to "%{taggameplayer10}%"
set {taggameplayer10} to "%{taggameplayer11}%"
set {taggameplayer11} to "%{taggameplayer12}%"
delete {taggameplayer12}
if {taggameplayer7} is not set:
if {taggameplayer8} is set:
set {taggameplayer7} to "%{taggameplayer8}%"
set {taggameplayer8} to "%{taggameplayer9}%"
set {taggameplayer9} to "%{taggameplayer10}%"
set {taggameplayer10} to "%{taggameplayer11}%"
set {taggameplayer11} to "%{taggameplayer12}%"
delete {taggameplayer12}
if {taggameplayer8} is not set:
if {taggameplayer9} is set:
set {taggameplayer8} to "%{taggameplayer9}%"
set {taggameplayer9} to "%{taggameplayer10}%"
set {taggameplayer10} to "%{taggameplayer11}%"
set {taggameplayer11} to "%{taggameplayer12}%"
delete {taggameplayer12}
if {taggameplayer9} is not set:
if {taggameplayer10} is set:
set {taggameplayer9} to "%{taggameplayer10}%"
set {taggameplayer10} to "%{taggameplayer11}%"
set {taggameplayer11} to "%{taggameplayer12}%"
delete {taggameplayer12}
if {taggameplayer10} is not set:
if {taggameplayer11} is set:
set {taggameplayer10} to "%{taggameplayer11}%"
set {taggameplayer11} to "%{taggameplayer12}%"
delete {taggameplayer12}
if {taggameplayer11} is not set:
if {taggameplayer12} is set:
set {taggameplayer11} to "%{taggameplayer12}%"
delete {taggameplayer12}
on rightclick with dark oak door:
if name of player's tool is "&c[ TAG GAME ] 나가기":
if {taggameplayer1} is "%player%":
delete {taggameplayer1}
message "&c태그 게임을 나갔습니다." to player
remove 1 from {taggameplayerlist}
delete {taggameplaydelay.%player%}
delete {taggameplayerlistcount.%player%}
execute console command "/clear %player%"
set {taggameplay1and2delay} to 0
set {taggamescoreboard.%player%} to 0
stop
if {taggameplayer2} is "%player%":
delete {taggameplayer2}
message "&c태그 게임을 나갔습니다." to player
remove 1 from {taggameplayerlist}
delete {taggameplaydelay.%player%}
delete {taggameplayerlistcount.%player%}
execute console command "/clear %player%"
set {taggameplay1and2delay} to 0
set {taggamescoreboard.%player%} to 0
stop
if {taggameplayer3} is "%player%":
delete {taggameplayer3}
message "&c태그 게임을 나갔습니다." to player
remove 1 from {taggameplayerlist}
delete {taggameplaydelay.%player%}
delete {taggameplayerlistcount.%player%}
execute console command "/clear %player%"
set {taggameplay3and4delay} to 0
set {taggamescoreboard.%player%} to 0
stop
if {taggameplayer4} is "%player%":
delete {taggameplayer4}
message "&c태그 게임을 나갔습니다." to player
remove 1 from {taggameplayerlist}
delete {taggameplaydelay.%player%}
delete {taggameplayerlistcount.%player%}
execute console command "/clear %player%"
set {taggameplay3and4delay} to 0
set {taggamescoreboard.%player%} to 0
stop
if {taggameplayer5} is "%player%":
delete {taggameplayer5}
message "&c태그 게임을 나갔습니다." to player
remove 1 from {taggameplayerlist}
delete {taggameplaydelay.%player%}
delete {taggameplayerlistcount.%player%}
execute console command "/clear %player%"
set {taggameplay5and6delay} to 0
set {taggamescoreboard.%player%} to 0
stop
if {taggameplayer6} is "%player%":
delete {taggameplayer6}
message "&c태그 게임을 나갔습니다." to player
remove 1 from {taggameplayerlist}
delete {taggameplaydelay.%player%}
delete {taggameplayerlistcount.%player%}
execute console command "/clear %player%"
set {taggameplay5and6delay} to 0
set {taggamescoreboard.%player%} to 0
stop
if {taggameplayer7} is "%player%":
delete {taggameplayer7}
message "&c태그 게임을 나갔습니다." to player
remove 1 from {taggameplayerlist}
delete {taggameplaydelay.%player%}
delete {taggameplayerlistcount.%player%}
execute console command "/clear %player%"
set {taggameplay7and8delay} to 0
set {taggamescoreboard.%player%} to 0
stop
if {taggameplayer8} is "%player%":
delete {taggameplayer8}
message "&c태그 게임을 나갔습니다." to player
remove 1 from {taggameplayerlist}
delete {taggameplaydelay.%player%}
delete {taggameplayerlistcount.%player%}
execute console command "/clear %player%"
set {taggameplay7and8delay} to 0
set {taggamescoreboard.%player%} to 0
stop
if {taggameplayer9} is "%player%":
delete {taggameplayer9}
message "&c태그 게임을 나갔습니다." to player
remove 1 from {taggameplayerlist}
delete {taggameplaydelay.%player%}
delete {taggameplayerlistcount.%player%}
execute console command "/clear %player%"
set {taggameplay9and10delay} to 0
set {taggamescoreboard.%player%} to 0
stop
if {taggameplayer10} is "%player%":
delete {taggameplayer10}
message "&c태그 게임을 나갔습니다." to player
remove 1 from {taggameplayerlist}
delete {taggameplaydelay.%player%}
delete {taggameplayerlistcount.%player%}
execute console command "/clear %player%"
set {taggameplay9and10delay} to 0
set {taggamescoreboard.%player%} to 0
stop
if {taggameplayer11} is "%player%":
delete {taggameplayer11}
message "&c태그 게임을 나갔습니다." to player
remove 1 from {taggameplayerlist}
delete {taggameplaydelay.%player%}
delete {taggameplayerlistcount.%player%}
execute console command "/clear %player%"
set {taggameplay11and12delay} to 0
set {taggamescoreboard.%player%} to 0
stop
if {taggameplayer12} is "%player%":
delete {taggameplayer12}
message "&c태그 게임을 나갔습니다." to player
remove 1 from {taggameplayerlist}
delete {taggameplaydelay.%player%}
delete {taggameplayerlistcount.%player%}
execute console command "/clear %player%"
set {taggameplay11and12delay} to 0
set {taggamescoreboard.%player%} to 0
stop
every 1 seconds:
loop all players:
if {taggamescoreboard.%loop-player%} is 1:
wipe loop-player's sidebar
set name of sidebar of loop-player to "&7&lTAG GAME"
set score "&c-&7-&c-&7-&c-&7-&c-&7-&c-&7-&c-&7[ &f&l%{taggameplayerlist}% 명&r&7 ]&c-&7-&c-&7-&c-&7-&c-&7-&c-&7-&c-" in sidebar of loop-player to 22
set score " " in sidebar of loop-player to 21
set score "맵 : GYM" in sidebar of loop-player to 20
set score " " in sidebar of loop-player to 19
set score "진행 상황 : %{taggamestat.%loop-player%}%" in sidebar of loop-player to 18
set score " " in sidebar of loop-player to 17
set score "남은 시간 : %{taggameplaytimescore.%loop-player%}%초" in sidebar of loop-player to 16
set score " " in sidebar of loop-player to 15
set score "버전 : v1.0ᴮᴱᵀᴬ" in sidebar of loop-player to 14
set score " " in sidebar of loop-player to 13
set score "1. %{taggameplayer1}%" in sidebar of loop-player to 12
set score "2. %{taggameplayer2}%" in sidebar of loop-player to 11
set score "3. %{taggameplayer3}%" in sidebar of loop-player to 10
set score "4. %{taggameplayer4}%" in sidebar of loop-player to 9
set score "5. %{taggameplayer5}%" in sidebar of loop-player to 8
set score "6. %{taggameplayer6}%" in sidebar of loop-player to 7
set score "7. %{taggameplayer7}%" in sidebar of loop-player to 6
set score "8. %{taggameplayer8}%" in sidebar of loop-player to 5
set score "9. %{taggameplayer9}%" in sidebar of loop-player to 4
set score "10. %{taggameplayer10}%" in sidebar of loop-player to 3
set score "11. %{taggameplayer11}%" in sidebar of loop-player to 2
set score "12. %{taggameplayer12}%" in sidebar of loop-player to 1
on rightclick on entity:
if entity's name is "[ &7TAG GAME &f]":
open chest with 3 rows named "&f[ &7TAG GAME &f]" to player
format slot 13 of player with lead named "&f[ &7TAG GAME &f]" with lore "게임" to close then run [execute player command "/taggame"]
every 1 ticks:
loop all players:
if {taggameplayscm.%loop-player%} is 1:
set {taggameplaytimescore.%loop-player%} to 0
set {taggameplayscm.%loop-player%} to 0
on quit:
if {taggameplaydelay.%player%} is 1:
execute console command "/clear %player%"
message "&c태그 게임을 나갔습니다."
remove 1 from {taggameplayerlist}
delete {taggameplaydelay.%player%}
delete {taggameplayerlistcount.%player%}
execute console command "/clear %player%"
set {taggamescoreboard.%player%} to 0
if {taggameplayer1} is "%player%":
execute console command "/execute in minecraft:spawn run tp %{taggameplayer2}% -1 -60 -1 180 0"
execute console command "/tellraw %{taggameplayer2}% ""게임 도중 참가자가 이탈하여 게임을 종료합니다."""
set {taggameplayscm.%{taggameplayer1}%} to 1
set {taggameplayscm.%{taggameplayer2}%} to 1
delete {taggametagger.%{taggameplayer1}%}
execute console command "/clear %{taggameplayer2}%"
execute console command "/clear %{taggameplayer1}%"
set {taggamereplaydelay.%{taggameplayer1}%} to 1
set {taggamereplaydelay.%{taggameplayer2}%} to 1
delete {taggameplayer1}
delete {taggameplayer2}
wait 40 seconds
set {taggameplaydelay1and2} to 1
remove 1 from {taggameplayerlist}
delete {taggameplaydelay.%player%}
delete {taggameplayerlistcount.%player%}
execute console command "/clear %player%"
set {taggameplay1and2delay} to 1
set {taggamescoreboard.%player%} to 0
stop
if {taggameplayer2} is "%player%":
execute console command "/execute in minecraft:spawn run tp %{taggameplayer1}% -1 -60 -1 180 0"
execute console command "/tellraw %{taggameplayer1}% ""게임 도중 참가자가 이탈하여 게임을 종료합니다."""
set {taggameplayscm.%{taggameplayer1}%} to 1
set {taggameplayscm.%{taggameplayer2}%} to 1
delete {taggametagger.%{taggameplayer1}%}
delete {taggameplaydelay.%{taggameplayer1}%}
execute console command "/clear %{taggameplayer1}%"
execute console command "/clear %{taggameplayer2}%"
set {taggamereplaydelay.%{taggameplayer1}%} to 1
set {taggamereplaydelay.%{taggameplayer2}%} to 1
delete {taggameplayer2}
delete {taggameplayer1}
remove 1 from {taggameplayerlist}
delete {taggameplaydelay.%player%}
delete {taggameplayerlistcount.%player%}
execute console command "/clear %player%"
set {taggameplay1and2delay} to 1
set {taggamescoreboard.%player%} to 0
stop
if {taggameplayer3} is "%player%":
execute console command "/execute in minecraft:spawn run tp %{taggameplayer4}% -1 -60 -1 180 0"
execute console command "/tellraw %{taggameplayer4}% ""게임 도중 참가자가 이탈하여 게임을 종료합니다."""
delete {taggametagger.%{taggameplayer3}%}
delete {taggameplaydelay.%{taggameplayer4}%}
execute console command "/clear %{taggameplayer4}%"
execute console command "/clear %{taggameplayer3}%"
delete {taggameplayer3}
delete {taggameplayer4}
remove 1 from {taggameplayerlist}
delete {taggameplaydelay.%player%}
delete {taggameplayerlistcount.%player%}
execute console command "/clear %player%"
set {taggameplay3and4delay} to 1
set {taggamescoreboard.%player%} to 0
stop
if {taggameplayer4} is "%player%":
execute console command "/execute in minecraft:spawn run tp %{taggameplayer3}% -1 -60 -1 180 0"
execute console command "/tellraw %{taggameplayer3}% ""게임 도중 참가자가 이탈하여 게임을 종료합니다."""
delete {taggametagger.%{taggameplayer3}%}
delete {taggameplaydelay.%{taggameplayer3}%}
execute console command "/clear %{taggameplayer3}%"
execute console command "/clear %{taggameplayer4}%"
delete {taggameplayer4}
delete {taggameplayer3}
remove 1 from {taggameplayerlist}
delete {taggameplaydelay.%player%}
delete {taggameplayerlistcount.%player%}
execute console command "/clear %player%"
set {taggameplay3and4delay} to 1
set {taggamescoreboard.%player%} to 0
stop
if {taggameplayer5} is "%player%":
execute console command "/execute in minecraft:spawn run tp %{taggameplayer6}% -1 -60 -1 180 0"
execute console command "/tellraw %{taggameplayer6}% ""게임 도중 참가자가 이탈하여 게임을 종료합니다."""
delete {taggametagger.%{taggameplayer5}%}
delete {taggameplaydelay.%{taggameplayer6}%}
execute console command "/clear %{taggameplayer6}%"
execute console command "/clear %{taggameplayer5}%"
delete {taggameplayer5}
delete {taggameplayer6}
remove 1 from {taggameplayerlist}
delete {taggameplaydelay.%player%}
delete {taggameplayerlistcount.%player%}
execute console command "/clear %player%"
set {taggameplay5and6delay} to 1
set {taggamescoreboard.%player%} to 0
stop
if {taggameplayer6} is "%player%":
execute console command "/execute in minecraft:spawn run tp %{taggameplayer5}% -1 -60 -1 180 0"
execute console command "/tellraw %{taggameplayer5}% ""게임 도중 참가자가 이탈하여 게임을 종료합니다."""
delete {taggametagger.%{taggameplayer5}%}
delete {taggameplaydelay.%{taggameplayer5}%}
execute console command "/clear %{taggameplayer5}%"
execute console command "/clear %{taggameplayer6}%"
delete {taggameplayer6}
delete {taggameplayer5}
remove 1 from {taggameplayerlist}
delete {taggameplaydelay.%player%}
delete {taggameplayerlistcount.%player%}
execute console command "/clear %player%"
set {taggameplay5and6delay} to 1
set {taggamescoreboard.%player%} to 0
stop
if {taggameplayer7} is "%player%":
execute console command "/execute in minecraft:spawn run tp %{taggameplayer8}% -1 -60 -1 180 0"
execute console command "/tellraw %{taggameplayer8}% ""게임 도중 참가자가 이탈하여 게임을 종료합니다."""
delete {taggametagger.%{taggameplayer7}%}
delete {taggameplaydelay.%{taggameplayer8}%}
execute console command "/clear %{taggameplayer8}%"
execute console command "/clear %{taggameplayer7}%"
delete {taggameplayer7}
delete {taggameplayer8}
remove 1 from {taggameplayerlist}
delete {taggameplaydelay.%player%}
delete {taggameplayerlistcount.%player%}
execute console command "/clear %player%"
set {taggameplay7and8delay} to 1
set {taggamescoreboard.%player%} to 0
stop
if {taggameplayer8} is "%player%":
execute console command "/execute in minecraft:spawn run tp %{taggameplayer7}% -1 -60 -1 180 0"
execute console command "/tellraw %{taggameplayer7}% ""게임 도중 참가자가 이탈하여 게임을 종료합니다."""
delete {taggametagger.%{taggameplayer7}%}
delete {taggameplaydelay.%{taggameplayer7}%}
execute console command "/clear %{taggameplayer7}%"
execute console command "/clear %{taggameplayer8}%"
delete {taggameplayer8}
delete {taggameplayer7}
remove 1 from {taggameplayerlist}
delete {taggameplaydelay.%player%}
delete {taggameplayerlistcount.%player%}
execute console command "/clear %player%"
set {taggameplay7and8delay} to 1
set {taggamescoreboard.%player%} to 0
stop
if {taggameplayer9} is "%player%":
execute console command "/execute in minecraft:spawn run tp %{taggameplayer10}% -1 -60 -1 180 0"
execute console command "/tellraw %{taggameplayer10}% ""게임 도중 참가자가 이탈하여 게임을 종료합니다."""
delete {taggametagger.%{taggameplayer9}%}
delete {taggameplaydelay.%{taggameplayer10}%}
execute console command "/clear %{taggameplayer10}%"
execute console command "/clear %{taggameplayer9}%"
delete {taggameplayer9}
delete {taggameplayer10}
remove 1 from {taggameplayerlist}
delete {taggameplaydelay.%player%}
delete {taggameplayerlistcount.%player%}
execute console command "/clear %player%"
set {taggameplay9and10delay} to 1
set {taggamescoreboard.%player%} to 0
stop
if {taggameplayer10} is "%player%":
execute console command "/execute in minecraft:spawn run tp %{taggameplayer9}% -1 -60 -1 180 0"
execute console command "/tellraw %{taggameplayer9}% ""게임 도중 참가자가 이탈하여 게임을 종료합니다."""
delete {taggametagger.%{taggameplayer9}%}
delete {taggameplaydelay.%{taggameplayer9}%}
execute console command "/clear %{taggameplayer9}%"
execute console command "/clear %{taggameplayer10}%"
delete {taggameplayer10}
delete {taggameplayer9}
remove 1 from {taggameplayerlist}
delete {taggameplaydelay.%player%}
delete {taggameplayerlistcount.%player%}
execute console command "/clear %player%"
set {taggameplay9and10delay} to 1
set {taggamescoreboard.%player%} to 0
stop
if {taggameplayer11} is "%player%":
execute console command "/execute in minecraft:spawn run tp %{taggameplayer12}% -1 -60 -1 180 0"
execute console command "/tellraw %{taggameplayer12}% ""게임 도중 참가자가 이탈하여 게임을 종료합니다."""
delete {taggametagger.%{taggameplayer11}%}
delete {taggameplaydelay.%{taggameplayer12}%}
execute console command "/clear %{taggameplayer12}%"
execute console command "/clear %{taggameplayer11}%"
delete {taggameplayer11}
delete {taggameplayer12}
remove 1 from {taggameplayerlist}
delete {taggameplaydelay.%player%}
delete {taggameplayerlistcount.%player%}
execute console command "/clear %player%"
set {taggameplay11and12delay} to 1
set {taggamescoreboard.%player%} to 0
stop
if {taggameplayer12} is "%player%":
execute console command "/execute in minecraft:spawn run tp %{taggameplayer11}% -1 -60 -1 180 0"
execute console command "/tellraw %{taggameplayer11}% ""게임 도중 참가자가 이탈하여 게임을 종료합니다."""
delete {taggametagger.%{taggameplayer11}%}
delete {taggameplaydelay.%{taggameplayer11}%}
execute console command "/clear %{taggameplayer11}%"
execute console command "/clear %{taggameplayer12}%"
delete {taggameplayer12}
delete {taggameplayer11}
remove 1 from {taggameplayerlist}
delete {taggameplaydelay.%player%}
delete {taggameplayerlistcount.%player%}
execute console command "/clear %player%"
set {taggameplay11and12delay} to 1
set {taggamescoreboard.%player%} to 0
stop
every 1 seconds:
loop all players:
if {taggamereplaydelay.%loop-player%} is 1:
wait 75 seconds
set {taggamereplaydelay.%loop-player%} to 0
every 1 seconds:
loop all players:
if {taggameplayer1} is set:
if {taggameplayer2} is set:
if {taggameplay1and2delay} is 1:
set {taggameplay1and2delay} to 0
set {taggamestat.%{taggameplayer1}%} to "게임 준비 중.."
set {taggamestat.%{taggameplayer2}%} to "게임 준비 중.."
set {taggamereplaydelay.%{taggameplayer1}%} to 1
set {taggamereplaydelay.%{taggameplayer2}%} to 1
set {taggameplayscm.%{taggameplayer1}%} to 0
set {taggameplayscm.%{taggameplayer2}%} to 0
execute console command "/clear %{taggameplayer1}%"
execute console command "/clear %{taggameplayer2}%"
execute console command "/gamemode adventure %{taggameplayer1}%"
execute console command "/gamemode adventure %{taggameplayer2}%"
execute console command "/tellraw %{taggameplayer1}% ""매칭이 잡혔습니다! 상대방은 %{taggameplayer2}%님입니다."""
execute console command "/tellraw %{taggameplayer2}% ""매칭이 잡혔습니다! 상대방은 %{taggameplayer1}%님입니다."""
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/effect give %{taggameplayer2}% speed infinite 1 true"
execute console command "/effect give %{taggameplayer1}% minecraft:saturation infinite 1 true"
execute console command "/effect give %{taggameplayer2}% minecraft:saturation infinite 1 true"
wait 1 seconds
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/tellraw %{taggameplayer1}% ""태거 : %{taggameplayer1}% / 러너 : %{taggameplayer2}%"""
execute console command "/tellraw %{taggameplayer2}% ""러너 : %{taggameplayer2}% / 태거 : %{taggameplayer1}%"""
wait 1 seconds
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/tellraw %{taggameplayer1}% ""게임 시작까지 3초"""
execute console command "/tellraw %{taggameplayer2}% ""게임 시작까지 3초"""
wait 1 seconds
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/tellraw %{taggameplayer1}% ""게임 시작까지 2초"""
execute console command "/tellraw %{taggameplayer2}% ""게임 시작까지 2초"""
wait 1 seconds
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/tellraw %{taggameplayer1}% ""게임 시작까지 1초"""
execute console command "/tellraw %{taggameplayer2}% ""게임 시작까지 1초"""
wait 1 seconds
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer1}% -2 -59 5 180 0"
execute console command "/execute in minecraft:mini-tg1 run tp %{taggameplayer2}% -2 -60 -10 360 0"
execute console command "/tellraw %{taggameplayer1}% ""게임 시작!"""
execute console command "/tellraw %{taggameplayer2}% ""게임 시작!"""
set {taggamestat.%{taggameplayer1}%} to "게임 하는 중.."
set {taggamestat.%{taggameplayer2}%} to "게임 하는 중.."
set {taggametagger.%{taggameplayer1}%} to 1
set {taggameplaytimescore.%{taggameplayer1}%} to 30
set {taggameplaytimescore.%{taggameplayer2}%} to 30
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 29
set {taggameplaytimescore.%{taggameplayer2}%} to 29
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 28
set {taggameplaytimescore.%{taggameplayer2}%} to 28
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 27
set {taggameplaytimescore.%{taggameplayer2}%} to 27
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 26
set {taggameplaytimescore.%{taggameplayer2}%} to 26
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 25
set {taggameplaytimescore.%{taggameplayer2}%} to 25
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 24
set {taggameplaytimescore.%{taggameplayer2}%} to 24
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 23
set {taggameplaytimescore.%{taggameplayer2}%} to 23
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 22
set {taggameplaytimescore.%{taggameplayer2}%} to 22
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 21
set {taggameplaytimescore.%{taggameplayer2}%} to 21
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 20
set {taggameplaytimescore.%{taggameplayer2}%} to 20
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 19
set {taggameplaytimescore.%{taggameplayer2}%} to 19
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 18
set {taggameplaytimescore.%{taggameplayer2}%} to 18
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 17
set {taggameplaytimescore.%{taggameplayer2}%} to 17
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 16
set {taggameplaytimescore.%{taggameplayer2}%} to 16
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 15
set {taggameplaytimescore.%{taggameplayer2}%} to 15
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 14
set {taggameplaytimescore.%{taggameplayer2}%} to 14
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 13
set {taggameplaytimescore.%{taggameplayer2}%} to 13
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 12
set {taggameplaytimescore.%{taggameplayer2}%} to 12
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 11
set {taggameplaytimescore.%{taggameplayer2}%} to 11
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 10
set {taggameplaytimescore.%{taggameplayer2}%} to 10
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 9
set {taggameplaytimescore.%{taggameplayer2}%} to 9
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 8
set {taggameplaytimescore.%{taggameplayer2}%} to 8
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 7
set {taggameplaytimescore.%{taggameplayer2}%} to 7
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 6
set {taggameplaytimescore.%{taggameplayer2}%} to 6
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 5
set {taggameplaytimescore.%{taggameplayer2}%} to 5
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 4
set {taggameplaytimescore.%{taggameplayer2}%} to 4
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 3
set {taggameplaytimescore.%{taggameplayer2}%} to 3
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 2
set {taggameplaytimescore.%{taggameplayer2}%} to 2
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 1
set {taggameplaytimescore.%{taggameplayer2}%} to 1
wait 1 seconds
set {taggameplaytimescore.%{taggameplayer1}%} to 0
set {taggameplaytimescore.%{taggameplayer2}%} to 0
execute console command "/effect clear %{taggameplayer1}%"
execute console command "/effect clear %{taggameplayer2}%"
execute console command "/execute in minecraft:spawn run tp %{taggameplayer1}% -1 -60 -1 360 0"
execute console command "/execute in minecraft:spawn run tp %{taggameplayer2}% -1 -60 -1 360 0"
delete {taggametagger.%{taggameplayer1}%}
set {taggamestat.%{taggameplayer1}%} to "게임 종료.."
set {taggamestat.%{taggameplayer2}%} to "게임 종료.."
wait 1 seconds
execute console command "/tellraw %{taggameplayer1}% ""경기 종료!"""
execute console command "/tellraw %{taggameplayer2}% ""경기 종료!"""
set {taggamestat.%{taggameplayer2}%} to "게임에 참여하지 않음.."
remove 2 from {taggameplayerlist}
delete {taggameplayerlistcount.%{taggameplayer1}%}
delete {taggameplayerlistcount.%{taggameplayer2}%}
delete {taggameplaydelay.%{taggameplayer1}%}
delete {taggameplaydelay.%{taggameplayer2}%}
set {taggamescoreboard.%{taggameplayer1}%} to 0
set {taggamescoreboard.%{taggameplayer2}%} to 0
set {taggameplay1and2delay} to 1
delete {taggameplayer1}
delete {taggameplayer2}
on block break:
player is in world "MINI-TG1"
if sender is not op:
cancel event
every 1 ticks:
loop all players:
if {taggameplayerlist} is -1:
set {taggameplayerlist} to 0
if {taggameplayerlist} is -2:
set {taggameplayerlist} to 0
on damage:
if {taggametagger.%attacker%} is 1:
execute console command "/tellraw %{taggameplayer1}% ""러너 %{taggameplayer2}%님을 태그했습니다!"""
execute console command "/tellraw %{taggameplayer2}% ""태거 %{taggameplayer1}%님이 당신을 태그했습니다!"""
execute console command "/tellraw %{taggameplayer1}% ""경기 종료!"""
execute console command "/tellraw %{taggameplayer2}% ""경기 종료!"""
delete {taggametagger.%{taggameplayer1}%}
execute console command "/effect clear %{taggameplayer1}%"
execute console command "/effect clear %{taggameplayer2}%"
set {taggamestat.%{taggameplayer1}%} to "게임 종료.."
set {taggamestat.%{taggameplayer2}%} to "게임 종료.."
set {taggamestat.%{taggameplayer1}%} to "게임에 참여하지 않음.."
set {taggamestat.%{taggameplayer2}%} to "게임에 참여하지 않음.."
execute console command "/execute in minecraft:spawn run tp %{taggameplayer1}% -1 -60 -1 360 0"
execute console command "/execute in minecraft:spawn run tp %{taggameplayer2}% -1 -60 -1 360 0"
remove 2 from {taggameplayerlist}
delete {taggameplayerlistcount.%{taggameplayer1}%}
delete {taggameplayerlistcount.%{taggameplayer2}%}
set {taggameplaytimescore.%{taggameplayer1}%} to 0
set {taggameplaytimescore.%{taggameplayer2}%} to 0
delete {taggameplaydelay.%{taggameplayer1}%}
delete {taggameplaydelay.%{taggameplayer2}%}
set {taggamereplaydelay.%{taggameplayer1}%} to 1
set {taggamereplaydelay.%{taggameplayer2}%} to 1
set {taggamescoreboard.%{taggameplayer1}%} to 0
set {taggamescoreboard.%{taggameplayer2}%} to 0
set {taggameplay1and2delay} to 1
delete {taggameplayer1}
delete {taggameplayer2}
여기서 게임 플레이 도중 참가자가 나가면 다른 참가자가 들어왔을 때 게임 플레이 메시지가 그대로 전송되어버리는 문제가 있는데 이걸 고치려고 임시방편으로 40초 제한을 걸었지만 40초 제한을 없애고 싶은데 방법이 있나요?
댓글이 없습니다.
새로운 댓글을 등록해 주세요!