mirror of
https://github.com/Pumpkin-MC/Pumpkin-Website.git
synced 2025-04-18 13:36:21 +00:00
* 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>
37 lines
835 B
Markdown
37 lines
835 B
Markdown
# Query
|
|
Het query-protocol is een eenvoudige manier om de server te vragen naar zijn status. Pumpkin ondersteunt het query-protocol volledig.
|
|
|
|
## Query configureren
|
|
|
|
#### `enabled`: Boolean
|
|
Of er geluisterd moet worden naar query-protocolverzoeken of niet.
|
|
|
|
:::code-group
|
|
```toml [features.toml] {2}
|
|
[query]
|
|
enabled = true
|
|
```
|
|
:::
|
|
|
|
#### `port`: Integer (0-65535) (optioneel)
|
|
Op welke poort er geluisterd moet worden naar query-protocolverzoeken. Als dit niet is opgegeven, wordt dezelfde poort als de server gebruikt.
|
|
|
|
:::code-group
|
|
```toml [features.toml] {3}
|
|
[query]
|
|
enabled = true
|
|
port = 12345
|
|
```
|
|
:::
|
|
|
|
## Standaardconfiguratie
|
|
Standaard is query uitgeschakeld. Het zal op de serverpoort draaien als het is ingeschakeld, tenzij expliciet opgegeven.
|
|
|
|
:::code-group
|
|
```toml [features.toml]
|
|
[query]
|
|
enabled = true
|
|
port = 25565
|
|
```
|
|
:::
|