Decrease next UserId on test server when client closes

I am trying to test and debug players joining/leaving my game. Currently I am doing it by opening a server with 0 clients in studio then add 1 client at a time to debug. If I open 2 clients then close the second one with UserId -2, when I start another client the UserId will be -3. I want to test a player rejoining the same server, currently this isnt possible because of this behavior

image

20 Likes

I have needed this before while debugging player data caching through the datastore module Iā€™m using.

4 Likes