Skip to content

counter-strike-2: add page #17121

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions pages/linux/counter-strike-2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# counter strike 2

> 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:

`{{path/to/cs2}} -dedicated +map {{de_dust2}} -maxplayers {{64}}`

- 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`
7 changes: 7 additions & 0 deletions pages/linux/cs2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# cs2

> This command is an alias of `counter strike 2`.

- View documentation for the original command:

`tldr counter strike 2`