From d99c8660bb9bba4f540a167263205cf8f58dae8d Mon Sep 17 00:00:00 2001 From: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> Date: Mon, 2 Oct 2023 15:20:40 +0200 Subject: Move formatting section to convars page (#232) Part of an effort to deprecate best-practices page Co-authored-by: NoCatt <86153630+NoCatt@users.noreply.github.com> --- .../dedicated-server/best-practices.md | 6 ------ docs/hosting-a-server-with-northstar/server-settings/convars.md | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'docs') diff --git a/docs/hosting-a-server-with-northstar/dedicated-server/best-practices.md b/docs/hosting-a-server-with-northstar/dedicated-server/best-practices.md index 5741452..b21e33e 100644 --- a/docs/hosting-a-server-with-northstar/dedicated-server/best-practices.md +++ b/docs/hosting-a-server-with-northstar/dedicated-server/best-practices.md @@ -26,12 +26,6 @@ The current minimum requirements are as follows: **Note:** It is recommended to surpass the listed requirements. Currently the number of available servers covers the daily playerbase more than enough. If you're planning to host public servers for the community it is therefore recommended to either fill a niche (like a gamemode that is so popular that all existing servers are full) or provide a better service than existing hosts (less lag, more stable, etc.). -## Monitoring - -You can set the Convar `ns_should_log_all_clientcommands` to `1` to log all client commands. This includes both benign things like the command a client sends to server to respawn after death but also nefarious, like a malicious client calling `emit`, a command that before being patched out allowed clients to spam voice lines to other clients. - -Due to the increased verbosity `ns_should_log_all_clientcommands` is set to `0` (disabled) by default but should be enabled in cases where you want to investigate suspicious activity on your server. - ## Optimization Commands (Optional) | Command | Description | diff --git a/docs/hosting-a-server-with-northstar/server-settings/convars.md b/docs/hosting-a-server-with-northstar/server-settings/convars.md index 929bc78..77277c2 100644 --- a/docs/hosting-a-server-with-northstar/server-settings/convars.md +++ b/docs/hosting-a-server-with-northstar/server-settings/convars.md @@ -32,3 +32,9 @@ They allow the server admin to set server's properties like the name, port, and | `sv_max_snapshots_multiplayer` | The number of snapshots stored locally for use in replays, this should be set to sv\_updaterate\_mp \* 15 | `300` | `int` | | `host_skip_client_dll_crc` | Whether the server should allow clients with modified client.dll files to connect, these are used for visor colour edit mods | `1` | `0-1` | | `dedi_sendPrintsToClient` | Whether the dedicated server should forward all logs to connected clients, which is useful for testing/debugging on a dedicated server. If `-1`, send no prints to clients. If `0`, send prints to the first client connected only. If `1`, send prints to all clients | `-1` | `-1-1` | + +## Monitoring + +You can set the Convar `ns_should_log_all_clientcommands` to `1` to log all client commands. This includes both benign things like the command a client sends to server to respawn after death but also nefarious, like a malicious client calling `emit`, a command that before being patched out allowed clients to spam voice lines to other clients. + +Due to the increased verbosity `ns_should_log_all_clientcommands` is set to `0` (disabled) by default but should be enabled in cases where you want to investigate suspicious activity on your server. -- cgit v1.2.3