mirror of
https://git.chasehall.net/Chase/COD-Cfgs.git
synced 2025-06-07 22:27:54 -05:00
Update 'T6/Start-MP.bat'
This commit is contained in:
parent
e98cab635d
commit
8068439dc3
@ -1,44 +1,11 @@
|
|||||||
@echo off
|
@echo off
|
||||||
:: T6 MP Startup Script
|
|
||||||
:: Features Auto-Restart upon server window closed.
|
|
||||||
:: By Chase (https://ChaseHall.net)
|
|
||||||
:: <3 BO2 Community.
|
|
||||||
|
|
||||||
|
:: PLUTO T6 - MP START SCRIPT.
|
||||||
|
|
||||||
:: Your Game Server Port.
|
set game=t6mp
|
||||||
:: Make sure you Port Forward both TCP & UDP.
|
set key=xxxxx
|
||||||
set GamePort=28964
|
set GF=C:\c_PlutoniumT6-Dedicated-Servers\Normal Servers
|
||||||
|
set cfg=xxxx.cfg
|
||||||
|
set port=13001
|
||||||
|
|
||||||
:: Pluto Server Key
|
.\bin\plutonium-bootstrapper-win32.exe %game% "%GF%" +set key "%key%" +set sv_config "%cfg%" +set net_port "%port%" +start_map_rotate -dedicated
|
||||||
:: Grab from here - https://platform.plutonium.pw/serverkeys
|
|
||||||
set key=
|
|
||||||
|
|
||||||
|
|
||||||
:: Your server.cfg file in t6r/data.
|
|
||||||
:: This is where you edit your configs for your server(s)
|
|
||||||
set ServerFilename=server_mp.cfg
|
|
||||||
|
|
||||||
|
|
||||||
:: Name of Server
|
|
||||||
:: (Used to title auto-restart cmd window)
|
|
||||||
:: **THIS IS NOT YOUR NAME THAT THE SERVER WILL SHOW IN THE SERVER LIST. SEE YOUR SERVER CFG FOR THAT. **
|
|
||||||
set name=T6 MP Server
|
|
||||||
|
|
||||||
|
|
||||||
:: If you wish to disable auto-restart, please comment everything out between BEGIN AUTO-RESTART and END AUTO-RESTART, then uncomment the NON-AUTO-RESTART.
|
|
||||||
:: BEGIN AUTO-RESTART
|
|
||||||
title %name% - Server Restarter
|
|
||||||
echo Server "%name%" will load %ServerFilename% and listen on port %GamePort% TCP/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 %ServerFilename% +key %key% +net_port %GamePort%
|
|
||||||
echo (%date%) - (%time%) WARNING: %name% server closed or dropped... server restarts.
|
|
||||||
goto server
|
|
||||||
:: END AUTO-RESTART
|
|
||||||
|
|
||||||
|
|
||||||
:: BEGIN NON-AUTO-RESTART
|
|
||||||
::start t6rmp.exe -dedicated +sv_config %ServerFilename% +key %key% +net_port %GamePort%
|
|
||||||
::exit
|
|
||||||
:: END-AUTO-RESTART
|
|
Loading…
x
Reference in New Issue
Block a user