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:

  1. Go to the desired location in-game

  2. Use /tp command or F8 console

  3. Note the X, Y, Z coordinates

  4. Face the direction you want the ped to face

  5. 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 point

  • x, y, z - Coordinates where vehicle spawns

  • rotation - 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:

  1. Go to your Discord server settings

  2. Navigate to Integrations β†’ Webhooks

  3. Create a new webhook

  4. Copy the webhook URL

  5. 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 notifications

  • God-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 structure

  • God-Impound/html/css.css - Styling

  • God-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:

  1. Save the config file

  2. Restart the resource:

    Or restart your entire server

  3. 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:

  1. Check the FAQ for common problems

  2. Verify all syntax is correct (no missing commas, brackets)

  3. Check server console for Lua errors

  4. Ensure all coordinates are valid numbers


Configuration Complete! Your God-Impound system is now customized for your server.

Last updated