HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

Natural Selection 2 — Start a headless Natural Selection 2 server. More information: <https://naturalselection.fandom.com/

Submitted by: @import:tldr-pages··
0
Viewed 0 times
servercommandheadlessstartselectionnatural selection 2clinatural
linux

Problem

How to use the Natural Selection 2 command: Start a headless Natural Selection 2 server. More information: <https://naturalselection.fandom.com/wiki/Dedicated_Server>.

Solution

Natural Selection 2 — Start a headless Natural Selection 2 server. More information: <https://naturalselection.fandom.com/wiki/Dedicated_Server>.

Start a server with the default settings:
{{path/to}}/server_linux


Give a server a custom name that shows in the server browser:
{{path/to}}/server_linux -name '{{server_name}}'


Specify a connection port for the server:
{{path/to}}/server_linux -port {{27015}}


Specify maximum player count:
{{path/to}}/server_linux -limit {{2..24}}


Specify the initial map the server starts on:
{{path/to}}/server_linux -map {{ns2_summit}}


Limit access to the server with a password:
{{path/to}}/server_linux -password {{password}}


Start a server with webui admin interface:
{{path/to}}/server_linux -webadmin -webport {{8080}}

Code Snippets

Start a server with the default settings

{{path/to}}/server_linux

Give a server a custom name that shows in the server browser

{{path/to}}/server_linux -name '{{server_name}}'

Specify a connection port for the server

{{path/to}}/server_linux -port {{27015}}

Specify maximum player count

{{path/to}}/server_linux -limit {{2..24}}

Specify the initial map the server starts on

{{path/to}}/server_linux -map {{ns2_summit}}

Context

tldr-pages: linux/Natural Selection 2

Revisions (0)

No revisions yet.