Custom Framework Support
If you use a custom framework, configure it here.
Setup
Set framework to custom:
config.lua
Config.Framework = 'custom'Custom Framework Configuration
config.lua
Config.CustomFramework = {
-- Export to get the framework object
ExportResource = '', -- Resource name
ExportFunction = '', -- Export function name
-- How to get player identifier
-- Options: 'license', 'steam', 'discord', 'fivem', 'custom'
IdentifierType = 'license',
-- Custom identifier pattern (only if IdentifierType = 'custom')
IdentifierPrefix = '', -- e.g., 'license:', 'steam:', etc.
-- Money functions (leave empty to use defaults)
GetPlayerFunction = '', -- e.g., 'GetPlayer' or 'GetPlayerFromId'
GetBankFunction = '', -- e.g., 'GetMoney' with 'bank' param
AddBankFunction = '', -- e.g., 'AddMoney' with 'bank' param
RemoveBankFunction = '' -- e.g., 'RemoveMoney' with 'bank' param
}Platform Account
Configure where platform fees are deposited:
config.lua
Config.PlatformAccount = {
AccountName = "admireme_platform", -- Your society/business account name
OwnerIdentifier = "" -- Optional: Your identifier for direct deposits
}