There’s always a server. Even in SP. The game mode would reside in it…isolated from the client. The only interaction between the two is through events.
When something is generated would be handled by the game mode. Say food, equipment etc.
If a player can harvest said items would be mitigated by the game mode. Do they have room in inventory etc.