diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-22 20:41:40 +0000 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-12-22 20:41:40 +0000 |
commit | 8398f3661c1d9bc3d12481b1d004721390b766c6 (patch) | |
tree | 8aef19626eb75f2eb1bb7b53564488120d25d2bd | |
parent | a275ec33c8e3ffa0552299de262bcc6c76b7f20b (diff) | |
download | NorthstarWiki-8398f3661c1d9bc3d12481b1d004721390b766c6.tar.gz NorthstarWiki-8398f3661c1d9bc3d12481b1d004721390b766c6.zip |
Updated Hosting a Server (markdown)
-rw-r--r-- | Hosting-a-Server.md | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/Hosting-a-Server.md b/Hosting-a-Server.md index 53cc749..4deea5c 100644 --- a/Hosting-a-Server.md +++ b/Hosting-a-Server.md @@ -10,8 +10,27 @@ When using a dedicated server, arguments are read from `ns_startup_args_dedi.txt **Dedicated Server Caveats** At the moment, dedicated servers still require DirectX 11 to work, which typically requires a physical GPU, though they use almost no GPU processing power while in use, this can be an issue especially on GPU-less setups, so the launch argument `-softwared3d11` can be used to force DirectX to run in software mode. -While this is absolutely not ideal, it's the best solution for headless dedicated servers at the moment, and surprisingly hardly uses any CPU time, though it can use roughly up to 1GB of RAM. +While this is absolutely not ideal, it's the best solution for truely headless dedicated servers at the moment, and surprisingly hardly uses any CPU time, though it can use roughly up to 1GB of RAM. Regarding RAM usage, dedicated servers also use significant amounts of RAM at the moment, often requiring 1.5-2GB, though I expect this to lower as development continues. **Server Configuration** -Whether you're running a listen or dedicated server, you'll generally want to mess with the configuration at least a bit. While I do think the default configuration settings are pretty ok, being able to change your server's name or password, or increasing your server's tickrate is often something you'll want to do. Server configuration can be modified in the file `R2Northstar/mods/Northstar.CustomServers/mod/cfg/autoexec_ns_server.cfg`, which will be executed on server startup.
\ No newline at end of file +Whether you're running a listen or dedicated server, you'll generally want to mess with the configuration at least a bit. While I do think the default configuration settings are pretty ok, being able to change your server's name or password, or increasing your server's tickrate is often something you'll want to do. Server configuration can be modified in the file `R2Northstar/mods/Northstar.CustomServers/mod/cfg/autoexec_ns_server.cfg`, which will be executed on server startup. + +Below are a series of variables and commands you can use for server configuration: +|Name|Description|Default Value| +|----|-----------| +|ns_server_name|Your server's name on the server browser|"Unnamed Northstar Server"| +|ns_server_desc|Your server's description on the server browser|"Default server description"| +|ns_server_password|The password required to join your server, can be bypassed if clients directly connect and you are using insecure auth|""| +|ns_report_server_to_masterserver|Whether your server should report itself to the masterserver, for use in auth and the serverbrowser|1| +|ns_report_sp_server_to_masterserver|Whether your server should report itself to the masterserver if started on a singleplayer map, for use in auth and the serverbrowser|0| +|ns_auth_allow_insecure|Allows clients to join your server without authenticating with the masterserver, currently required to allow clients to connect directly to your IP, rather than through the server browser|0| +|ns_erase_auth_info|Whether your server should erase authentication information after it is used, this is useful for development but should normally be kept at 1|1| +|ns_player_auth_port|The port used for the server's local authentication server, this is the TCP port we forwarded earlier|8081| +|everything_unlocked|Whether all items, weapons, etc should be unlocked on the server|1| +|ns_should_return_to_lobby|Whether the server should return to private match lobby after completing a game, if 0, this will go to the next map/mode in the playlist|1| +|net_chan_limit_mode|If 0, don't limit the netchannel processing time individual clients are allowed. If 1, kick clients that go over the limit. If 2, log clients that go over the limit in console|1| +|net_chan_limit_msec_per_sec|The number of milliseconds of server netchan processing time clients can use per second before triggering the response set in net_chan_limit_mode|30| +|base_tickinterval_mp|The delay between each tick ran on the server, your tickrate will be 1 divided by this value|0.016666667| +|sv_updaterate_mp|The maximum number of times per second your server will send information to connected players, if a player's cl_updaterate_mp value is lower than this, their rate will be limited to it|20| +|sv_max_snapshots_multiplayer|The number of snapshots stored locally for use in replays, this should be set to sv_updaterate_mp * 15|300|
\ No newline at end of file |