2025-07-19 04:58:13 +03:00
|
|
|
# Counter Strike 2
|
2025-07-05 12:08:25 +03:00
|
|
|
|
|
|
|
> Host a headless Counter Strike 2 server.
|
|
|
|
> More information: <https://developer.valvesoftware.com/wiki/Counter-Strike_2/Dedicated_Servers>.
|
|
|
|
|
|
|
|
- Run a game with one map:
|
|
|
|
|
|
|
|
`{{path/to/cs2}} -dedicated +map {{de_dust2}}`
|
|
|
|
|
|
|
|
- Run a game with specified maximum number of players:
|
|
|
|
|
2025-07-18 17:26:20 +03:00
|
|
|
`{{path/to/cs2}} -dedicated +map {{de_dust2}} -maxplayers {{64}}`
|
2025-07-05 12:08:25 +03:00
|
|
|
|
|
|
|
- Run a game with specified server IP and port:
|
|
|
|
|
|
|
|
`{{path/to/cs2}} -dedicated +map {{de_dust2}} -ip {{1.2.3.4}} -port {{27015}}`
|
|
|
|
|
|
|
|
- Shut the server down:
|
|
|
|
|
|
|
|
`quit`
|