Files
neoLegacy/Minecraft.Server/Security/SecurityConfig.h
Tranqlmao 55c9b5c827 Social System
+Discord account connection
+Friends List
+UPnP Connection
+Cosmetics
(Iggy menus need to be fixed up a little)
2026-11-26 13:25:52 -05:00

25 lines
495 B
C++

#pragma once
#include <string>
namespace ServerRuntime
{
namespace Security
{
struct SecuritySettings
{
bool hidePlayerListPreLogin = true;
int rateLimitConnectionsPerWindow = 5;
int rateLimitWindowSeconds = 30;
int maxPendingConnections = 10;
bool proxyProtocol = false;
bool onlineMode = false;
std::string onlineAddress;
std::string onlineApiUrl;
};
void InitializeSettings(const SecuritySettings &settings);
const SecuritySettings &GetSettings();
}
}