Archived

This topic is now archived and is closed to further replies.

  • 0

How to hard reset your server

Question

i searched the forums and there is only one thread about it from this year that i could find is there no way you can reset your server while deleting characters along with it?

Share this post


Link to post
Share on other sites

7 answers to this question

Recommended Posts

Change the reset id in servertest.ini. This should then force the client to delete the player's characters. Or they can delete them manually by going to %username%\zomboid\multiplayer and deleting the folder with the ip and username for your server.

Share this post


Link to post
Share on other sites

The -softreset server command-line option does this:

  • Deletes all zombie_X_Y.bin files so the zombies are reset to their intial numbers and placement.
  • Deletes map_t.bin so the server's clock is reset.
  • Deletes map_meta.bin so all the alarms are reset.  This also removes any custom zones that prevent too much fishing/foraging.
  • Deletes reanimated.bin so any player zombies are removed.
  • Deletes all zombie corpses, items on the ground, items in containers, and blood splatter.
  • Changes the server's ResetID in the Zomboid\Servers\SERVERNAME.ini file.  The causes the client to delete the map data when joining the server again, so it will be redownloaded from the server.  Player files are saved on the client in map_p.bin files; these files are not deleted when doing a soft reset.  There is no way for the server to remove the map_p.bin files.

Share this post


Link to post
Share on other sites

create a word/notepad file and place this code in it:

 

".\jre64\bin\java.exe" -Dsoftreset  -Djava.library.path=./ -cp lwjgl.jar;lwjgl_util.jar;sqlitejdbc-v056.jar;trove-3.0.3.jar;uncommons-maths-1.2.3.jar;./ zombie.network.GameServer
PAUSE

 

Then save the file in the same folder as your server (I saved mine as ProjectZomboidServer_Softwipe.bat) and run it.

 

Someday I would like to see a simpler to use GUI for admins to do all this stuff. I'm sure they'll add it in the future at some point.

Share this post


Link to post
Share on other sites