summaryrefslogtreecommitdiffstats
path: root/src/Server.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-03-28 23:34:54 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2021-03-30 00:36:15 +0200
commit8a30a4a7b8a7ebbdbccb6995fd2f5c0f8011bace (patch)
tree53f66b6f7ae85b56612aa0f1980a8adb5f29d008 /src/Server.h
parentcIsThread cleanup (diff)
downloadcuberite-8a30a4a7b8a7ebbdbccb6995fd2f5c0f8011bace.tar
cuberite-8a30a4a7b8a7ebbdbccb6995fd2f5c0f8011bace.tar.gz
cuberite-8a30a4a7b8a7ebbdbccb6995fd2f5c0f8011bace.tar.bz2
cuberite-8a30a4a7b8a7ebbdbccb6995fd2f5c0f8011bace.tar.lz
cuberite-8a30a4a7b8a7ebbdbccb6995fd2f5c0f8011bace.tar.xz
cuberite-8a30a4a7b8a7ebbdbccb6995fd2f5c0f8011bace.tar.zst
cuberite-8a30a4a7b8a7ebbdbccb6995fd2f5c0f8011bace.zip
Diffstat (limited to '')
-rw-r--r--src/Server.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/Server.h b/src/Server.h
index d9d3a09af..3d272d7c0 100644
--- a/src/Server.h
+++ b/src/Server.h
@@ -141,15 +141,6 @@ public:
/** Returns true if limit for number of block changes per tick by a player has been turned on in server settings. */
bool ShouldLimitPlayerBlockChanges(void) const { return m_ShouldLimitPlayerBlockChanges; }
- /** Returns true if offline UUIDs should be used to load data for players whose normal UUIDs cannot be found.
- Loaded from the settings.ini [PlayerData].LoadOfflinePlayerData setting. */
- bool ShouldLoadOfflinePlayerData(void) const { return m_ShouldLoadOfflinePlayerData; }
-
- /** Returns true if old-style playernames should be used to load data for players whose regular datafiles cannot be found.
- This allows a seamless transition from name-based to UUID-based player storage.
- Loaded from the settings.ini [PlayerData].LoadNamedPlayerData setting. */
- bool ShouldLoadNamedPlayerData(void) const { return m_ShouldLoadNamedPlayerData; }
-
/** Returns true if BungeeCord logins (that specify the player's UUID) are allowed.
Read from settings, admins should set this to true only when they chain to BungeeCord,
it makes the server vulnerable to identity theft through direct connections. */
@@ -243,16 +234,6 @@ private:
/** True if limit for number of block changes per tick by a player should be enabled. */
bool m_ShouldLimitPlayerBlockChanges;
- /** True if offline UUIDs should be used to load data for players whose normal UUIDs cannot be found.
- This allows transitions from an offline (no-auth) server to an online one.
- Loaded from the settings.ini [PlayerData].LoadOfflinePlayerData setting. */
- bool m_ShouldLoadOfflinePlayerData;
-
- /** True if old-style playernames should be used to load data for players whose regular datafiles cannot be found.
- This allows a seamless transition from name-based to UUID-based player storage.
- Loaded from the settings.ini [PlayerData].LoadNamedPlayerData setting. */
- bool m_ShouldLoadNamedPlayerData;
-
/** True if BungeeCord handshake packets (with player UUID) should be accepted. */
bool m_ShouldAllowBungeeCord;