1
0
mirror of https://git.chasehall.net/Chase/COD-Cfgs.git synced 2025-06-10 13:17:57 -05:00
Files
COD-Cfgs/T6/!start_mp_server.bat
2020-08-06 23:26:45 +00:00

17 lines
673 B
Batchfile

@echo off
::name of the config file the server should use.
set cfg=dedicated.cfg
::name of the server shown in the title of the cmd window
set name=TDM 1
::Port used by the server
set port=4976
title PlutoniumT6 - %name% - Server restarter
echo Visit plutonium.pw / Join the Discord (a6JM2Tv) for NEWS and Updates!
echo Server "%name%" will load %cfg% and listen on port %port% UDP!
echo To shut down the server close this window first!
echo (%date%) - (%time%) %name% server start.
:server
start /wait /abovenormal t6rmp.exe -dedicated +sv_config %cfg% +net_port %port%
echo (%date%) - (%time%) WARNING: %name% server closed or dropped... server restarts.
goto server