MMS/server/velocity/velocity.toml
anonoe 1002a471ba
add velocity
the server now utilizes the velocity proxy for
- domain based connection instead of ports (called forced-hosts in velocity)
- a fancy motd message indicating when only the minecraft server is down, but not the host system
2025-12-27 23:31:10 +01:00

39 lines
1.6 KiB
TOML

# Config version. Do not change this
config-version = "2.7"
# What should be the MOTD? This gets displayed when the player adds your server to
# their server list. Only MiniMessage format is accepted.
motd = "<#09add3>The Server is down (╯°□°)╯︵ ┻━┻"
# Should we forward IP addresses and other data to backend servers?
# Available options:
# - "none": No forwarding will be done. All players will appear to be connecting
# from the proxy and will have offline-mode UUIDs.
# - "legacy": Forward player IPs and UUIDs in a BungeeCord-compatible format. Use this
# if you run servers using Minecraft 1.12 or lower.
# - "bungeeguard": Forward player IPs and UUIDs in a format supported by the BungeeGuard
# plugin. Use this if you run servers using Minecraft 1.12 or lower, and are
# unable to implement network level firewalling (on a shared host).
# - "modern": Forward player IPs and UUIDs as part of the login process using
# Velocity's native forwarding. Only applicable for Minecraft 1.13 or higher.
player-info-forwarding-mode = "modern"
[servers]
# Configure your servers here. Each key represents the server's name, and the value
# represents the IP address of the server to connect to.
#lobby = "127.0.0.1:30066"
#factions = "127.0.0.1:30067"
#minigames = "127.0.0.1:30068"
mms = "host.containers.internal:25566"
# In what order we should try servers when a player logs in or is kicked from a server.
try = [
"mms"
]
[forced-hosts]
"nanody.de" = [
"mms"
]
"mms.nanody.de" = [
"mms"
]