Configuration
Check the instructions below.
The primary configuration files are config.lua
and locales/en.lua
.
General Settings
Locales
Set the language (EN
or TR
).
"EN"
SQLScript
Specifies the SQL library (oxmysql
, ghmattimysql
, mysql-async
).
"oxmysql"
MoneyAsItem
Use money as an item in the server economy.
false
MoneyName
Name of the money item (if MoneyAsItem
is true
).
"cash"
Interaction Type
textui
Use text-based interaction UI.
false
drawtext
Use 3D draw text for interaction prompts.
true
target
Use targeting systems (e.g., QB-Target, Ox-Target).
false
Pawnshop Configuration
npcSettings
NPC model and spawn location for the pawnshop.
{model, coords}
blipSettings
Blip appearance and display name on the map.
{id, colour, scale}
shopSettings
Whether the shop is NPC-managed or purchasable.
{npc, price}
Example Pawnshop Configuration
Sellable Items
Define items that can be sold at pawnshops, along with pricing and visibility.
itemCode
Internal name of the item.
"weapon_pistol"
itemLabel
Display name of the item.
"Pistol"
requiredSelling
Sales required before the item becomes sellable.
0
defaultPrice
Default selling price for the item.
1000
visibleForNpc
Whether the item is visible in NPC markets.
true
Example Item Configuration
NPC Bonus System
Reward players for consistent sales to NPC-managed pawnshops with bonuses.
requiredSelling
Number of sales required to unlock the bonus.
10
multiplierPercentage
Percentage bonus applied to item prices.
5
Example NPC Bonus Configuration
Localization
The script supports multiple languages through the locales/en.lua
file.
Example Localization Keys
Last updated