diff options
author | SamLam140330 <lamlam0328@gmail.com> | 2022-03-01 05:22:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-28 22:22:38 +0100 |
commit | 282197ba5e3edbf4297644b4c38de0e021fcccc1 (patch) | |
tree | 04fecce02389628a2df62db818c373facef8caa1 /docs/hosting-a-server-with-northstar/dedicated-server/README.md | |
parent | 8cfb721429c4753b8df1a2c7f952ef5fd57b0dcb (diff) | |
download | NorthstarWiki-282197ba5e3edbf4297644b4c38de0e021fcccc1.tar.gz NorthstarWiki-282197ba5e3edbf4297644b4c38de0e021fcccc1.zip |
Update Hosting a server with Northstar (#56)
* Update README.md Startup Arguments
* Update README.md Startup Arguments again
* Add Optimization Commands
* Update prerequisites.md
* Remove net_encryptpackets
* Update best-practices.md
* Update prerequisites.md
* Update firewall paragraph
Diffstat (limited to 'docs/hosting-a-server-with-northstar/dedicated-server/README.md')
-rw-r--r-- | docs/hosting-a-server-with-northstar/dedicated-server/README.md | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/docs/hosting-a-server-with-northstar/dedicated-server/README.md b/docs/hosting-a-server-with-northstar/dedicated-server/README.md index 1fad654..62032ee 100644 --- a/docs/hosting-a-server-with-northstar/dedicated-server/README.md +++ b/docs/hosting-a-server-with-northstar/dedicated-server/README.md @@ -15,7 +15,7 @@ When using a dedicated server, arguments are read from `ns_startup_args_dedi.txt * `R2Northstar\mods\Northstar.CustomServers\mod.json`\ contains [ConVars](./#convars) default values * `R2Northstar\mods\Northstar.CustomServers\mod\cfg\autoexec_ns_server.cfg`\ - contains [ConVars](./#convars) and overrides `R2Northstar\mods\Northstar.CustomServers\mod.json` + contains [ConVars](./#convars) and overrides ### Dedicated Server Caveats @@ -29,24 +29,28 @@ See [troubleshoot](troubleshoot.md) ## Startup Arguments -Startup arguments can be added in the `ns_startup_args_dedi.txt` file. +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` | `private_match` | Currently needed to make servers work | -| `+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 | +| 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 | ### Playlist overrides Playlist overrides determines the behaviour of the server. PlaylistOverrides can be added using the `+setplaylistvaroverrides` argument in the `ns_startup_args_dedi.txt` file. -The list of playlist overrides needs to be quoted and separated by spaces (example : `+setplaylistvaroverrides "run_epilogue 0 featured_mode_amped_tacticals 1"`) +The list of playlist overrides needs to be quoted and separated by spaces.\ +Example: `+setplaylistvaroverrides "run_epilogue 0 featured_mode_amped_tacticals 1"` | PlaylistOverrides | Accepted Values | Default Value | Description | | -------------------------------------------- | --------------- | ------------- | ---------------------------------------------------------------------------------------------- | |