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
This commit is contained in:
parent
3164df2579
commit
1002a471ba
13 changed files with 79 additions and 29 deletions
39
server/velocity/velocity.toml
Normal file
39
server/velocity/velocity.toml
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# 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"
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue