Then it is the cfg file that we have to create
in a notepad if you not allredy have it.
Well start up the notepad.
.CFG Files
The .CFG files are the heart and soul of customizing
your server to your liking.
A Config File (.cfg) is nothing more than a text document with a .CFG
extension
which the game reads and changes the defaults to the variables that you
have set.
To create one, open notepad.
At this point, you simply list the custom variable settings that you want
for your server and particular gametype.
(unlike the command line, you DO NOT need a + in front of the variables)
Anything that you want the server to ignore for whatever reason should
be PRECEEDED by // (double forward slash).
I will add comments below using the //, but this is only to describe the
variables.
*******
sv_hostname "your hostname here"
//Sets the NAME of your server, what people will see in the browser
fraglimit 0
//Sets the limit of Frags that will end the match
//( 0 = no fraglimit)
timelimit 25
//Sets the amount of time (in minutes) for map changes
//(0 = no timelimit)
sv_maplist "dm/mohdm1 dm/mohdm2 dm/mohdm3 dm/mohdm5 dm/mohdm7"
//This is the list of maps that will be cycled for the server
sv_allowDownload 0
//Toggles allowing client downloads from server, like custom maps
//(0-off 1-on)
sv_maxRate 9000
//Max data transmit rate by clients on the server.
//(setting depends on network)
sv_maxPing xxx
//Keeps anyone with a higher ping than this value from connecting
//to the server
sv_fps 20
//Server FPS, this should increase performance (20 is the default)
sv_floodProtect 1
//Flood protection from server crashing text messages
set flood_waitdelay 10
//not too sure on this, possibly time before flooder is allowed
//to type again (default)
set flood_persecond 4
//messages per second to be considered a flood ?? (default)
set flood_msgs 4
// ?? (default)
sv_pure 0
//Pak checker, does not allow clients to use PAK files the server //doesnt
have (0=off 1=on)
sv_gamespy 1
//Allows your server to show up in the Gamespy browser, and the
//In-game browser (v1.1)
set g_inactiveKick 300
//Time (in seconds) that a client will be kicked for inactivity
set g_inactiveSpectate 60
//Time (in seconds) that a client will be moved to spectator for
//inactivity
set g_teamdamage 0
//Sets friendly fire 0=off 1=on
net_noipx 1
//Disallows IPX connections, TCP only (network protocol)
net_port 12203
//Sets the port # for the game to run off of (12203 is the default)
rconPassword yourpasswordhere
//Sets your RCON password to allow you Remote Administration
set sv_privateClients 1
//private slots on the server fore admins or your self.
Set privatepassword "xxx"
//sets a password to use to get into the private clients slot.
//Set password "xxx"
//This one you have to set with same password as you put in your privatepassword
fore it to work.
//Finally, put a blank line at end of the config
***************************************************************************************************
Then SAVE the file as serverXX.cfg (click yes to confirm the extension
warning).
If you forget and save it as new text document, simply rename
it to serverXX.cfg
**Important**THE FILE MUST BE SAVED INTO THE MAIN DIRECTORY
WHERE YOU HAVE MOHAA INSTALLED,
if it is NOT saved in this directory,
your command line will FAIL to call it and you will get an error at the
console saying COULD NOT EXEC SERVERXX.CFG.