⚙️Config

Vault Bank Robbery Configuration & Integration Guide

This document explains the configuration options available in the Vault Bank Robbery script and provides guidelines for setting it up on your FiveM server. The script includes framework detection, target support, dispatch integration, cooldowns, camera control, notification systems, Discord logging, and more.


1. Interaction Method

Choose how players will interact with the environment:

Config.Interaction = 'auto_detect' -- Options: 'qb-target', 'ox_target', 'qb-drawtext', 'HelpNotification'

Custom resource name:

Config.CustomTargetName = 'qb-target'

Incase you change the resource name of your target (only applies to qb-target)


2. General Settings

These are basic customizable options:

Config.RequiredPoliceCount = 0
Config.RequireGasMask = true
Config.RequireBag = false
Config.BagClothing = {44, 45}
Config.GasMasks = {38, 46}

Cooldown setting (in seconds):


3. Required Items Display

Enable requirement preview using v-requireditems:

Location and items:

Required Items Preview: https://files.fivemerr.com/videos/de8f9cdd-3142-4fce-896d-15145e8e885a.mp4arrow-up-right


4. Dispatch Configuration

Send alerts to police during robberies:

Custom dispatch settings are editable in server/police.lua. If you're using ps-dispatch you'll need to modify the ps-dispatch

Add to ps-dispatch > shared > config.lua

Add to ps-dispatch > client > alerts.lua


5. Notification System

Customize how notifications are shown:

Modify or extend in the SendNotification() function.


6. Discord Webhooks

Send logs to Discord for specific events:

Events like give_item, start_heist, and ban_player .


7. Camera Control (Optional Visual Feature)

Enables dynamic camera angles during interactions:

Define camera settings:

📽️ Camera Preview: https://files.fivemerr.com/videos/a1efc273-45bd-4a2a-a63e-d192f53dd40b.mp4arrow-up-right


8. Command to Reset Bank

Use this command to manually reset the heist:


9. Localization

Set the language to support translations:


10. Advanced Robbery Interactions

Configure specific actions during the heist such as:

Door Unlocking

Required Items

Rewards

For example, with trolleys:


Summary

This script offers a flexible and highly customizable vault heist experience. Every setting—from police requirements to minigames and camera effects—can be tailored to your server’s needs.

Tip: Always test changes in a development environment before pushing them live.

Last Updated: August 2025

Last updated