VGUI-Menu: friendList, chat backend, textview class proto SurfaceProps: Flesh impacts recognition PropData: BreakModels now use a bodyque to limit possible physics overhead PMove: falldamage, liquids can now be configured via external decl NSWeapon: added alternative punchangle based on springs, 'punchSpring X Y Z' in decl API: Team class management APIS NSPhysicsEntity: Optimised, optimised, optimised. New cvar: phys_lowspec. Scraping, impact effects etc have been added. More polish everywhere else
36 lines
1.6 KiB
Markdown
36 lines
1.6 KiB
Markdown
# Dedicated Server {#dedicated}
|
|
|
|
## Usage
|
|
|
|
 To initialize a dedicated server, you can [launch the engine](@ref launching) with the command-line argument `-dedicated` or run the dedicated server binary which you can [build yourself](@ref building) also.
|
|
|
|
It is generally advised to write and execute a server config file you have prepared ahead of time.
|
|
|
|
Here is an example:
|
|
|
|
```
|
|
hostname "Nuclide Test Server"
|
|
set sv_public 2 // 0 - not public, 1 = advertised on master server, 2 = ICE
|
|
set deathmatch 1 // request multiplayer modus
|
|
set coop 0 // deny coop modus
|
|
set maxplayers 16 // 16 players max
|
|
set timelimit 10 // 10 minutes per map
|
|
set fraglimit 30 // 30 frags per map
|
|
set pausable 0 // don't allow players to 'pause'
|
|
set rcon_password "" // no rcon
|
|
map dm_beck16 // start
|
|
```
|
|
|
|
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.
|
|
|
|
@note Keep in mind to set any game specific console variables.
|
|
|
|
## Remote Console (RCon)
|
|
|
|
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.
|