diff options
Diffstat (limited to 'docs/hosting-a-server-with-northstar/server-settings/startup-args.md')
-rw-r--r-- | docs/hosting-a-server-with-northstar/server-settings/startup-args.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/hosting-a-server-with-northstar/server-settings/startup-args.md b/docs/hosting-a-server-with-northstar/server-settings/startup-args.md new file mode 100644 index 0000000..19b2951 --- /dev/null +++ b/docs/hosting-a-server-with-northstar/server-settings/startup-args.md @@ -0,0 +1,18 @@ +## Startup Arguments + +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](./#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](./#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](./#gamemodes) | Forces the gamemode of the server | +| `+map` | see [Maps](./#maps) (`mp_lobby` is the default if not included) | Forces the map of the server at the first start | + +| Flags | Description | +| --------------------- | ------------------------------------------------------------------------------ | +| `-maxplayersplaylist` | Allows [PlaylistOverrides](./#playlist-overrides) to override max player count | +| `-enablechathooks` | Allows send the commands using in-game chat | +| `-allowdupeaccounts` | Allows the same account joining multiple times | |