refactor: README.md

pull/2/head
Евгений Сугоняко 2024-05-03 17:35:49 +00:00
parent cfa129f15c
commit 08904bf572
1 changed files with 19 additions and 3 deletions

View File

@ -1,6 +1,22 @@
# GameServer
## Server start arguments
-port=3300 - set server port (by default 3300)
-max_clients=2048 - set max clients (by default 2048)
-log - write server logs to file /server.log
Set server port (by default 3300):
```bash
CashFlow_Server -port=3300
```
Set max clients (by default 2048)
```bash
CashFlow_Server -max_clients=2048
```
Write server logs to file server.log
```bash
CashFlow_Server -log
```
All arguments
```bash
CashFlow_Server -port=3300 -max_clients=2048 -log
```