Difference between revisions of "How to run a server"

From OdaWiki
(Basics to Configuring a Server)
(Useful settings)
Line 12: Line 12:
 
=== Useful settings ===
 
=== Useful settings ===
  
Then you can further customize server settings with more variables and commands listed below:
+
Then you can customize server settings with [[:Category:Server variables|variables]] and [[:Category:Server commands|commands]]. Here are a few examples to get you going:
  
 
*'''[[wad]] x.wad'''          -- Loads the given PWAD, whose name is to be typed in place of the "x".  
 
*'''[[wad]] x.wad'''          -- Loads the given PWAD, whose name is to be typed in place of the "x".  
Line 20: Line 20:
 
*'''[[deathmatch]] x''' -- Sets the indicated deathmatch mode, where "x" represents the value of the desired deathmatch mode. '''1''' would be regular deathmatch, while '''2''' would be altdeath deathmatch.
 
*'''[[deathmatch]] x''' -- Sets the indicated deathmatch mode, where "x" represents the value of the desired deathmatch mode. '''1''' would be regular deathmatch, while '''2''' would be altdeath deathmatch.
  
More server variables can be found on the [[:Category:Server variables|server variables]] page. Also check out the [[commandline]] parameters.
+
Also check out the [[commandline]] parameters.
 +
 
 +
=== Map cycles ===

Revision as of 06:33, 31 March 2006

If you would like to run a server, then simply run the "odasrv" application that is in the directory that you installed/unarchived Odamex to. You would then automatically have a server up and running.

Basics to Configuring a Server

First of all, decide if you want your server to be displayed on the Odamex public server list. Set usemasters appropriately to your own convenience and decision.

Public server

The following step to configuring your server that would be the best would be to name your server in order to allow for people to know more about who is running it and what game mode and WAD are being run on it. You can name it whatever you choose, but if you want to provide insight reflecting what kind of WAD and game type is being run on it, then do so.

To name a public server you must type in the text box on the bottom of odasrv hostname "x", where "x" is the name of the server (with quotes included).

Useful settings

Then you can customize server settings with variables and commands. Here are a few examples to get you going:

  • wad x.wad -- Loads the given PWAD, whose name is to be typed in place of the "x".
  • map MAPxx or ExMx -- Goes to the indicated map, where the "x"'s represent digits such as "01" for MAP01. "ExMx" is used when the Ultimate Doom or Shareware Doom is being run, where the "x"'s also represent digits, such as "1" and "1" for E1M1
  • deathmatch x -- Sets the indicated deathmatch mode, where "x" represents the value of the desired deathmatch mode. 1 would be regular deathmatch, while 2 would be altdeath deathmatch.

Also check out the commandline parameters.

Map cycles