Skip to content

SathiraSriSathsara/cod4x-linux-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

31 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Cod4x-linux-server Install Script

Bash script to install Call Of Duty 4 Modern Warfare Linux server on Ubuntu in just 4 steps :)

βœ… Tested on Ubuntu 18.04, 20.04, 22.04, 24.04
βœ… No need to run as Root (except for dependency installation).
βœ… Easy and Fast!!
βœ… Manage with Web panel (coming soon..)

Testing on Google Cloud VM (Ubuntu 18.04) >> https://web.facebook.com/sathix.bro.5/videos/1333027637279391/?notif_id=1684959865966366&notif_t=video_processed&ref=notif

Prerequisites

Before running the script, ensure you have a clean Ubuntu installation and access to a user with sudo privileges.

Step 1: Install Dependencies

For 64-bit systems, you need to enable the i386 architecture and install the required 32-bit libraries.

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install -y libc6:i386 libncurses5:i386 libstdc++6:i386 unzip screen

Installation

Step 2: Clone repository

git clone https://github.com/SathiraSriSathsara/cod4x-linux-server.git
cd cod4x-linux-server

Step 3: Prepare the script

sudo apt-get install -y dos2unix
dos2unix install.sh
chmod +x install.sh

Step 4: Run the installer

./install.sh

Server Information

β•°β”ˆβž€ Max Clients >> 32

β•°β”ˆβž€ Default Gamemode >> S&D

β•°β”ˆβž€ Default Map >> Crash

β•°β”ˆβž€ Rcon Password >> rconpasswd

β•°β”ˆβž€ Mod Name >> your_mod (Add your mod files to mods/your_mod folder)

β•°β”ˆβž€ Default Mod >> promodlive220_flags_mod

If you want to change these settings, edit the start.sh file after installation.

To register your server on master servers, add this command to start.sh or server.cfg:

+set sv_authtoken "YOUR_TOKEN"

This link will help you get a token.


πŸ’¬ If you have any problems, contact me via Discord: SaM β„’#9353

πŸ“ž Discord server: https://discord.gg/TRYZMZsQWF

πŸ—£οΈ Teamspeak: ts.enforcers.lk

🌐 Website: https://www.enforcers.lk/


Contributors

Sathira Sri Sathsara @ 2023 - 2024

About

Bash script to install Call Of Duty 4 ModernWarfia Linux server

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages