Friday, September 20, 2024 12:02:38 AM
> settings

Customize


Authenticate

> config.cpp
class CfgPatches{class exile_server_manager{requiredVersion = 0.1;requiredAddons[] = {"exile_server_config"};units[] = {};weapons[] = {};magazines[] = {};ammo[] = {};};};
class CfgFunctions{class ExileServerManager{class Bootstrap{file = "exile_server_manager\bootstrap";class preInit { preInit = 1; };class postInit { postInit = 1; };};};};

/*
	Edit below!
*/
class CfgESM
{
	/*
		A unique key that MUST match the unique key in the config for this server in ESM. 
		This is how ESM knows which server is which
		Just pick a random 64-bit WEP Key from https://randomkeygen.com
	*/
	key = "A15CA";
	
	/*
		The path to ESM, this is passed into the DLL and stored for the session. 
	*/
	website = "http://localhost/esm";
	
	/*
		As an added security feature, ESM will only be able to access the following functions in it's request system. 
		The DLL will not be able to call a function that isn't in this list. 
		The function MUST be compiled before hand!!!
	*/
	functionWhitelist[] = 
	{
		"ExileServerManager_system_territory_payTerritory",
		"ExileServerManager_system_territory_upgradeTerritory",
		"ExileServerManager_object_player_getOnline",
		"ExileServerManager_system_territory_handleModeration",
		"ExileServerManager_system_territory_handlePlayer"
	};
	
	/*
		Use Exile threading system for looping the request checks. 
		If you notice that ArmA server isn't receiving the requests, set this to 0 as it will use a while loop instead
	*/
	useExileThreading = 1;
	
	/*
		ESM uses a request system in order to communicate with the website. The following number is how often it should process requests. 
		If you notice a decrease in server FPS, try increasing this number. However, this will cause the website to not update the server as fast.  
		Default is 0.1, which provides a seamless transition from the user clicking pay to it being updated on the server and DB.
	*/
	requestCheckTime = 0.1;
	
	/*
		This will add extra logs to the RPT so we know that things are working. This will spam your RPT
		Disable: 0
		Enable: 1
	*/
	debugEnabled = 0;
};
All opinions represented herein are my own
- © 2024 itsthedevman
- build 3c15a1b