From 3a6c2ccfbb7cf193ca23c0482e3f7f9d0f5d657d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matou=C5=A1=20Ku=C4=8Dera?= Date: Sun, 22 Sep 2024 20:25:42 +0200 Subject: [PATCH] Velocity forwarding secret environment variable (#482) --- docs/paper/admin/reference/system-properties.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/docs/paper/admin/reference/system-properties.md b/docs/paper/admin/reference/system-properties.md index f31d9400..bb77e7cd 100644 --- a/docs/paper/admin/reference/system-properties.md +++ b/docs/paper/admin/reference/system-properties.md @@ -1,11 +1,11 @@ --- slug: /reference/system-properties -description: Documentation for the system properties Paper may check. +description: Documentation for the system properties and environment variables Paper may check. --- # Paper System Properties -These system properties can be set when you start your server allowing for the configuration of various settings. +These system properties and environment variables can be set when you start your server allowing for the configuration of various settings. :::danger[Danger Ahead] @@ -37,6 +37,11 @@ Where a system property is stated as `unset`, setting it as `true` will work to ::: +[Environment variables](https://en.wikipedia.org/wiki/Environment_variable) are another way to pass values to Paper. +They can be set in various ways, depending on your operating system and how you start Paper. + +In most cases, you will not need to use these, unless you are running Paper in a (Docker) container or such. + ## List of system properties #### paper.playerconnection.keepalive @@ -224,3 +229,10 @@ It also remaps plugin CB calls to remove the version information. - **default**: `false` - **description**: Disables the folder walk and symlink validation when loading a world. Significantly improves world loading speed on massive worlds (>1TB). This does not disable symlink verification of datapacks. + +## List of environment variables + +#### PAPER_VELOCITY_SECRET + +- **default**: `unset` +- **description**: Overrides the [`proxies.velocity.secret`](./configuration/global-configuration.mdx#proxies_velocity_secret) global configuration option.