Configuration Guide
This guide explains all configuration options available in the God-Impound system and how to customize them to fit your server's needs.
π Configuration File Location
All configuration is done in: God-Impound/shared/config.lua
βοΈ Configuration Options
Framework Selection
Choose your server's framework:
-- Options: "QBCore", "ESX", or "Qbox"
J0.Core = "QBCore"Available Options:
"QBCore"- For QBCore framework"ESX"- For ESX framework"Qbox"- For Qbox framework
Police Job Name
Set the job name that can use the impound system:
J0.PolJobName = "police"Note: Change this to match your server's police job name. Common names:
"police"- Default"lspd"- Los Santos Police Department"bcso"- Blaine County Sheriff's Office"sheriff"- Sheriff's Office
Impound Ped Location
Configure where the impound NPC ped spawns:
Format: vector4(x, y, z, heading)
How to find coordinates:
Go to the desired location in-game
Use
/tpcommand or F8 consoleNote the X, Y, Z coordinates
Face the direction you want the ped to face
Check heading with a coordinate tool or estimate (0-360 degrees)
Example:
Vehicle Spawn Points
Configure where vehicles spawn when retrieved from impound:
Parameters:
id- Unique identifier for the spawn pointx, y, z- Coordinates where vehicle spawnsrotation- Vehicle heading/rotation (0-360 degrees)
Adding More Spawn Points:
The system randomly selects a spawn point from this list when retrieving vehicles.
Impound Laws
Customize the laws/reasons for vehicle impoundment:
Parameters:
id- Unique law identifier (must be unique, sequential recommended)title- Short title shown in menu (brief description)description- Detailed explanation of the law violation
Adding Custom Laws:
Removing Laws: Simply delete the law entry from the table. Make sure IDs remain unique if you're not renumbering.
Example Custom Law Set:
Image Logging Service
Configure how proof images are stored:
Discord Webhook (Recommended):
How to get Discord webhook:
Go to your Discord server settings
Navigate to Integrations β Webhooks
Create a new webhook
Copy the webhook URL
Paste it in
J0.ImageLogs
FivemManage API:
π¨ Advanced Customization
Changing Notification Messages
Notification messages are hardcoded in the client files. To customize them, you would need to edit:
God-Impound/client/client.lua- For client-side notificationsGod-Impound/client/cl_utils.lua- For notification function
Example notification changes:
Modifying UI Elements
UI elements are in the HTML files:
God-Impound/html/index.html- Main UI structureGod-Impound/html/css.css- StylingGod-Impound/html/script.js- UI functionality
Note: Be careful when modifying UI files as they're part of the escrow protection.
Adjusting Progress Bar Duration
The impound progress bar duration is set in client.lua:
π Configuration Checklist
After configuring, verify:
π Applying Changes
After making configuration changes:
Save the config file
Restart the resource:
Or restart your entire server
Test the changes in-game to ensure everything works
π‘ Tips
Backup your config before making major changes
Test coordinates in-game before finalizing
Use unique law IDs to avoid conflicts
Keep law descriptions clear for officers to understand
Add multiple spawn points for better vehicle distribution
Test image logging to ensure photos are being saved
π Need Help?
If you encounter issues with configuration:
Check the FAQ for common problems
Verify all syntax is correct (no missing commas, brackets)
Check server console for Lua errors
Ensure all coordinates are valid numbers
Configuration Complete! Your God-Impound system is now customized for your server.
Last updated