turn each map into its own room in that room object have all the players in that map in a array in that array should be player objects when someone joins that map have it add it to array then send each players x / y cords to each player that should solve your new map issue I can do this in python but dunno how it'll work in js dunno how objects work
turn each map into its own room in that room object have all the players in that map in a array in that array should be player objects when someone joins that map have it add it to array then send each players x / y cords to each player that should solve your new map issue I can do this in python but dunno how it'll work in js dunno how objects work