Windows script to automatically start a Project Zomboid server.
Used with https://github.com/gorcon/rcon-cli/releases/tag/v0.10.1
https://www.reddit.com/r/projectzomboid/comments/rx29ci/windows_dedicated_server_autorestart/
- you need to start
StartServer64.batfrom powershell. - go to
C:\Users\%username%\Zomboid\Serveredit theservertest.ini- put the same secretpassword that you've put in secret.txt in
RCONPassword
- put the same secretpassword that you've put in secret.txt in
- To ease the usage I just put the
rcon.exein the same place as for my10m.bat,1m.bat&quit.bat
If for some reason you need to kill the task and dont know how look at this info: https://www.makeuseof.com/disable-scheduled-tasks-windows-10/
if you dont want to click just do that:
windows+R- enter taskschd.msc and press enter
- under
Task Scheduler Library=>PZyou can find the 3 script there
then you can do what you need :D