Difference between revisions of "Dedicated Servers"
Bermudabeast (talk | contribs) |
Bermudabeast (talk | contribs) |
||
Line 19: | Line 19: | ||
::Valid values are any of the available maps in game. If a map appears to be made of several words, its spacings must be replaced by "_" | ::Valid values are any of the available maps in game. If a map appears to be made of several words, its spacings must be replaced by "_" | ||
::Currently, one can open a server on ''Test_Performance'', ''Bloodbath'', ''Forest_Island2'' and ''BermudaV1''. If not specified, defaults to ''Test_Performance''. | ::Currently, one can open a server on ''Test_Performance'', ''Bloodbath'', ''Forest_Island2'' and ''BermudaV1''. If not specified, defaults to ''Test_Performance''. | ||
− | + | <br><br> | |
*-GameMode ''mode'' | *-GameMode ''mode'' | ||
::Valid values are ''Life_Cycle'', ''Combat'' and ''Free_Roam''. If not specified, will default to ''Life_Cycle'''. | ::Valid values are ''Life_Cycle'', ''Combat'' and ''Free_Roam''. If not specified, will default to ''Life_Cycle'''. | ||
− | + | <br><br> | |
*-SessionName ''Name'' | *-SessionName ''Name'' | ||
#Consider a rather short name (avoid "My Super Server that really is awesome pls join"). Spacings must be replaced with "_" for the command to be parsed properly. | #Consider a rather short name (avoid "My Super Server that really is awesome pls join"). Spacings must be replaced with "_" for the command to be parsed properly. | ||
#Example: -SessionName Vipe's_dedicated_server. For people seeing your server, it will appear as following: Vipe's dedicated server | #Example: -SessionName Vipe's_dedicated_server. For people seeing your server, it will appear as following: Vipe's dedicated server | ||
− | + | <br><br> | |
*-ServerPassword ''Password'' | *-ServerPassword ''Password'' | ||
::A password for the game server. No spaces. If not specified, server will have no password. | ::A password for the game server. No spaces. If not specified, server will have no password. | ||
− | + | <br><br> | |
*-AdminPassword ''Password'' | *-AdminPassword ''Password'' | ||
::A password for the admin login. No spaces. If not specified, anyone can use the admin commands. It is recommended to specify a value. | ::A password for the admin login. No spaces. If not specified, anyone can use the admin commands. It is recommended to specify a value. | ||
− | + | <br><br> | |
*-NumPlayers ''Value'' | *-NumPlayers ''Value'' | ||
::A limit for server's public connections. Basically for how many slots a server has. If not specified, defaults to 32. | ::A limit for server's public connections. Basically for how many slots a server has. If not specified, defaults to 32. | ||
Line 43: | Line 43: | ||
*?Port='''xxxxx''' | *?Port='''xxxxx''' | ||
::This is the server's listen port. Its default value is 7777. On your router's ports settings, ensure that the port you are using is open for both TCP and UDP, as the server will use these two. | ::This is the server's listen port. Its default value is 7777. On your router's ports settings, ensure that the port you are using is open for both TCP and UDP, as the server will use these two. | ||
− | + | <br><br> | |
*?QueryPort='''xxxxx''' | *?QueryPort='''xxxxx''' | ||
::This is the server's steam Query Port. Its default value is 27015. Just like the server's listen port, ensure that the port you are using is open for TCP and UDP. | ::This is the server's steam Query Port. Its default value is 27015. Just like the server's listen port, ensure that the port you are using is open for TCP and UDP. | ||
− | + | <br><br> | |
*?Multihome='''xxx.xxx.xxx.xx''' | *?Multihome='''xxx.xxx.xxx.xx''' | ||
::This is your multihome adress, if you use one. | ::This is your multihome adress, if you use one. | ||
− | + | <br><br> | |
For all of the above server command line flags, do not use space between each, as the following: '''?Port=xxxxx?QueryPort=xxxxxx''' | For all of the above server command line flags, do not use space between each, as the following: '''?Port=xxxxx?QueryPort=xxxxxx''' | ||
<br><br><br> | <br><br><br> |
Revision as of 16:53, 1 August 2018
- Beasts of Bermuda supports dedicated servers. In order to start a server, one has two solutions
- - Grab the executable file BeastsOfBermudaServer.exe located in [GameRoot]\BeastsOfBermuda\Binaries\[OSType].
- - Download our dedicated server tool via SteamCMD or the Steam client software. This section will be detailed here
Starting this executable, will, by default, open up Test_Performance, and allow 32 connections.
The user can however, pass custom arguments into the dedicated server using command line arguments.
Contents
Setting custom game parameters into the executable
Game Arguments must follow this syntax: -key value. Server Arguments must follow this one: ?key=value.
- A dedicated server can be customized using the following arguments:
- -MapName Name
- Valid values are any of the available maps in game. If a map appears to be made of several words, its spacings must be replaced by "_"
- Currently, one can open a server on Test_Performance, Bloodbath, Forest_Island2 and BermudaV1. If not specified, defaults to Test_Performance.
- -GameMode mode
- Valid values are Life_Cycle, Combat and Free_Roam. If not specified, will default to Life_Cycle'.
- -SessionName Name
- Consider a rather short name (avoid "My Super Server that really is awesome pls join"). Spacings must be replaced with "_" for the command to be parsed properly.
- Example: -SessionName Vipe's_dedicated_server. For people seeing your server, it will appear as following: Vipe's dedicated server
- -ServerPassword Password
- A password for the game server. No spaces. If not specified, server will have no password.
- -AdminPassword Password
- A password for the admin login. No spaces. If not specified, anyone can use the admin commands. It is recommended to specify a value.
- -NumPlayers Value
- A limit for server's public connections. Basically for how many slots a server has. If not specified, defaults to 32.
Customizing Dedicated server listen and Query ports, and Multihome IP adress
Here comes the more advanced stuff. If you are running multiple servers on your machine, you will need these in order to change the ports used by the server to communicate with the world.
- ?Port=xxxxx
- This is the server's listen port. Its default value is 7777. On your router's ports settings, ensure that the port you are using is open for both TCP and UDP, as the server will use these two.
- ?QueryPort=xxxxx
- This is the server's steam Query Port. Its default value is 27015. Just like the server's listen port, ensure that the port you are using is open for TCP and UDP.
- ?Multihome=xxx.xxx.xxx.xx
- This is your multihome adress, if you use one.
For all of the above server command line flags, do not use space between each, as the following: ?Port=xxxxx?QueryPort=xxxxxx
Setting up dedicated Server using SteamCMD or Steam Client Dedicated Server tool
To set up a dedicated server using SteamCMD, follow the instructions on Valve's website about their product: Set up Steam CMD
Once you have it unzipped and ready to use, open up the command line in SteamCMD's executable folder (shift + right click on Windows) and use the following command:
steamcmd +login anonymous +force_install_dir ../csgo_ds +app_update 740 +quit
Example of working batch scripts to run a server
Note: It is recommended to finish your command line with -log with no parameter. Otherwise, server will run in the background.
BeastsOfBermudaServer.exe -GameMode Combat -AdminPassword hi79 -MapName Test_Performance -SessionName My_awesome_server -NumPlayers 32 -log