Getting Started
Installing a resource
The steps that are the same for every LegendScripts resource.
Each script has its own installation page with the exact requirements, but the process is always the same.
1. Install the requirements
Some scripts need ox_lib (opens in a new tab) and oxmysql (opens in a new tab). The Requirements table on every script's overview page lists exactly what is needed. We never require another paid LegendScripts resource.
2. Add the resource
Put the folder in your resources directory and start it after its requirements and your framework:
ensure oxmysql
ensure ox_lib
ensure qb-core
ensure lg_banking3. Database tables are automatic
You do not need to import any .sql file. Scripts that store data create their tables on the first start, and upgrade them when an update needs new columns.
4. Configure
Open config.lua. Every option is explained right above it. The most important block is Config.Bridge - leave it on 'auto' and the script detects your framework, inventory, target and notification resources.
Config.Bridge = {
Framework = 'auto', -- 'auto' | 'qbcore' | 'qbox' | 'esx' | 'custom'
Notify = 'auto',
Target = 'auto',
Inventory = 'auto',
}Secrets such as Discord bot tokens or webhook URLs go in server_config.lua (when a script has one). That file is only loaded on the server and is never sent to players.
5. Restart and test
Restart the server (or refresh + ensure the resource) and check the server console. Problems? See FiveM escrow errors or the script's own troubleshooting notes.
Last updated