0
0
mirror of https://github.com/Pumpkin-MC/Pumpkin-Website.git synced 2025-04-22 20:06:13 +00:00
Files
Khalaor 6d855c9c68 Add multi-lingual (translation) support (#17)
* Change VitePress config to add locales

* Move English documentation into new Directory

* Started Dutch translations

* Add Translation instructions

* Set cleanUrls (Removes .html in URLs)

* Ignore typo's for files containing translations

* Add Dutch translations

* Simplify config structure

* Fix main page redirects for Dutch translation

* Updated small indent issue

---------

Co-authored-by: khalaor-gh <khalaor4@gmail.com>
2025-03-04 19:04:30 +01:00

79 lines
1.5 KiB
Markdown

# Proxy
Veel servers gebruiken proxies om verbindingen te beheren en spelers over servers te verdelen. Pumpkin ondersteunt de volgende proxy-protocollen:
- [Velocity](https://papermc.io/software/velocity)
- [BungeeCord](https://www.spigotmc.org/wiki/bungeecord-installation/)
> [!TIP]
> Velocity wordt aanbevolen voor de meeste servernetwerken. Velocity is moderner en presteert beter in vergelijking met BungeeCord.
## Proxy configureren
#### `enabled`: Boolean
Schakelt ondersteuning voor proxies in.
:::code-group
```toml [features.toml]{2}
[proxy]
enabled = true
```
:::
### Velocity
#### `enabled`: Boolean
Of Velocity-ondersteuning is ingeschakeld of niet.
:::code-group
```toml [features.toml]{2}
[proxy.velocity]
enabled = true
```
:::
#### `secret`: String
Het geheim zoals geconfigureerd in Velocity.
:::code-group
```toml [features.toml]{3}
[proxy.velocity]
enabled = true
secret = "[proxy secret hier]"
```
:::
### BungeeCord
#### `enabled`: Boolean
Of BungeeCord-ondersteuning is ingeschakeld of niet.
:::code-group
```toml [features.toml]{2}
[proxy.bungeecord]
enabled = true
```
:::
> [!CAUTION]
> Zorg ervoor dat de firewall van de server correct is geconfigureerd, aangezien BungeeCord niet kan verifiëren of spelersinformatie van jouw proxy of een bedrieger komt.
## Standaardconfiguratie
Standaard is proxy-ondersteuning uitgeschakeld. Hier is de standaardconfiguratie:
:::code-group
```toml [features.toml]
[proxy]
enabled = false
[proxy.velocity]
enabled = false
secret = ""
[proxy.bungeecord]
enabled = false
```
:::