#pragma once // Setting to 0 does not compile logging (useful for if disk/memory is very valuable) #define MAX_LOG_SIZE @MAX_LOG_SIZE_VAL@ // Default to minecraft usernames constexpr unsigned min_name_size = 3; constexpr unsigned max_name_size = 16; constexpr const char *users_location = @USER_SAVE@; constexpr const char *config_location = @DROGON_CONFIG@; // Returns money to an account on deletion (useful if you dont want any money to leave the economy) #define RETURN_ON_DEL @RETURN_ON_DEL_VAL@ constexpr const char *return_account = @RETURN_ON_DEL_NAME_VAL@; /* if true, when frequency is hit AND changes have happened then save pros LOW disk usage cons LOW atomic overhead if false, when frequency is hit save pros ZERO atomic overhead cons HIGH disk usage */ #define CONSERVATIVE_DISK_SAVE @CONSERVATIVE_DISK_SAVE_VAL@ /* e.g when set to 2 version 1 will work version 2 will work version 3 will not work etc */ #define API_VERSION @API_VERSION@ #define MULTI_THREADED @MULTI_THREADED_VAL@ #define ADD_USER_OPEN @ADD_USER_OPEN_VAL@