diff options
author | archshift <admin@archshift.com> | 2014-07-12 02:37:28 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-07-12 02:37:28 +0200 |
commit | 83c69134c079ac204c2fda1f375987b9651510d6 (patch) | |
tree | 73e02b553e6f3218545d543f587ab25eb918c462 /src/Server.cpp | |
parent | For now, removed creator member from Entity Effect for pointer safety (diff) | |
parent | Simplified the player data loading. (diff) | |
download | cuberite-83c69134c079ac204c2fda1f375987b9651510d6.tar cuberite-83c69134c079ac204c2fda1f375987b9651510d6.tar.gz cuberite-83c69134c079ac204c2fda1f375987b9651510d6.tar.bz2 cuberite-83c69134c079ac204c2fda1f375987b9651510d6.tar.lz cuberite-83c69134c079ac204c2fda1f375987b9651510d6.tar.xz cuberite-83c69134c079ac204c2fda1f375987b9651510d6.tar.zst cuberite-83c69134c079ac204c2fda1f375987b9651510d6.zip |
Diffstat (limited to 'src/Server.cpp')
-rw-r--r-- | src/Server.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Server.cpp b/src/Server.cpp index 2c695cc70..5d1e51036 100644 --- a/src/Server.cpp +++ b/src/Server.cpp @@ -258,6 +258,9 @@ bool cServer::InitServer(cIniFile & a_SettingsIni) m_ServerID.resize(16, '0'); } + m_ShouldLoadOfflinePlayerData = a_SettingsIni.GetValueSetB("PlayerData", "LoadOfflinePlayerData", false); + m_ShouldLoadNamedPlayerData = a_SettingsIni.GetValueSetB("PlayerData", "LoadNamedPlayerData", true); + m_ClientViewDistance = a_SettingsIni.GetValueSetI("Server", "DefaultViewDistance", cClientHandle::DEFAULT_VIEW_DISTANCE); if (m_ClientViewDistance < cClientHandle::MIN_VIEW_DISTANCE) { |