mirror of
https://git.chasehall.net/Chase/COD-Cfgs.git
synced 2025-06-07 19:07:54 -05:00
30 lines
716 B
Batchfile
30 lines
716 B
Batchfile
@echo off
|
|
:: CoD4X Startup Script
|
|
:: Features Auto-Restart upon server window closed.
|
|
:: By Chase (https://ChaseHall.net)
|
|
:: <3 CoD4X Community.
|
|
|
|
|
|
:: Your Game Server Port.
|
|
:: Make sure you Port Forward both TCP & UDP.
|
|
set GamePort=14004
|
|
|
|
:: Your server.cfg file in main.
|
|
:: This is where you edit your configs for your server(s)
|
|
set ServerFilename=server.cfg
|
|
|
|
:: Your server key
|
|
:: https://cod4master.cod4x.me/index.php?token_generator=true
|
|
set Key=
|
|
|
|
|
|
:: Mod Support
|
|
:: Example: ModfolderName=mods/bots
|
|
:: No Mod: ModfolderName=
|
|
set ModFolderName=
|
|
|
|
|
|
|
|
start cod4x18_dedrun.exe +set dedicated 2 +set sv_authtoken "%Key%" +set net_port %GamePort% +exec %ServerFilename% +set fs_game "%ModFolderName%" +map_rotate
|
|
exit
|