mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-11-19 12:04:15 +01:00
Co-authored-by: DrPerkyLegit <116128211+DrPerkyLegit@users.noreply.github.com> Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Anaël <60509176+Bakoubak@users.noreply.github.com> Reviewed-on: https://git.neolegacy.dev/neoStudiosLCE/neoLegacy/pulls/4205
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();
|
|
}
|
|
}
|