0
0
mirror of https://github.com/Pumpkin-MC/Pumpkin-Website.git synced 2025-04-14 03:53:50 +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

107 lines
1.9 KiB
Markdown

# RCON
RCON is een protocol waarmee je de server op afstand kunt beheren vanaf een ander apparaat. Pumpkin heeft volledige ondersteuning voor RCON.
## Configureren van RCON
#### `enabled`: Boolean
:::code-group
```toml [features.toml] {2}
[rcon]
enabled = true
```
:::
#### `address`: String
Het adres en de poort waar RCON naar moet luisteren.
:::code-group
```toml [features.toml] {3}
[rcon]
enabled = true
address = "0.0.0.0:25575"
```
:::
#### `password`: String
Het wachtwoord dat gebruikt moet worden voor RCON-authenticatie.
:::code-group
```toml [features.toml] {3}
[rcon]
enabled = true
password = "[je veilig wachtwoord hier]"
```
:::
#### `max_connections`: Integer
Het maximale aantal RCON-verbindingen dat tegelijkertijd is toegestaan. Stel in op 0 om een limiet uit te schakelen.
:::code-group
```toml [features.toml] {3}
[rcon]
enabled = true
max_connections = 5
```
:::
### Logging
#### `log_logged_successfully`: Boolean
Of succesvolle logins naar de console moeten worden gelogd of niet.
:::code-group
```toml [features.toml] {2}
[rcon.logging]
log_logged_successfully = true
```
:::
#### `log_wrong_password`: Boolean
Of verkeerde wachtwoordpogingen naar de console moeten worden gelogd of niet.
:::code-group
```toml [features.toml] {2}
[rcon.logging]
log_logged_successfully = true
```
:::
#### `log_commands`: Boolean
Of commando's uitgevoerd vanaf RCON naar de console moeten worden gelogd of niet.
:::code-group
```toml [features.toml] {2}
[rcon.logging]
log_commands = true
```
:::
#### `log_quit`: Boolean
Of het afsluiten van de RCON-client moet worden gelogd of niet.
:::code-group
```toml [features.toml] {2}
[rcon.logging]
log_quit = true
```
:::
## Standaard Configuratie
Standaard is RCON uitgeschakeld.
:::code-group
```toml [features.toml]
[rcon]
enabled = false
address = "0.0.0.0:25575"
password = ""
max_connections = 0
[rcon.logging]
log_logged_successfully = true
log_wrong_password = true
log_commands = true
log_quit = true
```
:::