Nuclide
Software Development Kit for id Technology (BETA)
|
To initialize a dedicated server, you can launch the engine with the command-line argument -dedicated
or run the dedicated server binary which you can build yourself also.
It is generally advised to write and execute a server config file you have prepared ahead of time.
Here is an example:
You can then run the dedicated server like this:
./TestGame_x64 -dedicated +exec server.cfg
In production, the exact same style of commands applies to release builds. So if you have a standard engine binary (fteqwgl64.exe or a branded executable) things will be identical.
In the above config, if you've set rcon_password to anything other than ""
you have access to remotely control the game server.
For example, you can (as a client, once connected) use the command rcon yourPassword changelevel dm_beck16
to forcefully change the level on the server. Anything that's configurable in a conventional dedicated server console is now available.