summaryrefslogtreecommitdiffstats
path: root/src/Server.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Server.h')
-rw-r--r--src/Server.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Server.h b/src/Server.h
index 7701faa69..6bdab3e85 100644
--- a/src/Server.h
+++ b/src/Server.h
@@ -149,6 +149,10 @@ public:
it makes the server vulnerable to identity theft through direct connections. */
bool ShouldAllowBungeeCord(void) const { return m_ShouldAllowBungeeCord; }
+ bool OnlyAllowBungeeCord(void) const { return m_OnlyAllowBungeeCord; }
+
+ const AString & GetProxySharedSecret(void) const { return m_ProxySharedSecret; }
+
/** Returns true if usernames should be completed across worlds. This is read
from the settings. */
bool ShouldAllowMultiWorldTabCompletion(void) const { return m_ShouldAllowMultiWorldTabCompletion; }
@@ -240,6 +244,12 @@ private:
/** True if BungeeCord handshake packets (with player UUID) should be accepted. */
bool m_ShouldAllowBungeeCord;
+ /** True if BungeeCord handshake packets should be the only ones accepted. */
+ bool m_OnlyAllowBungeeCord;
+
+ /** Security string that the proxy server should send, compatible with BungeeGuard */
+ AString m_ProxySharedSecret;
+
/** True if usernames should be completed across worlds. */
bool m_ShouldAllowMultiWorldTabCompletion;