Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add Velocity environment variables #551

Merged
merged 1 commit into from
Mar 15, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions docs/velocity/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 Velocity may check.
description: Documentation for the system properties and environment variables Velocity may check.
---

# Velocity 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 @@ -90,3 +90,10 @@ The default value shown may not be set for the property but will only be used by

- **default**: `true`
- **description**: Whether the client should disconnect on packet errors. Temporarily added in MC 1.20.5 and removed in 1.21.2 to help modded servers transition to this change.

## List of environment variables

#### VELOCITY_FORWARDING_SECRET

- **default**: `unset`
- **description**: Overrides the forwarding secret inside the [`forwarding-secret-file`](./configuration.md#root-section).