mirror of
https://git.chasehall.net/Chase/COD-Cfgs.git
synced 2025-06-07 21:38:06 -05:00
30 lines
759 B
Batchfile
30 lines
759 B
Batchfile
@echo off
|
|
:: IW5 Startup Script
|
|
:: Features Auto-Restart upon server window closed.
|
|
:: By Chase (https://ChaseHall.net)
|
|
:: <3 MW3 Community.
|
|
|
|
|
|
:: Your Game Server Port.
|
|
:: Make sure you Port Forward both TCP & UDP.
|
|
set GamePort=28961
|
|
|
|
|
|
:: Game Files Path
|
|
:: Example: GameFiles=C:\b_PlutoniumIW5-Dedicated-Servers\GameFiles
|
|
set GameFiles=[[CHANGE ME]]
|
|
|
|
|
|
:: License Key
|
|
:: Grab from:
|
|
:: http://platform.plutonium.pw/serverkeys
|
|
set Key=[[PUT YOUR LICENSE KEY HERE]]
|
|
|
|
|
|
:: Your server.cfg file in admin.
|
|
:: This is where you edit your configs for your server(s)
|
|
set ServerFilename=server.cfg
|
|
|
|
|
|
.\bin\plutonium-bootstrapper-win32.exe iw5mp "%GameFiles%" +set key "%Key%" +set sv_config "%ServerFilename%" +set net_port "%GamePort%" +start_map_rotate -dedicated
|
|
exit |