How to identify when place got updated and kick all players at the same time?

Hi. I tried to search for the solution on the internet, but I didn’t found anything. I found a post about game.PlaceVersion, but it’s returning the current server’s version that you’re playing on, and can’t identify the new game’s version. Help!

1 Like

Alr, I found a solution.
print(game.InsertService:GetLatestAssetVersionAsync(game.PlaceId))
This thing changes it’s number after the place updated. It’s changing it’s number after someone updates a place, so it means that if it says 200 (for example), all Roblox’s existing games got updated only 200 times.

Congratulations on you finding a solution!
However, I have a suggestion for you.

Instead of making tons of calls to that async method to constantly check whenever a place has been updated to kick all the players, you could manually use the built-in options Roblox bestows, which are either:

  • Shut Down All Servers.
  • Migrate to the Latest Update (teleports all your current players to new servers to migrate all servers seamlessly).

It’s an extra-step, yes, but could save up server resources for your experience (and the latter option seems better to not lose your player-base whenever an update is pushed).

Hope this helps.

1 Like

I can agree with you, but if you want to players instantly migrate to the new game’s update, my solution is the best.

1 Like

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