How to identify a player after traveling between two maps?

Thank you very much for solving this doubt.
:heart: