Clone respo
git clone https://github.com/deepx223/cod4x-linux-server-install.git
Run Script
cd cod4x-linux-server-install
sudo apt-get install dos2unix
dos2unix install.sh
chmod 777 *
./install.sh
╰┈➤ Max Client >> 32
╰┈➤ Defult Gamemode >> S&D
╰┈➤ Defult map >> Chrash
╰┈➤ Rcon password >> rconpasswd
╰┈➤ ModName >> yourmod (Add your mod files to mods/yourmod folder)
╰┈➤ DefultMod >> promodlive220_flags_mod
If you want to change these setting edit start.sh file :)
To regiter your server on master servers add this commad to start.sh or server.cfg
+set sv_authtoken "YOUR_TOKEN"
This link will help ypu to get token.