> For the complete documentation index, see [llms.txt](https://pospelovlm.gitbook.io/skyrim-multiplayer-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pospelovlm.gitbook.io/skyrim-multiplayer-docs/docs_server_command_line_api.md).

# Server Command Line Api

During the very first months of the current generation of skymp server's existence, we used command line API to configure our servers. These days we have [a configuration file](/skyrim-multiplayer-docs/docs_server_configuration_reference.md) in JSON format, but configuring via command-line arguments is also supported.

```bash
skymp5-server.exe --maxPlayers 108 --name "Server X" --port 7777 --ip "127.0.0.1"
```

Things you need to know about command-line arguments before using one:

* Arguments passed directly to a command line implicitly override values from `server-settings.json` if they are set.
* The only options that exist as command-line arguments are `maxPlayers`, `name`, `port`, `ip`. They have the same meanings as options in `server-settings.json`.
* Instead of writing `--maxPlayers 108` you may use `-m 108`. Only `maxPlayers` option has a short version.
