upstream 支持 quic 和 kcp

This commit is contained in:
2025-07-01 18:38:50 +08:00
parent 8530df6cdf
commit 55c2f0a888
10 changed files with 208 additions and 81 deletions

View File

@@ -1,3 +1,6 @@
# pid 文件
pid_file = "gateway.pid"
[log]
level = "warn"
file = "logs/mc1.log"
@@ -9,10 +12,13 @@ port = 25565
[quic]
enable = true
port = 25565
pid_file = ["minecraft", "quic", "raw", "h3"]
[kcp]
enable = true
port = 25566
data_shards = 10
parity_shards = 3
[hosts]
dev = "mc1:25565"