mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-22 13:30:06 +00:00
Gent Semaj
a6eb0e2349
* Auth cookie support * Add config option for auth cookie support * Safe handling of TEGid/auth_id strings * Fix bad size calculation due to pointer cast * Expiration timestamp instead of valid bit * Change setting to "allowed auth methods" This allows plaintext password auth to be disabled altogether * PR feedback
46 lines
1.2 KiB
C++
46 lines
1.2 KiB
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
namespace settings {
|
|
extern int VERBOSITY;
|
|
extern bool SANDBOX;
|
|
extern int LOGINPORT;
|
|
extern bool APPROVEALLNAMES;
|
|
extern bool AUTOCREATEACCOUNTS;
|
|
extern std::string AUTHMETHODS;
|
|
extern int DBSAVEINTERVAL;
|
|
extern int SHARDPORT;
|
|
extern std::string SHARDSERVERIP;
|
|
extern bool LOCALHOSTWORKAROUND;
|
|
extern bool ANTICHEAT;
|
|
extern time_t TIMEOUT;
|
|
extern int VIEWDISTANCE;
|
|
extern bool SIMULATEMOBS;
|
|
extern int SPAWN_X;
|
|
extern int SPAWN_Y;
|
|
extern int SPAWN_Z;
|
|
extern int SPAWN_ANGLE;
|
|
extern int ACCLEVEL;
|
|
extern std::string MOTDSTRING;
|
|
extern std::string NPCJSON;
|
|
extern std::string XDTJSON;
|
|
extern std::string MOBJSON;
|
|
extern std::string PATHJSON;
|
|
extern std::string DROPSJSON;
|
|
extern std::string EGGSJSON;
|
|
extern std::string GRUNTWORKJSON;
|
|
extern std::string DBPATH;
|
|
extern std::string PATCHDIR;
|
|
extern std::string ENABLEDPATCHES;
|
|
extern std::string TDATADIR;
|
|
extern int EVENTMODE;
|
|
extern bool MONITORENABLED;
|
|
extern int MONITORPORT;
|
|
extern int MONITORINTERVAL;
|
|
extern bool DISABLEFIRSTUSEFLAG;
|
|
extern bool IZRACESCORECAPPED;
|
|
|
|
void init();
|
|
}
|