Update velocity.toml

This commit is contained in:
Jay 2023-08-05 02:17:02 +00:00 committed by GitHub
parent 1336b2b2a8
commit bf1451928c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,12 @@
# Config version. Do not change this # Config version. Do not change this
config-version = "2.5" config-version = "2.6"
# What port should the proxy be bound to? By default, we'll bind to all addresses on port 25577. # What port should the proxy be bound to? By default, we'll bind to all addresses on port 25577.
bind = "0.0.0.0:25577" bind = "0.0.0.0:25577"
# What should be the MOTD? This gets displayed when the player adds your server to # What should be the MOTD? This gets displayed when the player adds your server to
# their server list. Legacy color codes and JSON are accepted. # their server list. Only MiniMessage format is accepted.
motd = "&#09add3A Velocity Server" motd = "<#09add3>A Velocity Server"
# What should we display for the maximum number of players? (Velocity does not support a cap # What should we display for the maximum number of players? (Velocity does not support a cap
# on the number of players online.) # on the number of players online.)
@ -34,7 +34,7 @@ prevent-client-proxy-connections = false
# unable to implement network level firewalling (on a shared host). # unable to implement network level firewalling (on a shared host).
# - "modern": Forward player IPs and UUIDs as part of the login process using # - "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. # Velocity's native forwarding. Only applicable for Minecraft 1.13 or higher.
player-info-forwarding-mode = "legacy" player-info-forwarding-mode = "NONE"
# If you are using modern or BungeeGuard IP forwarding, configure a file that contains a unique secret here. # If you are using modern or BungeeGuard IP forwarding, configure a file that contains a unique secret here.
# The file is expected to be UTF-8 encoded and not empty. # The file is expected to be UTF-8 encoded and not empty.
@ -42,7 +42,7 @@ forwarding-secret-file = "forwarding.secret"
# Announce whether or not your server supports Forge. If you run a modded server, we # Announce whether or not your server supports Forge. If you run a modded server, we
# suggest turning this on. # suggest turning this on.
# #
# If your network runs one modpack consistently, consider using ping-passthrough = "mods" # If your network runs one modpack consistently, consider using ping-passthrough = "mods"
# instead for a nicer display in the server list. # instead for a nicer display in the server list.
announce-forge = false announce-forge = false
@ -72,25 +72,25 @@ enable-player-address-logging = true
[servers] [servers]
# Configure your servers here. Each key represents the server's name, and the value # Configure your servers here. Each key represents the server's name, and the value
# represents the IP address of the server to connect to. # represents the IP address of the server to connect to.
lobby = "127.0.0.1:30066" lobby = "172.18.0.1:30066"
factions = "127.0.0.1:30067" factions = "172.18.0.1:30067"
minigames = "127.0.0.1:30068" minigames = "172.18.0.1:30068"
# In what order we should try servers when a player logs in or is kicked from a server. # In what order we should try servers when a player logs in or is kicked from a server.
try = [ try = [
"lobby" "lobby"
] ]
[forced-hosts] [forced-hosts]
# Configure your forced hosts here. # Configure your forced hosts here.
"lobby.example.com" = [ "lobby.example.com" = [
"lobby" "lobby"
] ]
"factions.example.com" = [ "factions.example.com" = [
"factions" "factions"
] ]
"minigames.example.com" = [ "minigames.example.com" = [
"minigames" "minigames"
] ]
[advanced] [advanced]
@ -152,4 +152,4 @@ port = 25577
map = "Velocity" map = "Velocity"
# Whether plugins should be shown in query response by default or not # Whether plugins should be shown in query response by default or not
show-plugins = false show-plugins = false