execute align xz run tp @s ~0.5 ~ ~0.5
$execute at @s run kill @e[type=marker,name=map_lobby$(map_id)]
$execute at @s run summon marker ~ ~ ~ {Tags:["map_lobby","new","not_active"],CustomName:{"color":"gray","text":"map_lobby$(map_id)"}}
$execute at @s run scoreboard players set @n[tag=new] map_id $(map_id)
execute at @s run forceload add ~ ~ ~ ~
tag @e[tag=new] remove new
$tellraw @s {"text":"Placed new map lobby for map $(map_id)","color":"gray"}