TP player to different scene only if he is in specific one

I made a system to teleport a player to another scene, easy. But is it possible to make that this scene is only accesible by this teleport? or anyone can access it? Maybe publishing in private or…
Thanks!

1 Like

You can disable the third-party teleport feature.

If I’m not wrong, I need to have this option enabled to allow my scene to teleport to the new one, right?

It depends if you’re using places or different experiences.

I’m using different experiences, but i tried deactivating the 3rd party teleport and works aswell. So I guess it’s the correct form, right?

You can’t really stop anyone from teleporting inside of that scene place if they have the ID of the place.
But what you can do is make a system where you can create a database that’s used across places, if the player that wants to join to this place is in the database, you can allow them. If not, you can kick them.
In your main game (where the player is teleporting from) save the player to the database, teleport the player, and in the other place, if the player is in the database, allow them to join and remove them from the database so that they cannot directly join again if they leave.

1 Like

Cool! I’m gonna try, I was doing smth similar with player variables that they must have from the original scene, if not i will tp them to the main scene again. Thanks!

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.