network_steam_server_settings table reference - Stingray Lua API Reference

network_steam_server_settings table reference

Description

A table that defines the settings of a Steam game server, which you can pass in calls to stingray.Network.init_steam_server().

Note that for a steam server to visible globally (and not just on Steam), the gamedir must be set to a value that is registered at Valve, and the server_version must match the registered server version.

Data Members

Default is 8766.

This can be used to filter for dedicated servers in the server browser.

Typically you will want players with a demo version play with other players with the demo version but not with players using the full game. This setting is used to specify a world that this server exists in. The server browser can search for a game in a specific world.

A string that describes the game.

If not specified, the address will be figured out by Steam.

map : string

The name of the map being played.

The engine will not accept connections for more players than this maximum.

password : string

The password to access the server, if the server should be protected.

This can be any port for a public server, but to be found on a LAN with the server browser it must be in the range [27016..27020]. The default is 27016.

server_name : string

REQUIRED: A name for the server that will be visible in the server browser.

The default is 27015.

A string that describes the server version.

The default is 0.