From 680a0de8e450199cc235b47f5a95b89067364855 Mon Sep 17 00:00:00 2001 From: Chase Hall Date: Thu, 8 Oct 2020 21:41:17 +0000 Subject: [PATCH] Update 'T6/Start-ZM.bat' --- T6/Start-ZM.bat | 47 +++++++---------------------------------------- 1 file changed, 7 insertions(+), 40 deletions(-) diff --git a/T6/Start-ZM.bat b/T6/Start-ZM.bat index 960e186..4a5feb3 100644 --- a/T6/Start-ZM.bat +++ b/T6/Start-ZM.bat @@ -1,44 +1,11 @@ @echo off -:: T6 ZM Startup Script -:: Features Auto-Restart upon server window closed. -:: By Chase (https://ChaseHall.net) -:: <3 BO2 Community. +:: PLUTO T6 - ZM START SCRIPT. -:: Your Game Server Port. -:: Make sure you Port Forward both TCP & UDP. -set GamePort=28963 +set game=t6zm +set key=xxxx +set GF=C:\c_PlutoniumT6-Dedicated-Servers\Normal Servers +set cfg=xxx.cfg +set port=13006 -:: Pluto Server Key -:: 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_zm.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 ZM 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 t6rzm.exe -dedicated +sv_config %ServerFilename% +set 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 t6rzm.exe -dedicated +sv_config %ServerFilename% +set key %key% +net_port %GamePort% -::exit -:: END-AUTO-RESTART \ No newline at end of file +.\bin\plutonium-bootstrapper-win32.exe %game% "%GF%" +set key "%key%" +set sv_config "%cfg%" +set net_port "%port%" +start_map_rotate -dedicated \ No newline at end of file