Files
neoLegacy/Minecraft.Server/Security/SecurityConfig.h
T
DrPerkyLegit 2af29e050b implement per socket send locks, remove useless cipher encryption
cipher encryption is useless, we legit have the source code, someone can just add cheats to the game or hook into where the client decodes / encodes the packets, its just useless performance overhead rn
2026-10-30 14:40:00 -04:00

20 lines
389 B
C++

#pragma once
namespace ServerRuntime
{
namespace Security
{
struct SecuritySettings
{
bool hidePlayerListPreLogin = true;
int rateLimitConnectionsPerWindow = 5;
int rateLimitWindowSeconds = 30;
int maxPendingConnections = 10;
bool proxyProtocol = false;
};
void InitializeSettings(const SecuritySettings &settings);
const SecuritySettings &GetSettings();
}
}