How do I only allow certain people to enter my game?

My current system for this is to have a list of whitelisted user id’s, and immediately kick any joining player whose id is not on the list.
However, I fear that those kicked out can still like/dislike the game afterwards, although I haven’t tested this for myself.
Is it possible to only allow certain people to enter the game in the first place?

1 Like

And no, I don’t want to use the friends only option, in case you were wondering.

1 Like

Yes is possible

Your game is public, so it’s impossible to prevent this

Just make a script that detect player user ID and kick them if this is don’t match
You can also see that Whitelist system | Completely customizable (I developed it)

Why would you only want some people to be able to play. And does it matter if they dislike your game if they aren’t able to play it anyway?

For testing purposes, where I also want constructive feedback.
And sure, the people I whitelisted can still dislike as well, but at least they’d give me a reason why, which I would appreciate.

That’s exactly what I’ve done already.
There’s a difference between not allowing people to enter the game in the first place (for example a privated game), and kicking them out straightaway. I’m looking for a way to achieve the former.

1 Like