Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- :start
- ::Server name
- set serverName=Influx PVE VANILLA
- ::Server files location
- set serverLocation="C:\Program Files (x86)\Steam\steamapps\common\DayZServer"
- ::Server Port
- set serverPort=2302
- ::Server config
- set serverConfig=serverDZ.cfg
- ::Logical CPU cores to use (Equal or less than available)
- set serverCPU=4
- ::Sets title for terminal (DONT edit)
- title %serverName% batch
- ::DayZServer location (DONT edit)
- 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" "-mod=@[A+] Global Chat;@BuildEverywhere;@CF;@Code Lock;@Forever_Lights_and_Campfires;@loadscreen;@PVEZ;@PVEZMarkersOnVPPMap;@Trader;@TraderFixesAndFeatures;@VanillaPlusPlusMap;@ZenSleep;@VPPAdminTools" -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
Advertisement
Add Comment
Please, Sign In to add comment