0% found this document useful (0 votes)
87 views1 page

New Text Document

This batch file starts a DayZ server on a local machine. It sets variables for the server name, location, port, and configuration file. It then launches the DayZServer executable, specifying the configuration file, port, CPU cores to use, and various command line options. The batch file will restart the server process after a 4 hour timeout.

Uploaded by

Mike Bradberry
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
87 views1 page

New Text Document

This batch file starts a DayZ server on a local machine. It sets variables for the server name, location, port, and configuration file. It then launches the DayZServer executable, specifying the configuration file, port, CPU cores to use, and various command line options. The batch file will restart the server process after a 4 hour timeout.

Uploaded by

Mike Bradberry
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

@echo off

:start
::Server name (This is just for the bat file)
set serverName=Jims DayZ server
::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=2
::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% -cpuCount=%serverCPU% -dologs -adminlog -netlog -freezecheck "-
mod=@AdvanceWeaponsScopes;@Airdropupgrade;@Banking;@BaseBuildingPlus;@BasicMap;@Bet
terSuppressors;@Breachingcharge;@BuildAnywhereV3;@Builderitems;@Cannabisplus;@CF;@C
heckIdentity;@Cl0udsMilitaryGear;@Cl0udsMilitaryGearBeltGhillie;@Codelock;@Communit
yOnineTools;@CPBWeapons;@CZVolkswagenGolf;@DinosaurBag;@EarPlugs;@FlipTransport;@Ga
melabs;@Gorez;@InventoryPlus;@ItemCollisonNerf;@KillFeed;@ModularVestSystem;@MuchCa
rKey;@MuchStuffPack;@NoGloveOrShoeDamage;@RemasterdArmaweaponpack;@Salinebag;@Schan
aModCompass;@SchanaModGlobalChat;@SchanaModParty;@SixDayzAutoRun;@Trader;@TraderFix
esAndFeatures;@TruckSpeedFix;@UnlimitedStamina;@vest;@WaterResistantMilitaryGear;@z
SpawingSelection;"
::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

You might also like