moved players and npcs data to the map object server side