PDA

View Full Version : Getting Started: Installation and Basic MAM Configuration


Hammer
02-02-2003, 03:20 PM
This post will guide you through the installation and some configuration of MoH_AdminMod (MAM).

The first step is to download the latest version of the mod (see: http://www.mohadmin.com/nuke/modules.php?name=Forums&file=viewtopic&t=1097). MAM is distributed as a ZIP archive, so using your favorite ZIP editor, extract its contents into a temporary location (remember the folder where you extract the files to).

Once extracted, copy MoH_AdminMod.cfg and zzzzzzz_MoH_AdminMod.pk3 to your server's default MOHAA\main (or mainta for Spearhead servers) folder. Edit MoH_AdminMod.cfg and read through the configuration file updating anything you require. If you don't know what a setting means, leave it alone until you've read all the docs and/or MAM-related threads in this forum. The default config settings will work on most servers!

To activate the mod on your server, you must run exec MoH_AdminMod.cfg from the console or using rcon. If you'd rather have it start automatically when the server starts, you must add this line somewhere in the server's startup configuration file (which differs from server to server). Most hosted (rented) servers allow you to create a server.cfg (or similar) file under main (or mainta). You must ensure that the MAM config (the exec line above) is read BEFORE the first map is started, i.e. before the first map command is performed. In the case that no server.cfg or equivalent file is available, you may add the exec line to one of the following files (all relative to main/mainta): localized.cfg, configs/unnamedsoldier.cfg, newconfig.cfg. Some of these files may not exist, so you will have to create one if necessary.

To determine if MAM is running on your server, as well as obtain the current version of MAM, query mam_running from the game's console or using rcon. For example, rcon mam_running should return:

[code:1]"mam_running" is:"1.0" default:"1.0"[/code:1]
To view the number of times MAM has run since the server started (an indication of the number of levels played) look at the mam_session cvar.

--[MC] Hammer