Persistance on Dedicated server

I’m using the persistence that’s built into gmod, and it seems to work just fine in Singleplayer, but doesn’t work on a dedicated server.
Trying to load entities and props whenever my dedicated is restarted.

I was hoping someone could answer my question by now.

I’ve seen servers use persistence before, so it’d be nice to know how.

You need to set sbox_persist 1 first. (

I have done that. Props still do not stay after a restart.

You did it wrong. Some gamemodes or w/e can also call game.CleanUpMap() on server restart resulting in persistent props removed.