So im trying to make a rust game and i want to make a menu where the players can choose the server they want to go to but every server is different and the players have different data between all servers and the problem arises when if all the players leave the server then it gets shut down and i don't know how to make a player join the same server every time they log in and don't know if that is even possible.
Roblox does that automatically the player just has to get to the servers tab in a game.
I'm not sure what a rust game is, or the idea you're attempting to work off of but I'll do what I can to help.
First of all, yes, Roblox will shutdown a server with 0 players, hence the game:Close() method, giving time to save data before the server is closed.
I'm lost on the part where you say every server is different and players have different data between each server. If you want the progress to save on 1 server and have the player pick to join this server, it is possible but not by the means you want.
Roblox offers a way for you to create another place of your game but allow you to save the changes the player made to this world and allow them to come back to this world to pick up where they left off. This is the best API I can find to assist you with what you want, I'll assume by different data, you were referring to the changes to the world by the player.
Please read the information this link offers and please comment bellow if you have further questions. Just remember that this is a help site, I will not create this for you!
Closed as Not Constructive by Void_Frost, zblox164, DeceptiveCaster, gitrog, and green271
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?