Pumpkin-Docs/docs/tr_TR/config/query.md
2026-07-24 13:05:39 +02:00

48 lines
861 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Query
Query protokolü, sunucunun durumu hakkında sorgu yapmak için basit bir yöntemdir. Pumpkin Query protokolünü tamamen
destekler.
## Query'yi Yapılandırma
#### `enabled`: Boolean
Query protokolü isteklerini dinleyip dinlememesi.
:::code-group
```toml [pumpkin.toml] {2}
[networking.query]
enabled = true
```
:::
#### `port`: Integer (0-65535) (optional)
Query protokolü isteklerinin dinleneceği port. Belirtilmezse sunucu portuyla aynı portu kullanır.
:::code-group
```toml [pumpkin.toml] {3}
[networking.query]
enabled = true
address = "0.0.0.0:12345"
```
:::
## Varsayılan Yapılandırma
Varsayılan olarak Query devre dışıdır. Etkinleştirilirse, açıkça belirtilmediği sürece sunucu portunda çalışır.
:::code-group
```toml [pumpkin.toml]
[networking.query]
enabled = true
address = "0.0.0.0:25565"
```
:::