From cf034fce87a886420fde2f9fba6b627b88c99b0f Mon Sep 17 00:00:00 2001 From: ineedbots Date: Sat, 4 Sep 2021 21:40:56 -0600 Subject: [PATCH] new config --- z_server.bat | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/z_server.bat b/z_server.bat index c2edaa8..0cb10d9 100644 --- a/z_server.bat +++ b/z_server.bat @@ -1 +1,29 @@ -start "" "%~dp0CoDWaWmp_LanFixed.exe" +set dedicated "2" +set sv_maxclients "64" +set sv_punkbuster "0" +set net_port "28960" +set fs_game "mods/mp_bots" +exec server.cfg +map_rotate \ No newline at end of file +@echo off +::Paste the server key from https://platform.plutonium.pw/serverkeys here +set key= +::RemoteCONtrol password, needed for most management tools like IW4MADMIN and B3. Do not skip if you installing IW4MADMIN. +set rcon_password= +::Name of the config file the server should use. (default: dedicated.cfg) +set cfg=server.cfg +::Name of the server shown in the title of the cmd window. This will NOT bet shown ingame. +set name=PT4 Bot Warfare +::Port used by the server (default: 28960) +set port=28968 +::What ip to bind too +set ip=0.0.0.0 +::Mod name (default "") +set mod= +::Only change this when you don't want to keep the bat files in the game folder. MOST WON'T NEED TO EDIT THIS! +set gamepath=%cd% + +title PlutoniumT4 MP - %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 with IP "%ip%"! +echo To shut down the server close this window first! +echo (%date%) - (%time%) %name% server start. + +cd /D %LOCALAPPDATA%\Plutonium +:server +start /wait /abovenormal bin\plutonium-bootstrapper-win32.exe t4mp "%gamepath%" -dedicated -key "%key%" +set net_ip "%ip%" +set net_port "%port%" +set rcon_password "%rcon_password%" +set fs_game "%mod%" +exec "%cfg%" +map_rotate +echo (%date%) - (%time%) WARNING: %name% server closed or dropped... server restarts. +goto Server