In my game, players will be able to buy houses on a map with lots of lands. Up to 13 players can then be neighbors.
How to make these 13 players always come back to the same server to continue interacting with the same “neighbors”?
And, if I buy, for instance, lot 12, how to always have this lot reserved for me in this map?
I put the example above to try to clarify what I want. The idea is exactly like populating a city, with several neighborhoods. Each neighborhood would be a Server. I have a single map, but this map will be reused as players choose lots in different servers (neighborhoods).
In the example above, @rogeriodec_games (me), entered the game in Server 1 and bought lot 12.
Then @zCrxtix entered Server 1 and found lot 12 already occupied. So he bought lot 13.
Next, @misthero21 also entered Server1, but he wanted to buy lot 12 and unfortunately, this lot was already occupied by @rogeriodec_games . Then @misthero21 goes to another neighborhood (Server 2) and there he finds exactly the same lot 12, but unoccupied. He then buys lot 12 on Server 2.
Everyone leaves the game.
When @rogeriodec_games and @zCrxtix come back into the game, they should automatically be redirected to Server 1 as that’s where they bought lots 12 and 13.
When @misthero21 enters the game again, he will be redirected to Server 2, as that’s where he bought lot 12.
Are you sure about this?
This is very important because the whole idea of my game will depend on it.
I’ve been reading a few posts and it seems that for me to get this, I’ll have to buy a private server.
Also, do you have any code that shows how I can get the 13 “neighbor” players to always come back to the same server (and always occupy the same lot number on the map)?
Let’s see for example BloxBurg. When I create a house there and leave the game, when I come back again, the house can be on any lot, never on the same lot. And neighbors will always be different. This is exactly the opposite of what I’m looking for.
So basically you want it to be like bloxburg but you own the lot?
I guess you should store the occupied spot like @AxeI_c suggested and then teleport person either to their own little place or to different server until it finds a free slot which is extremely inefficient and reason why nobody does it like that… so yeah i suggest building a teleportation system either within the server or outside where they have always the same slot but they can share it at the same time
I do not believe roblox works like that and this idea is generally impossible and very unfriendly to roblox features like the friend following you into the game while having same lot.