CES Help Document > FiveM > Configuration

Configuration

1. Locate the Config File

Most of our scripts include a

 config.lua 

config.lua (or similar) file inside the main script folder.

2. Example Path:

 resources/[yourresource]/config.lua 

3. Open the config.lua file in any code editor (such as Visual Studio Code) and you’ll see a list of editable options.

Common Settings Include:

Config.Framework = "qbcore" -- or "esx", "standalone"
Config.PaymentEnabled = true
Config.Prices = {
    apple = 5,
    banana = 7,
    orange = 6
}
Config.Locations = {
    vector3(1476.94, 2723.9, 37.55),
    vector3(1234.56, 789.10, 11.12)
}

Make changes based on your server setup. Save the file after editing.

4. License Key Setup (If Required)

Some products may require a license key. If so:

Open the

 sever.lua 

or

 license.lua file
 

Find the line:

 Config.LicenseKey = "YOUR_LICENSE_KEY_HERE" 

Replace it with your actual key from your purchase email.

Save the file and restart your server.

5. Server.cfg Integration

Ensure the script is started in your

 server.cfg
 

6. Testing and Troubleshooting

Start your server.

Join and test the feature in-game.

Check your server console/logs for any errors.

If something doesn’t work, make sure:

You’re using the correct framework (qbcore, esx, etc.)

Your item names or vector3 locations are correct

You’ve saved and restarted the resource

Still stuck? Join the support Discord and open a ticket with your ( config.lua ) attached for faster assistance.


Suggest an edit

Review this page

crazyeyes29

Configuration config

1 recommend this page