Top > Comments > サーバーの立て方

Comments/サーバーの立て方
HTML ConvertTime 0.016 sec.

サーバーの立て方

自動でリスタートされたくない方は↓↓
@echo off
cls

set watch=DayZ Server

title %watch% Watchdog

cd "DayZServer_x64.exeがある場所のパス"

:watchdog
echo (%time%) %watch% started.
start "DayZ Server" /wait "DayZServer_x64.exe" -config=serverDZ.cfg -port=2302 -profiles= -dologs -adminlog -netlog -freezecheck "-bepath=beserver_x64.dllがある場所のパス" -mod
:echo (%time%) %watch% closed or crashed, restarting.

set /p ANSWER="(%time%) %watch% closed or crashed, restarting. (Y/N)"

if /i {%ANSWER%}=={y} (goto :yes)
if /i {%ANSWER%}=={yes} (goto :yes)

exit /b

:yes

echo (%time%) %watch% restarting.
goto watchdog -- 匿名? 2020-05-24 (日) 10:01:34