From 6d31c6da92f27720f34eec4f1b53f4b6fc58dcc6 Mon Sep 17 00:00:00 2001 From: mikhaillav Date: Mon, 25 Mar 2024 00:13:44 +0300 Subject: [PATCH] update default config --- example.config.toml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/example.config.toml b/example.config.toml index 978a038..dcc2a28 100644 --- a/example.config.toml +++ b/example.config.toml @@ -7,13 +7,20 @@ RemoteAddress = "localhost:19133" Timeout = 60 # Time in second of waiting before sending ping packet (and get motd) to origin server MotdGetInterval = 10 -# Unconnected pong message that will return if proxy failed to fetch that from origin server -# SERVER_UNIQUE_ID, PORT_V_4, PORT_V_6 WILL BE REPLACED TO CORRECT ONES -OfflinePongMessage = "MCPE;§c§lOffline !(;618;1.20.31;0;10;SERVER_UNIQUE_ID;Bedrock level?;Survival;1;PORT_V_4;PORT_V_6;1;" + +[OfflineMotd] +# Motd that proxy will retrun if upstream server if online (or send invalid pong packet) +Motd = '§c§lOffline' +# Protocol version (e.g. 618) that proxy will return if upstream server if online (or send invalid pong packet) +ProtocolVersion = 1 +# Version name (e.g. 1.20.31) that proxy will return if upstream server if online (or send invalid pong packet) +VersionName = '1.0.0' +# Level name that proxy will return if upstream server if online (or send invalid pong packet) +LevelName = 'Powered by TheStoneProxy' [Api] # Whether use api server -UseApiServer = true +UseApiServer = false # Address of api server ApiServerAddress = ":3030" # Array of ip addresses that can use api. Keep it empty to allow any ip address @@ -21,7 +28,7 @@ ApiWhitelist = ["[::1]"] [Metrics] # Whether use prometheus server -UsePrometheus = true +UsePrometheus = false # Address of prometheus server PrometheusAddress = ":3031" # Token for auth request to metrics server. Keep it empty to disable auth