Jump to content
  • 0

How to hard reset your server


Dr_Medic

Question

Posted

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?

7 answers to this question

Recommended Posts

Posted

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.

Posted

what change the whole id or just replace the number on the end

Either should work.

Posted

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.
Posted

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.

Archived

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

×
×
  • Create New...