Ares Armory - Installation & Configuration Guide
Version: 1.5.0 Authors: KPG-TB, Roroleroh Framework Support: ESX, QB-Core, QBX Core
📋 Table of Contents
Installation
Dependencies
Item Configuration
Configuration Guide
Custom Notifications
🚀 Installation
Important Notice
⚠️ Do not rename the resource folder. The script must be named weaponGame to function properly.
Setup Steps
Extract the resource to your server's
resourcesfolderAdd items to your inventory system (see Item Configuration)
Add to server.cfg:
ensure weaponGameRestart your server
The script will automatically initialize its database tables on first startup if they don't exist.
📦 Dependencies
Required (Choose One Framework)
ESX (any version)
QB-Core (any version)
QBX Core (any version)
Optional
ox_lib- Enhanced UI featuresox_target- Target system integrationox_inventory- Advanced inventory supportoxmysql- MySQL database wrapper
The script automatically detects your framework and adapts accordingly. No manual configuration needed.
🎒 Item Configuration
For ox_inventory
Add the following items to your ox_inventory/data/items.lua file:
Add items to your qb-core/shared/items.lua:
Execute the following SQL commands in your database:
⚙️ Configuration Guide
All configuration is done in the config.lua file. Below is a comprehensive breakdown of each section.
General Settings
Locale
Description: Sets the default language for the script.
Options: 'en', 'fr', 'de', 'es' (add custom locales in locales/ folder)
Default: 'en'
Crafting Table Locations
Description: Defines the physical locations of weapon crafting tables in the game world.
Formats:
Simple format:
vec3(x, y, z)— Shows all weapons at this locationAdvanced format:
{ coords = vec3(x, y, z), weapons = { 'ak47', 'beretta' } }— Only specific weaponsExplicit all:
{ coords = vec3(x, y, z), weapons = 'all' }— Shows all weapons (explicit)
Example:
Weapon Item Mode
Description: Determines whether crafted weapons are treated as inventory items.
Options: true (weapons as items), false (weapons as native GTA weapons)
Default: true
Note: Required for ox_inventory and modern inventory systems.
Client Options
Target System
enabled
boolean
Enable target system integration
false
system
string
Target system to use ('ox_target' or 'qb-target')
'ox_target'
fallbackToPress
boolean
Fall back to press "E" if target not available
false
debug
boolean
Show debug boxes around target zones
false
options.distance
number
Interaction distance in meters
2.0
options.label
string
Label shown in target menu
'Use Weapon Table'
QB-Target support is experimental. Use at your own risk.
Table Interaction
InteractionDistance
number
How close player must be to interact (meters)
1.0
NotificationCooldown
number
Cooldown between notifications (milliseconds)
15000
CheckFrequency.Near
number
How often to check player proximity (milliseconds)
1000
Notifications
Enabled
boolean
Enable/disable notifications
true/false
type
string
Notification system to use
'default', 'ox', 'custom'
Debug
boolean
Show debug notifications in console
true/false
Notification Types:
'default'— Native GTA notifications'ox'— ox_lib notifications (requires ox_lib)'custom'— User-defined system (see Custom Notifications)
Inventory & Progress
Inventory
string
Inventory system detection
'auto', 'ox'
Progress.type
string
Progress bar style
'bar', 'circle'
Recommended: Leave Inventory set to 'auto' for automatic framework detection.
Note: Use 'circle' progress type for Qbox framework.
Leveling System
Enabled
boolean
Enable/disable XP and leveling system
Levels
table
XP required for each level (key = level, value = XP needed)
MaxLevel
number
Maximum achievable level
DefaultWeaponXP
number
Default XP awarded for crafting a weapon
DefaultPartXP
number
Default XP awarded for crafting a part
How it works:
Players earn XP by crafting weapons and parts
Higher-level weapons require more XP to unlock
Individual weapons and parts can have custom XP values (see Weapons/Materials config)
Example progression:
Level 1 → 0 XP (start)
Level 2 → 100 XP
Level 5 → 850 XP
Level 10 → 5200 XP
Weapons Configuration
jsConfig
string
JavaScript configuration identifier (don't change)
model
string
Native GTA weapon spawn name
parts
table
Array of part item names required to craft
display
string
Display name shown in UI
xp
number
XP awarded when weapon is crafted
level
number
Minimum level required to craft this weapon
Please see our Custom weapons page
Pre-configured weapons:
AK-47 — Level 1, 60 XP (4 parts)
Compact Rifle — Level 3, 45 XP (3 parts)
Beretta — Level 1, 40 XP (4 parts)
MS 500 Shotgun — Level 5, 75 XP (5 parts)
Materials Configuration
display
string
Display name shown in crafting UI
craftTime
number
Time in seconds to craft this part
xp
number
XP awarded when part is crafted
costs
table
Materials required (item name = quantity)
Example material costs:
Crafting times by complexity:
Simple parts (triggers, grips): 4-5 seconds
Medium parts (receivers, slides): 8-10 seconds
Complex parts (barrels, stocks): 15-20 seconds
🔔 Custom Notifications
The script supports custom notification systems. Modify client/custom_notifications.lua to integrate your preferred notification resource.
File Location
File Structure
Integration Examples
Mythic Notify
okokNotify
QBCore Notify
ESX Notify
Debug Mode
Enable debug mode to test your custom notifications:
Return values:
return true— Notification handled by custom systemreturn false— Fall back to default notification system
📝 Quick Reference
Essential Configuration Checklist
✅ Set crafting table locations in
Config.Tables✅ Configure interaction distance in
Config.Options.Table✅ Choose notification system in
Config.Options.Notifications✅ Adjust leveling progression in
Config.Leveling✅ Customize weapon XP and requirements
✅ Set material costs for economic balance
Last updated
Was this helpful?

