When a new player joins, I would like to spawn a “plot” or a baseplate in which the player would “own” - Forever.
I’m really not sure where to begin or how this would work.
I’ve searched around and maybe I am not looking in the right direction.
Essentially just looking for a resource to do some research on this topic.
I’m GUESSING that I would have to some how clone this plot from replicated storage on player join, however not sure how that plot would save everything that is on it and their positions so when the player logs back in it stays. I also do not want any other players to be able to access this plot unless invited by the player.
Well, for starters you would want to research the DataStoreService quite a bit. This is what would allow you to save the players “plot” and also load it back in. You can’t save Instances on DataStoreService, so you’ll need to find a way to reference certain objects (Like a tag) and save their Position, as well as orientation or anything else that would need to be saved.
And I also think OOP would work well with this type of system, but if you aren’t familiar with it that’s fine.
Secondly, a whitelist is rather simple. There’s multiple ways you can allow a Player to whitelist other players. A Gui would be easiest for your players, but you can also use Chatted commands. So if you aren’t familiar with Guis, you’d want to do a bit of research on TextButtons, TextBox and I would also recommend looking at tables if you aren’t familiar with them.
And if you aren’t familiar with events like PlayerJoined or PlayerRemoved, which can be used to load and save the “plots” or any other Data of the player.
There are also a multitude of other things you might want to look at, but that’s basically the foundation of what you might want to research or reference.