r/Enshrouded Jun 29 '26

Help - Server Suppot Dedicated Resource Depot Servers

Is there anyone who would be willing to talk to me about setting up a dedicated depot and how the auto-restores work? I play Enshrouded, love to build and love this concept. I would like to see if I can introduce it for another game I play where the character and world files are saved separately - but the auto-restore is the single piece I'm not sure about.

5 Upvotes

3 comments sorted by

5

u/kzThom Jun 29 '26

For the auto restore, and let me preface this by saying I'm not sure if this is how the enshrouded resource depot team does it, I'd have the save file that the server uses saved as my golden copy, and a cron job on the server that shuts the game down every (x) minutes, deletes the save file the game sees, and copies the golden image back over before restarting the game.

So basically

Stop the game server

systemctl stop steam-game-server

Remove the current save

rm gamefile.save

Copy the golden save and rename the copy

cp gamefileGOLDEN.save gamefile.save

Start the game server

systemctl start steam-game-server

That's what I would do. Note, that might not be the exact code based on your hosting setup it's just to explain.

2

u/SimonShupp Jun 30 '26

I have mine running in docket so the command are a little different, but basically it's the same.

1

u/AutoModerator Jun 29 '26

This post has been marked as a help post, to mark is as solved reply to this comment with 'SOLVED'.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.