← 返回命令列表

Linux command

natural-selection-2 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Example

[path/to]/server_linux

Example

[path/to]/server_linux -name '[server_name]'

Example

[path/to]/server_linux -port [27015]

Example

[path/to]/server_linux -limit [2..24]

Example

[path/to]/server_linux -map [ns2_summit]

Example

[path/to]/server_linux -password [password]

Example

[path/to]/server_linux -webadmin -webport [8080]

说明

Natural Selection 2 dedicated server runs a headless game server for the asymmetric multiplayer FPS/RTS hybrid. Players join as either Marines or Aliens, with commanders directing team strategy in real-time. The Linux server binary (server_linux) is provided through SteamCMD or the game's dedicated server tools. It manages game state, player connections, and map rotation for online matches. Server configuration can be done through command-line arguments or configuration files in the server directory.

参数

-name _name_
Server name displayed in the browser
-port _port_
UDP port for client connections (default: 27015)
-limit _n_
Maximum players (2-24)
-map _mapname_
Initial map to load
-password _pass_
Server password for private games
-webadmin
Enable web administration interface
-webport _port_
Port for web admin interface
-config _file_
Custom configuration file

FAQ

What is the natural-selection-2 command used for?

Natural Selection 2 dedicated server runs a headless game server for the asymmetric multiplayer FPS/RTS hybrid. Players join as either Marines or Aliens, with commanders directing team strategy in real-time. The Linux server binary (server_linux) is provided through SteamCMD or the game's dedicated server tools. It manages game state, player connections, and map rotation for online matches. Server configuration can be done through command-line arguments or configuration files in the server directory.

How do I run a basic natural-selection-2 example?

Run `[path/to]/server_linux` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -name _name_ do in natural-selection-2?

Server name displayed in the browser