mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-11-21 17:23:56 +01:00
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
20 lines
389 B
C++
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();
|
|
}
|
|
}
|