mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-18 04:00:54 +00:00
Update cheatsheets
This commit is contained in:
25
tldr/linux/counter-strike-2
Normal file
25
tldr/linux/counter-strike-2
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
Reference in New Issue
Block a user