I want each player to have their own private room that they can enter anytime.
Players will arrange the positions of the npcs in their rooms to get different effects, kind of like designing circuitry, and therefore the rooms have to be different from one to another.
To achieve this, the only way I can think of is to create instances. So when a player enters their room, an instance is created, when they leave, the instance is deleted, the "circuit" is stored in a couple variables.
But I am worrying about memory cost of the instances and the processing power it takes to create/delete instances. Do they take a lot of resources?
Does anyone know a better way to do this?