0
0
mirror of https://github.com/Pumpkin-MC/Pumpkin-Website.git synced 2025-02-11 22:50:55 +00:00
Alexander Medvedev 530524b739 init
2024-12-22 19:45:25 +01:00

1.4 KiB

Proxy

Many servers use proxies to manage connections and distribute players across servers. Pumpkin supports the following proxy protocols:

Tip

Velocity is recommended for most server networks. Velocity is modern and more performant compared to BungeeCord.

Configuring Proxy

enabled: Boolean

Enables support for proxies.

:::code-group

[proxy]
enabled = true

:::

Velocity

enabled: Boolean

Whether Velocity support is enabled or not.

:::code-group

[proxy.velocity]
enabled = true

:::

secret: String

The secret as configured in Velocity.

:::code-group

[proxy.velocity]
enabled = true
secret = "[proxy secret here]"

:::

BungeeCord

enabled: Boolean

Whether BungeeCord support is enabled or not.

:::code-group

[proxy.bungeecord]
enabled = true

:::

Caution

Ensure that the server's firewall is correctly configured, as BungeeCord can't verify if player info is from your proxy or an imposter.

Default Config

By default, proxy support is disabled. Here is the default config:

:::code-group

[proxy]
enabled = false

[proxy.velocity]
enabled = false
secret = ""

[proxy.bungeecord]
enabled = false

:::