基本Minecraft集群

This commit is contained in:
2026-02-22 20:14:29 +08:00
parent d1a90c953b
commit 69d2ffac99
570 changed files with 1143225 additions and 415 deletions

View File

@@ -0,0 +1,44 @@
#######################
# Some configurations need a restart
# Web port can be changed via CLI, e.g.: java -jar viaaas.jar -sslPort=8443
# See https://ktor.io/docs/server-configuration-file.html#command-line for web interface options
#######################
#
######
# Minecraft networking
######
# Socket address to bind, default port is 25565
bind-addresses:
- 0.0.0.0
# Proxy used to connect to backend servers
# Example: socks5://localhost:9050, socks4://localhost:9050, http://foo:bar@localhost:9080
backend-proxy: ''
# Zlib Compression level
compression-level: 6
#
######
# VIAaaS virtual hosts options
######
# Host names of this instance. Will be used as a suffix.
host-name:
- viaaas.localhost
- via.localhost
- via.localho.st
block-local-address: true
blocked-back-addresses:
- '*.hypixel.net'
- '*.minemen.club'
allowed-back-addresses:
- '*'
show-version-ping: true
show-brand-info: true
rate-limit-ws: 1.5
rate-limit-connection-mc: 10.0
rate-limit-login-mc: 0.2
listening-ws-limit: 10
favicon-url: https://raw.githubusercontent.com/ViaVersion/VIAaaS/396dcb40249ed0ef292e223c32e7f130699e7153/src/main/resources/web/logo.png
force-online-mode: false
max-players: 20
protocol-detector-cache: 30
jwt-secret: QlP8ZvePM2Ocxn8mntM52f6Txk3hM12yNGoFWZSLny5TDkN1RsPz3RNv0bgySRx9ZzbuW7nIQr5q1k0ig0r5dw==
backend-address: ''