1
0
mirror of https://github.com/ineedbots/iw5_bot_warfare.git synced 2025-10-29 19:46:57 +00:00

small update

This commit is contained in:
ineed bots
2023-07-09 18:53:55 -06:00
parent 47168c27d9
commit ea9ea321c7
3 changed files with 67 additions and 28 deletions

View File

@@ -13,10 +13,22 @@ set port=27020
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%
:: current dir of this .bat file
SET mypath=%~dp0
SET mypath=%mypath:~0,-1%
::Only change this when you don't want to keep the bat files in the game folder. MOST WON'T NEED TO EDIT THIS! %cd%
set gamepath=%mypath%
::IMPORTANT! Make sure the filename is unique for each server you clone!
set g_log=logs\games_mp.log
::Your plutonium install path (leave default!)
set pluto_path=%localappdata%\Plutonium
:: Gamemode; oneof t4sp, t4mp, t5sp, t5mp, iw5mp, t6mp, t6zm
set pluto_game_mode=iw5mp
:: Other things to send to cmd
set cmd_extras=
:: Exe dedi path (leave default!)
set exe_path=bin\plutonium-bootstrapper-win32.exe
title PlutoniumIW5 MP - %name% - Server restarter
echo Visit plutonium.pw / Join the Discord (a6JM2Tv) for NEWS and Updates!
@@ -24,8 +36,8 @@ echo Server "%name%" will load "%cfg%" and listen on port "%port%" UDP with IP "
echo To shut down the server close this window first!
echo (%date%) - (%time%) %name% server start.
cd /D %LOCALAPPDATA%\Plutonium
cd /D %pluto_path%
:server
start /wait /abovenormal "%name%" "bin\plutonium-bootstrapper-win32.exe" iw5mp "%gamepath%" -dedicated +unattended -sv_config "%cfg%" -key "%key%" -net_ip "%ip%" -net_port "%port%" -rcon_password "%rcon_password%" -fs_game "%mod%" -g_log "%g_log%" +start_map_rotate
start /wait /abovenormal /b "%name%" "%exe_path%" %pluto_game_mode% "%gamepath%" -dedicated +unattended -sv_config "%cfg%" -key "%key%" -net_ip "%ip%" -net_port "%port%" -rcon_password "%rcon_password%" -fs_game "%mod%" -g_log "%g_log%" %cmd_extras% +start_map_rotate
echo (%date%) - (%time%) WARNING: %name% server closed or dropped... server restarts.
goto Server