mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-12-02 22:18:09 +01:00
+Discord account connection +Friends List +UPnP Connection +Cosmetics (Iggy menus need to be fixed up a little)
25 lines
495 B
C++
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();
|
|
}
|
|
}
|