Society Account
Instruction and guide on how to setup your society account for T1GER resources
Introduction
T1GER Resources supports compatibility with society accounts handled by esx_addonaccount, qb-banking or qb-management.
You can also use a custom society-/shared account resource, however you need to implement the functionality yourself.
Config.SocietyAccount
Config.SocietyAccount = 'esx_addonaccount' -- Set the society account systemSpecifies the society account system in use. Update this based on your selected society system.
Type:
stringOptions:
'esx_addonaccount'- ESX addon Account'qb-banking'- QB Banking'qb-management'- QB Management'renewed-banking'- Renewed Banking'custom'- You need to make your own integrations!
Setup
This guide will help you setup society account functionality with T1GER Resources.
ESX
esx_addonaccount
esx_addonaccountSetting up functionality to create shared account in runtime is very simple; all you need to is download and install latest esx_addonaccount from here: https://github.com/esx-framework/esx_addonaccount.
Only do the following if you CANNOT download and install latest version and you are required/force to do the changes manually!!
If you prefer to keep your current esx_addonaccount resource for some weird reason, you can also manually implement the functionality.
Navigate to
esx_addonaccount/server/main.luaFind this function:
Add this export code below the function
If done correct, it will look like this:

Now in the same file, find this function:
If the function exists, replace the whole function, if it doesn't exist, the insert - in both cases it's the same code:
You have succesfully set up
esx_addonaccountto allow for automatic society account creation in runtime. All you need to do is restart the server!
QB Core
qb-banking
qb-bankingSetting up functionality to create shared account in runtime is very simple; all you need to is download and install latest qb-banking from here: https://github.com/qbcore-framework/qb-banking.
qb-management
qb-managementOnly do the following if you are using qb-management:
Navigate to
qb-management/server/sv_boss.luaScroll down all the way to the bottom and insert the following code:
Restart your server and you will now be able to create society accounts in runtime!
Qbox
Renewed Banking
Setting up functionality to create shared account in runtime is very simple; all you need to is download and install latest Renwed-Banking from here: https://github.com/Renewed-Scripts/Renewed-Banking/releases.
Navigate to
Renewed-Banking/server/main.luaGo all the way to bottom of the file.
Paste the follow coding there:
You have succesfully set up qbox default banking resource to allow for automatic society account creation in runtime. All you need to do is restart the server!
Functions
These are the functions used in our T1GER resources.
These are also the functions you want to modify in case you want to integrate your custom society/shared account resource. Simply use 'custom' in Config.SocietyAccount and integrate your export/functions in the if/else statements for 'custom'.
GetSharedAccount
CreateSharedAccount
GetSharedAccountBalance
AddSharedAccountMoney
RemoveSharedAccountMoney
SetSharedAccountMoney
Last updated