mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-14 07:15:26 +02:00
counter-strike-2: add page (#17121)
Co-authored-by: Wiktor Perskawiec <wiktor@perskawiec.cc> Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
This commit is contained in:
parent
850a4fb9f5
commit
64a47be182
2 changed files with 27 additions and 0 deletions
20
pages/linux/counter-strike-2.md
Normal file
20
pages/linux/counter-strike-2.md
Normal file
|
@ -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
pages/linux/cs2.md
Normal file
7
pages/linux/cs2.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# cs2
|
||||
|
||||
> This command is an alias of `counter strike 2`.
|
||||
|
||||
- View documentation for the original command:
|
||||
|
||||
`tldr counter strike 2`
|
Loading…
Add table
Reference in a new issue