Installation
This guide assume you have already acquired and installed a copy of MOH:AA on your server. If not, see Getting started.
- Download the latest release that matches your server's platform.
- Extract files from the archive into your MOH:AA directory
You can also use Docker, see Creating a Docker image.
Preparing the server settings
Inside the main directory of your game folder, create a server_opm.cfg
file with the following content:
sv_hostname "OpenMoHAA Server"
set sv_privateclients 0
set sv_privatepassword "password_for_slots"
set g_password ""
set g_gametype 4
set rconpassword ""
set g_healthdrop 1
set g_teamdamage 0
timelimit 10
fraglimit 100
roundlimit 0
set g_inactivespectate 60
set g_inactivekick 900
set sv_gamespy 1
set sv_floodprotect 1
set g_forceteamspectate 1
bitset dmflags 18
set sv_invulnerabletime 3
set g_teamkillwarn 3
set g_teamkillkick 5
set g_teamswitchdelay 15
set g_allowjointime 30
set sv_keywords "MOHAA Server"
set sv_minping 0
set sv_maxping 800
set sv_maxrate 0
sv_sprinton 1
sv_maplist "obj/obj_team1 obj/obj_team2 obj/obj_team3 obj/obj_team4 "
map "obj/obj_team1"
Configuring the server
Starting the server
Run the omohaaded
executable from your MOHAA directory. Use one of the following commands, depending on the game you want to use:
For Allied Assault:
./omohaaded +set com_target_game 0 +exec server_opm.cfg
For Spearhead:
./omohaaded +set com_target_game 1 +exec server_opm.cfg
For Breakthrough:
./omohaaded +set com_target_game 2 +exec server_opm.cfg