DayZ Single Player Server Startup batch file . Copy to notepad and save as Hippcelt.bat in your Dayz server Directory.
@echo off
:start
::Server name (This is just for the bat file)
set serverName= Subscribe to HippCelt
::Server files location
set serverLocation="Path to serverDZ.cfg on your PC goes here don't forget the extra backslash"
::Server Port
set serverPort=2302
::Server config
set serverConfig=serverDZ.cfg
::Logical CPU cores to use
set serverCPU=2
::Sets title for terminal
title %serverName% batch
::DayZServer location
cd "%serverLocation%"
echo (%time%) %serverName% started.
::Launch parameters (edit end: -config=|-port=|-profiles=|-doLogs|-adminLog|-netLog|-freezeCheck|-filePatching|-BEpath=|-cpuCount=)
start "DayZ Server" /min "DayZServer_x64.exe" -config=%serverConfig% -port=%serverPort% "-profiles=config" -cpuCount=%serverCPU% -dologs -adminlog -netlog -freezecheck
::Time in seconds before kill server process (14400 = 4 hours)
timeout 14390
taskkill /im DayZServer_x64.exe /F
::Time in seconds to wait before..
timeout 10
::Go back to the top and repeat the whole cycle again
goto start
Socials
Discord / discord
Twitter / xplodingribcage