OpenFusion/src/settings.hpp

50 lines
1.3 KiB
C++
Raw Normal View History

#pragma once
2020-08-18 20:42:30 +00:00
#include <stdint.h>
#include <string>
#include <time.h>
2020-08-18 20:42:30 +00:00
namespace settings {
2020-08-23 21:09:31 +00:00
extern int VERBOSITY;
extern bool SANDBOX;
extern std::string SANDBOXEXTRAPATH;
2020-08-18 20:42:30 +00:00
extern int LOGINPORT;
extern bool APPROVEALLNAMES;
extern bool AUTOCREATEACCOUNTS;
extern std::string AUTHMETHODS;
extern int DBSAVEINTERVAL;
2020-08-18 20:42:30 +00:00
extern int SHARDPORT;
extern std::string SHARDSERVERIP;
extern bool LOCALHOSTWORKAROUND;
extern bool ANTICHEAT;
extern time_t TIMEOUT;
extern int VIEWDISTANCE;
extern bool SIMULATEMOBS;
2020-08-18 20:42:30 +00:00
extern int SPAWN_X;
extern int SPAWN_Y;
extern int SPAWN_Z;
extern int SPAWN_ANGLE;
extern int ACCLEVEL;
extern std::string MOTDSTRING;
2020-08-21 22:14:11 +00:00
extern std::string NPCJSON;
extern std::string XDTJSON;
2020-09-07 17:54:40 +00:00
extern std::string MOBJSON;
2020-09-17 02:27:21 +00:00
extern std::string PATHJSON;
extern std::string DROPSJSON;
2020-10-24 19:48:55 +00:00
extern std::string EGGSJSON;
extern std::string GRUNTWORKJSON;
2020-11-28 23:31:00 +00:00
extern std::string DBPATH;
extern std::string PATCHDIR;
extern std::string ENABLEDPATCHES;
extern std::string TDATADIR;
extern int EVENTMODE;
extern bool MONITORENABLED;
2020-12-02 22:42:33 +00:00
extern int MONITORPORT;
extern std::string MONITORLISTENIP;
2020-12-02 22:42:33 +00:00
extern int MONITORINTERVAL;
extern bool DISABLEFIRSTUSEFLAG;
2023-12-19 17:35:29 +00:00
extern bool IZRACESCORECAPPED;
2020-08-18 20:42:30 +00:00
void init();
}