Gilvagor
12-01-2002, 02:48 PM
I'm new to this whole Dedicated Server thing. I am however very excited that I managed to get a Dedicated Server working on my first attempt and it can be seen on GameSpy or by browsing Internet Games from within Mohaa. However after reading and reading on this and other sites :rolleyes: I would like to run try to run a server.cfg to limit what can and cannot be done on the server (like disabeling Votes). However I'm not entirely sure how to setup the server.cfg file.
What I have so far is:
// Generic MoHAA Server Config File
// This block of settings controls the info players will see about your server in game
// browsers, like GameSpy. If you don’t want your server to appear in GameSpy’s server
// list, change the 1 to a 0 in sv_gamespy.
seta sv_hostname "=gKg=No Shotguns or Rockets"
sets Admin "ToBeNamed"
sets URL "www.gatekeepersguild.com/mohaa";;
sets Connection "T1"
seta sv_gamespy "1"
//This block of text controls the network settings for your server. Unless you have a
// specific reason for changing them, you should leave these as they are.
net_noipx 1 // disables the IPX protocol
net_port 12203 // specifies port 12203 for client connections
// This block of text controls your server’s security. If you don’t want to enable rcon
// commands, comment out the rconpassword line.
//set rconpassword "xxxx"
seta sv_floodProtect "1" // won’t allow players to flood server
seta flood_waitdelay "10"
seta flood_persecond "4"
seta flood_msgs "4"
set sv_pure "0" // requires players to have pure game files
// This block of text controls your server’s performance variables.
seta sv_allowDownload "0" // if players don’t have maps, don’t send them
seta sv_maxRate "9000" // allow players to pull up to 9,000 bps
seta sv_fps "20" // process 20 frames per second
seta sv_maxping "200" // players must ping below 200 to connect
// This block of text controls the number of players on the server
set sv_maxclients "16" // Maximum of 16 players on server
set sv_privateClients "5" // 3 of 16 slots require a password
set sv_privatepassword "xxxxxxx"
// the password for the private slots
// This block of text controls the game play variables on the server.
seta timelimit "15" // maps will run for 15 minutes
seta fraglimit "0" // maps will not end based on frags
set g_gametype 1 // map will be objective (2 = TDM)
set g_teamdamage "0" // friendly fire is off (1 = on)
set g_inactiveSpectate "60" // players go to spectate after 30s of inactivity
set g_inactiveKick "340" // players kicked after 120s of inactivity
// the next line is the list of maps the server will run, in order
// if you change to tdm maps, don't forget to change the gametype
seta sv_maplist "obj/obj_team1 obj/obj_team2 obj/obj_team4"
map obj/obj_team1 // the first map to run
Is there anything that I'm missing?. I realized I'll have to fix the map list as it is set to objective instead of Free For All.
Another question I have is...Is there a way to remove Shotguns and Rocketlaunchers?. if so is it a command in the CFG file or a mod?. And if it's a mod where can I find such a thing.
Just for computer information:
Windows XP
Mohaa + Spearhead
P3 800
512MB Ram
40GB HD
Nvidia Gforce 4 64MB DDR
Running behind a Firewall which all ports relateing to Mohaa have been opened.
Thanks,
Gilvagor
What I have so far is:
// Generic MoHAA Server Config File
// This block of settings controls the info players will see about your server in game
// browsers, like GameSpy. If you don’t want your server to appear in GameSpy’s server
// list, change the 1 to a 0 in sv_gamespy.
seta sv_hostname "=gKg=No Shotguns or Rockets"
sets Admin "ToBeNamed"
sets URL "www.gatekeepersguild.com/mohaa";;
sets Connection "T1"
seta sv_gamespy "1"
//This block of text controls the network settings for your server. Unless you have a
// specific reason for changing them, you should leave these as they are.
net_noipx 1 // disables the IPX protocol
net_port 12203 // specifies port 12203 for client connections
// This block of text controls your server’s security. If you don’t want to enable rcon
// commands, comment out the rconpassword line.
//set rconpassword "xxxx"
seta sv_floodProtect "1" // won’t allow players to flood server
seta flood_waitdelay "10"
seta flood_persecond "4"
seta flood_msgs "4"
set sv_pure "0" // requires players to have pure game files
// This block of text controls your server’s performance variables.
seta sv_allowDownload "0" // if players don’t have maps, don’t send them
seta sv_maxRate "9000" // allow players to pull up to 9,000 bps
seta sv_fps "20" // process 20 frames per second
seta sv_maxping "200" // players must ping below 200 to connect
// This block of text controls the number of players on the server
set sv_maxclients "16" // Maximum of 16 players on server
set sv_privateClients "5" // 3 of 16 slots require a password
set sv_privatepassword "xxxxxxx"
// the password for the private slots
// This block of text controls the game play variables on the server.
seta timelimit "15" // maps will run for 15 minutes
seta fraglimit "0" // maps will not end based on frags
set g_gametype 1 // map will be objective (2 = TDM)
set g_teamdamage "0" // friendly fire is off (1 = on)
set g_inactiveSpectate "60" // players go to spectate after 30s of inactivity
set g_inactiveKick "340" // players kicked after 120s of inactivity
// the next line is the list of maps the server will run, in order
// if you change to tdm maps, don't forget to change the gametype
seta sv_maplist "obj/obj_team1 obj/obj_team2 obj/obj_team4"
map obj/obj_team1 // the first map to run
Is there anything that I'm missing?. I realized I'll have to fix the map list as it is set to objective instead of Free For All.
Another question I have is...Is there a way to remove Shotguns and Rocketlaunchers?. if so is it a command in the CFG file or a mod?. And if it's a mod where can I find such a thing.
Just for computer information:
Windows XP
Mohaa + Spearhead
P3 800
512MB Ram
40GB HD
Nvidia Gforce 4 64MB DDR
Running behind a Firewall which all ports relateing to Mohaa have been opened.
Thanks,
Gilvagor