Configuration

FileFor
config.luaAccount, weapon licence, target, ammunition, blip and shop locations
config_server.luaThe Discord log
locales/en.luaThe text players see

config.lua

OptionDefaultWhat it does
Config.Account'cash'Account that pays: 'cash' or 'bank'
Config.Ammo.fromWeaponPage'qbcore'Ammo bought on a weapon's page: 'qbcore' gives an ammo box item, 'gta' loads it into the gun. ESX always loads
Config.Target'auto''auto' finds fusing-target, ox_target or qb-target; or a target resource's name; or false for the E prompt only. With a target, the E prompt is off

Weapon licence

Config.License:

OptionDefaultWhat it does
enabledtruefalse: no licence needed for anything
type'metadata''metadata' (QBCore licences / esx_license) or 'item'
name'weapon'Licence name, for 'metadata'
item'weaponlicense'Item name, for 'item'
selltrueSold at the weapons counter
price25000Licence price

Blip

Config.Blip:

OptionDefaultWhat it does
enabledtrueShow blips
sprite110Blip icon
color1Blip color
scale0.8Blip size
label'Ammu-Nation'Blip name

Shop locations

Config.Locations has the 11 GTA Ammu-Nations. Each one has:

FieldWhat it does
labelShop name
blipWhere the blip sits
clerkWhere the clerk stands and faces, vec4(x, y, z, heading)
weaponsThe gun counter, measured from the clerk (+y in front, +x to his left)
armorThe armor counter, vec4(x, y, z, heading)
{ label = 'Little Seoul',
  blip    = vec3(-658.00, -935.00, 21.82),
  clerk   = vec4(-661.96, -933.53, 21.83, 177.05),
  weapons = vec3(0.00, 1.00, 0.00),
  armor   = vec4(-666.02, -939.04, 21.83, 262.87),
},

config_server.lua

Server only, never sent to players. Config.Logging sends every purchase to Discord. It stays off until a webhook URL is set.

OptionDefaultWhat it does
enabledtrueLog purchases
url''Discord webhook URL
username'Ammu-Nation'Name the messages are posted under
colour13836331Embed color

locales/en.lua

Every string a player can see: counter names, prompts, purchase results and menu text. Change the text on the right of each line.