Command Line Variables List

COMMAND

DESCRIPTION

+set dedicated 2



 

 
This variable tells the server when it is started it is a "dedicated" or a console server.  All the resources are dedicated to running an online game server.  The other option would be to create a listen server.

The 2 at the end of the command tells the server to register with the masterservers listed inside the server config file.
 

 
+set net_ip  "ip"
 

 
This command tells the server what its ip is so people can connect to it.  This is provided to you by your game server provider
 

 
+set net_port  "port"
 

 
This command tells the server which port the "connections" can pass through.  This is provided to you by your game server provider.
 

 
+set sv_maxclients "number"


 

 
This command tells the server the max amount of people that can connect to your server.  This is provided to you by your game server provider.

 

 
+set fs_game "folder"


 

 
This command tells the server what folder to look in for game files and config files.  This variable is only ever set if a server is running a custom mod like AWE, otherwise it is not included in the command line.  When the command is not present the server automatically will look in the uo folder.
 

 
+exec  "config file"


 

 
This command tells the game server which config file to execute in order to set game settings.  If a config is not present or not the same name as specified the game server will start, but no one can connect to the server to play.  Essentially the server has "crashed".
 

 
+map_rotate

 

 
This command basically tells the server to start the map rotation by going to the first map in the rotation.  Always specify a map rotation in your config file for the server to run.

?האם התשובה שקיבלתם הייתה מועילה

1 משתמשים שמצאו מאמר זה מועיל