# ViaProxy configuration file

# The address ViaProxy should listen for connections.
# This option is not reloadable.
bind-address: 0.0.0.0:25565

# The address of the server ViaProxy should connect to.
target-address: watercup.ddns.net:25565

# The version ViaProxy should translate to. (See ViaProxy GUI for a list of versions)
target-version: 1.21.4

# The connect timeout for backend server connections in milliseconds.
connect-timeout: 8000

# Proxy Online Mode allows you to see skins on online mode servers and use the signed chat features.
# Enabling Proxy Online Mode requires your client to have a valid minecraft account.
proxy-online-mode: false

# The authentication method to use for joining the target server.
# none: No authentication (Offline mode)
# account: Use an account for joining the target server. (Has to be configured in ViaProxy GUI)
auth-method: ACCOUNT

# The GUI account list index (0 indexed) of the account if the auth method is set to account.
minecraft-account-index: 1

# Use BetaCraft authentication for classic servers.
# Enabling BetaCraft Auth allows you to join classic servers which have online mode enabled.
betacraft-auth: false

# URL of a SOCKS(4/5)/HTTP(S) proxy which will be used for backend server connections. Leave empty to connect directly.
# Supported formats:
# - type://address:port
# - type://username:password@address:port
backend-proxy-url: ''

# Send HAProxy protocol messages to the target server.
backend-haproxy: false

# Read HAProxy protocol messages from client connections.
frontend-haproxy: false

# Enables sending signed chat messages on >= 1.19 servers.
chat-signing: true

# The threshold for packet compression. Packets larger than this size will be compressed. (-1 to disable)
compression-threshold: 256

# Enabling this will allow you to ping <= b1.7.3 servers. This may cause issues with servers that block too frequent connections.
allow-beta-pinging: false

# Enabling this will prevent getting disconnected from the server when a packet translation error occurs and instead only print the error in the console.
# This may cause issues depending on the type of packet which failed to translate.
ignore-protocol-translation-errors: false

# Enabling this will suppress client protocol errors to prevent lag when ViaProxy is getting spammed with invalid packets.
# This may cause issues with debugging client connection issues because no error messages will be printed.
suppress-client-protocol-errors: false

# Allow <= 1.6.4 clients to connect through ViaProxy to the target server. (No protocol translation or packet handling)
allow-legacy-client-passthrough: false

# Allow additional information like player ip, player uuid to be passed through to the backend server.
# This is typically used by proxies like BungeeCord and requires support from the backend server as well.
bungeecord-player-info-passthrough: false

# Enabling this will rewrite the address in the handshake packet to a value the vanilla client would have sent when connecting directly to the target server.
# This should be left enabled unless you are a server owner and you need the original address on the backend server.
rewrite-handshake-packet: true

# Enabling this will rewrite transfer packets to point back to ViaProxy. This allows ViaProxy to perform protocol translation when forwarding the player to the actual server from the transfer packet.
# This should be left enabled unless you are a server owner and the servers you are transferring to perform their own protocol translation.
rewrite-transfer-packets: true

# Custom MOTD to send when clients ping the proxy. Leave empty to use the target server's MOTD.
custom-motd: ''

# Relative file path to a custom favicon to send when clients ping the proxy. Leave empty to use the target server's favicon.
custom-favicon-path: ''

# URL of a resource pack which clients can optionally download when connecting to the server. Leave empty to disable.
# Example: http://example.com/resourcepack.zip
resource-pack-url: ''

# Allows clients to specify a target server and version using wildcard domains.
# none: No wildcard domain handling.
# public: Public wildcard domain handling. Intended for usage by external clients. (Example: address_port_version.viaproxy.127.0.0.1.nip.io)
# internal: Internal wildcard domain handling. Intended for local usage by custom clients. (Example: original-handshake-address\7address:port\7version\7classic-mppass)
wildcard-domain-handling: NONE

# Enables handling and rewriting of Simple Voice Chat mod packets.
simple-voice-chat-support: false

# Accepts resource packs from the server without showing a prompt to the client.
# This is required for servers that require a resource pack, but the client can't load it due to version differences.
fake-accept-resource-packs: false

# Fixes potential join issues on <= 1.20.1 quilt/fabric servers.
# It's recommended to only enable this if you are experiencing issues with the config state packet queue (See above issue).
skip-config-state-packet-queue: false

# If enabled, ViaProxy will send a connection details custom payload packet to the server.
# This includes the actual client version as well as the ViaProxy version.
send-connection-details: false

# Disable this if you want to hide IP addresses in the console and log files.
log-ips: true

# Enable this if you want to see client status requests in the console and log files.
log-client-status-requests: false
