User Tools

Site Tools


multiplayer:running_a_server

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
multiplayer:running_a_server [2017-03-20 11:46]
skyjake
multiplayer:running_a_server [2018-12-16 14:13] (current)
skyjake [Running a multiplayer server]
Line 1: Line 1:
 +<- ^ guide:​Multiplayer ^ shell_help|Shell ->
 +
 ====== Running a multiplayer server ====== ====== Running a multiplayer server ======
  
-A //​multiplayer server// is an instance of [[doomsday-server]] running as a background process.+A //​multiplayer server// is an instance of [[guide:doomsday-server]] running as a background process.
  
 +
 +This page focuses on starting and running a server via the command line. For a GUI approach, see [[shell_help|Running a server using the Shell]].
  
 ===== How to set up a server ===== ===== How to set up a server =====
- 
- 
-See also: [[shell|Running a server using the Shell]] ​ 
- 
  
 ==== Requirements ==== ==== Requirements ====
Line 35: Line 35:
 setmap 1 1 setmap 1 1
 </​code>​ </​code>​
-Note: [[server-public]] 1  makes the server visible to all on the master server.+Note: ''​server-public 1'' ​ makes the server visible to all on the master server.
  
  
Line 67: Line 67:
 server-player-limit = 6 server-player-limit = 6
 server-public = 1 server-public = 1
-</​code>​ + 
-<​code>​net-dev = 0+net-dev = 0
 net-ip-address = ""​ net-ip-address = ""​
 net-ip-port = 13209 net-ip-port = 13209
Line 77: Line 77:
 net-nosleep = 0 net-nosleep = 0
 net-queue-show = 0 net-queue-show = 0
-</​code>​ + 
-<​code>​game-fastmonsters = 0+game-fastmonsters = 0
 </​code>​ </​code>​
  
Line 84: Line 84:
  
  
-The best way to run a server on your desktop is to use the [[shell]]. You can specify the location of your **autoexec.cfg** using the [[command_line]] ​option:+The best way to run a server on your desktop is to use the [[shell]]. You can specify the location of your **autoexec.cfg** using the command line option:
   ​   ​
   -p some/​path/​autoexec.cfg   -p some/​path/​autoexec.cfg
Line 92: Line 92:
  
  
-[[doomsday-server]] is intended to be run as a background process and has no UI of its own. While you can start it manually in a terminal, controlling the server is only possible using the [[shell]].+[[guide:doomsday-server]] is intended to be run as a background process and has no UI of its own. While you can start it manually in a terminal, controlling the server is only possible using the [[Shell]].
  
 In Unix, please refer to the manual page //​doomsday-server(6)//​ for more information. In Unix, please refer to the manual page //​doomsday-server(6)//​ for more information.
Line 98: Line 98:
 Brief instructions:​ Brief instructions:​
  
-  -  Specifying a game is mandatory (with [[-game]]). +  -  Specifying a game is mandatory (with ''​-game''​). 
-  -  Configure the TCP ([[net-ip-port]]) port number. The default port number is 13209.+  -  Configure the TCP (''​net-ip-port''​) port number. The default port number is 13209.
     * This step has to be done only once because the port numbers are saved automatically into the game config file.  You may also wish to write your own **.cfg** startup script that  executes all the necessary commands.     * This step has to be done only once because the port numbers are saved automatically into the game config file.  You may also wish to write your own **.cfg** startup script that  executes all the necessary commands.
-  -  The current map can be changed with {{cmd|setmap}} (in **autoexec.cfg**).+  -  The current map can be changed with ''​setmap'' ​(in **autoexec.cfg**).
  
 Example: Example:
Line 119: Line 119:
   server-game-mapcycle "T:10 1* 11 17 18 19"   server-game-mapcycle "T:10 1* 11 17 18 19"
  
-See [[mapcycling]] for a description of the syntax.+See [[map cycling]] for a description of the syntax.
  
 Start the cycle: Start the cycle:
multiplayer/running_a_server.1490003163.txt.gz · Last modified: 2017-03-20 11:46 by skyjake