Configure
Step 1 - General Config
The config.cfg
file provides comprehensive settings to customize and fine-tune the behavior of the system according to your needs.
config.cfg
file provides comprehensive settings to customize and fine-tune the behavior of the system according to your needs.General Settings
Config.InventorySystem = "qb" -- Which inventory system to use: "qb", "ox", or "codem"
Config.Language = 'en' -- Language to use (add translations in locales if missing)
Config.NotifySystem = "qb" -- Notification system: "qb", "mythic", or "ox" (Use your custom notify system by editing the related config below)
Config.InteractionKey = 'E' -- Interaction key (must be uppercase)
Config.CancelKey = 'X' -- Key to cancel an ongoing action (must be uppercase)
Config.InteractionMode = 'textui' -- Interaction display mode: "textui" or "drawtext" ("textui" is more optimized)
Config.PaymentMethod = "cash" -- Payment method: "cash", "bank", or "both" (both splits payment)
Config.EnableWebhooks = true -- Enable or disable webhook logging (true = enabled, false = disabled) - For more details, see server/webhook.lua
Farmer Settings
Config.Farmer = {
type = "farmer", -- Job type identifier (must be unique).
enabled = true, -- Enable or disable the farmer job (true = enabled, false = disabled).
model = "a_m_m_farmer_01", -- For more models, visit: https://docs.fivem.net/docs/game-references/ped-models/
coords = vector4(1676.85, 4882.9, 42.05, 63.01), -- Coordinates for the farmer NPC (x, y, z, heading)
label = "Farmer", -- Name shown above the NPC.
items = { -- Item settings: name, label, and price.
apple = { label = "Apple", price = 150 },
lemon = { label = "Lemon", price = 140 },
orange = { label = "Orange", price = 160 },
tomato = { label = "Tomato", price = 130 },
grape = { label = "Grape", price = 170 }
}
}
Step 2 - Webhook and Discord Configuration
Open
server/webhook.lua
to configure your webhooks with the required details.Add your Discord token to the appropriate configuration file to enable Discord avatar display in the interface.
Ensure these settings are properly configured for seamless operation and integration.
Last updated