Skip to content

Commit

Permalink
feat: Velocity forwarding secret environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
zlataovce committed Sep 22, 2024
1 parent 83d492c commit c391810
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions docs/paper/admin/reference/system-properties.md
Original file line number Diff line number Diff line change
@@ -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]

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.

0 comments on commit c391810

Please sign in to comment.