How would I create a plot and house selection system like bloxburg?

I am currently working on a roleplay game and I would like players to be able to choose a plot on the map and buy houses which save and can be placed on the plot they own like Rocitizens and Bloxburg. How would I go about creating this?