Include your server access token in server builds
There are two methods for including your server access token in server builds
- Setting it as an environment variable
- Setting it as a command line argument
Setting as a command line argument
Section titled “Setting as a command line argument”When running your executable from the command line, add the following:
GameServerAccessToken="YOUR_SERVER_ACCESS_TOKEN"

Setting it as an environment variable
Section titled “Setting it as an environment variable”You can also set your game token as an environment variable called GameServerAccessToken
. In this case, do not include quotation marks around the value you set this to.