> For the complete documentation index, see [llms.txt](https://r2northstar.gitbook.io/r2northstar-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://r2northstar.gitbook.io/r2northstar-wiki/hosting-a-server-with-northstar/server-settings/startup-args.md).

# Startup arguments

{% hint style="warning" %}
The GitBook based NorthstarWiki has been replaced in favour of the [NorthstarDocs](https://docs.northstar.tf/) where this wiki has been integrated.

Check it out here: <https://docs.northstar.tf/Wiki/>

The same page on the new wiki should be located here: <https://docs.northstar.tf/Wiki/hosting-a-server-with-northstar/server-settings/startup-args>
{% endhint %}

Startup arguments can be added in the `ns_startup_args_dedi.txt` file.\
Example: `+setplaylist private_match +mp_gamemode ps`

| Arguments                  | Accepted Values                                                                                                                                                       | Description                                                                                                                                                     |
| -------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `+setplaylist`             | see [Gamemodes](/r2northstar-wiki/hosting-a-server-with-northstar/server-settings.md#gamemodes) (Should be the same as `mp_gamemode` unless you want a private match) | Set the server type (If it is not `private_match`, make sure you have also included `+map` and NOT `mp_lobby` or else you can't search your server in the game) |
| `+setplaylistvaroverrides` | see [PlaylistOverrides](/r2northstar-wiki/hosting-a-server-with-northstar/server-settings.md#playlist-overrides)                                                      | Edits the behaviour of the server                                                                                                                               |
| `-port`                    | int beteween `1-65535`                                                                                                                                                | Determines which UDP port the server will listen to                                                                                                             |
| `+mp_gamemode`             | see [Gamemodes](/r2northstar-wiki/hosting-a-server-with-northstar/server-settings.md#gamemodes)                                                                       | Forces the gamemode of the server                                                                                                                               |
| `+map`                     | see [Maps](/r2northstar-wiki/hosting-a-server-with-northstar/server-settings.md#maps) (`mp_lobby` is the default if not included)                                     | Forces the map of the server at the first start                                                                                                                 |

| Flags                 | Description                                                                                                                                      |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| `-maxplayersplaylist` | Allows [PlaylistOverrides](/r2northstar-wiki/hosting-a-server-with-northstar/server-settings.md#playlist-overrides) to override max player count |
| `-enablechathooks`    | Allows send the commands using in-game chat                                                                                                      |
| `-allowdupeaccounts`  | Allows the same account joining multiple times                                                                                                   |
