Page cover

๐ŸšฟSpectro_grua

๐Ÿ“˜ Spectro Vehicle Management System - Complete Documentation

Advanced vehicle cleanup and management system for FiveM with automated scheduling, protected zones, and modern UI


๐Ÿ“‹ Table of Contents


๐ŸŒŸ Key Features

๐Ÿš€ Core Functionality

Feature
Description
Command

Mass Vehicle Cleanup

Remove all abandoned vehicles from server

/borrarcoches

Quick Cleanup

Remove specific or nearby vehicles

/bc or /bc [radius]

Automated Schedule

Clean vehicles at preset times

Automatic

Protected Zones

Safe areas where vehicles won't be removed

Config-based

Visual Notifications

Modern UI with countdown timers

Automatic

Sound Alerts

Audio warnings for players

Automatic

๐Ÿ›ก๏ธ Admin Features

Feature
Description
Access

ESX Integration

Permission-based access

Admin groups

Custom Admin List

Manual identifier-based access

Config file

Console Commands

Execute from server console

Console

Logging System

Track all cleanup actions

Server logs

๐ŸŽจ Visual System

Component
Description
Customizable

Countdown UI

Interactive countdown timer

โœ… Colors, position

Progress Bar

Visual cleanup progress

โœ… Colors

Sound Effects

Alert sounds (1 & 2 minutes)

โœ… Custom sounds

Zone Markers

Protected area indicators

โœ… Colors, opacity


๐Ÿ“‹ Requirements and Dependencies

๐Ÿšจ Mandatory Dependencies

Dependency
Description
Status

mysql-async

Database integration

โœ… Required

ESX Framework

Player permissions (optional)

โšช Optional

๐Ÿ“Š Server Requirements

Requirement
Specification

FiveM Version

Latest stable

Script Name

Must be Spectro_grua

Lua Version

5.4 enabled

File Structure

All files intact

๐Ÿ”— Framework Compatibility

Framework
Status
Notes

ESX

โœ… Full support

Automatic permission detection

QBCore

โš ๏ธ Partial

May require modifications

vRP

โš ๏ธ Partial

May require modifications

Standalone

โœ… Full support

Use admin identifier list


๐Ÿ”ง Installation Guide

Step 1: Download and Setup

  1. Download the script files

  2. IMPORTANT: Rename folder to exactly Spectro_grua

  3. Place in your server's resources folder

Step 2: Database Setup

Step 3: Server Configuration

Step 4: Initial Configuration

  1. Open config.lua

  2. Configure basic settings:

Step 5: Admin Setup

Choose one of two methods:

Option 1: ESX Integration

Option 2: Manual Admin List


โš™๏ธ General Configuration

๐ŸŽฏ Core Settings

๐ŸŒ Language Settings

Language
Code
Status

English

en

โœ… Full support

Spanish

es

โœ… Full support

Add custom languages in locales.lua:

๐ŸŽจ Visual Customization


๐Ÿ‘ฎโ€โ™‚๏ธ Admin Commands

๐Ÿšจ Primary Cleanup Command

Functionality:

  • Warns all players

  • Starts countdown timer

  • Removes all abandoned vehicles

  • Respects protected zones

โšก Quick Cleanup Command

Detection Priority:

  1. Vehicle player is currently in

  2. Vehicle directly in front of player

  3. Vehicle below player

  4. Nearest vehicle within range

๐Ÿ’ป Console Access

All commands work from server console:


โฐ Automatic Scheduling

๐Ÿ“… Scheduled Cleanups

Configure automatic cleanup times:

โฑ๏ธ Countdown Timer


๐Ÿ›ก๏ธ Protected Zones

๐Ÿ“ Zone Configuration

๐ŸŽจ Blip Colors

Color ID
Color Name
Hex Code

1

Red

#FF0000

2

Green

#00FF00

3

Blue

#0000FF

5

Yellow

#FFFF00

25

Pink

#FF00FF

47

Orange

#FFA500

โš™๏ธ Zone Behavior


๐Ÿ“ข Notification System

๐Ÿ”” Notification Types

Stage
Type
Duration
Sound

Initial

ESX + UI

Until next stage

None

2 minutes

ESX + UI

60 seconds

Custom

1 minute

ESX + UI

30 seconds

Custom

30 seconds

Countdown

30 seconds

Beeps

๐Ÿ“ฑ ESX Notifications

๐ŸŽต Custom Sounds

Place custom sound files in /sounds/ folder:

  • oneminute.mp3 - Plays at 1-minute mark

  • twominutes.mp3 - Plays at 2-minute mark

๐Ÿ–ฅ๏ธ Visual UI

Modern countdown interface with:

  • Dynamic timer display

  • Progress bar animation

  • Color customization

  • Shake effects for urgency

  • Responsive design


๐ŸŽจ UI Customization

๐Ÿ–Œ๏ธ Style Configuration

๐ŸŽฏ Position Adjustments

Screen Type
Bottom Position
Notes

HD (720p)

30vh

Above minimap

Full HD (1080p)

27vh

Centered

4K (2160p)

25vh

Proportional

Ultrawide

24vh

Adjusted for aspect

๐ŸŒˆ Color Schemes


โ“ Frequently Asked Questions

๐Ÿ”ง General Questions

โ“ How do I change the cleanup timer?

โ“ Can I disable automatic cleanup?

โ“ How do I add more admin identifiers?

๐ŸŽฎ Gameplay Questions

โ“ Will my vehicle be deleted if I'm inside?

No, the script never deletes vehicles with players inside.

โ“ What about player-owned vehicles?

The script only targets abandoned vehicles. Player ownership detection depends on your framework.

โ“ Can I protect specific areas?

Yes, configure protected zones in Config.SafeZones:

๐Ÿ”จ Technical Questions

โ“ Why must the folder be named 'Spectro_grua'?

The script includes integrity checks to prevent unauthorized modifications:

โ“ How do I customize the UI position?

Modify style.css:

โ“ Can I use custom sounds?

Yes, replace files in /sounds/ folder:

  • oneminute.mp3

  • twominutes.mp3

Same filenames, any audio format supported by browsers.


๐Ÿ”ง Troubleshooting

๐Ÿšซ Common Issues

Command not working

  1. Check permissions:

  2. Verify command name:

  3. Console errors:

UI not showing

  1. Check resource name:

  2. Verify file paths:

  3. Browser compatibility:

Sounds not playing

  1. Check file formats:

  2. Volume settings:

  3. Browser autoplay policies:

๐Ÿ“Š Debug Mode

Enable detailed logging:


๐Ÿš€ Advanced Settings

๐Ÿ› ๏ธ Advanced Configuration

๐Ÿ“ก Custom Events

๐Ÿ”Œ API Integration

๐ŸŽจ Theme Presets


๐Ÿ“ž Support Information

๐Ÿ“‹ Required Support Data

When requesting support, provide:

  1. Server Information:

    • FiveM version

    • Script version

    • Framework (ESX/standalone)

    • Resource name confirmation

  2. Error Details:

    • Exact error messages

    • Console logs (client & server)

    • Steps to reproduce

  3. Configuration:

    • Config.lua settings

    • Admin list setup

    • Any custom modifications

๐Ÿ” Self-Diagnosis Checklist


๐Ÿ“„ Final Notes

๐Ÿ”„ Update Process

  1. Backup current configuration

  2. Replace script files (keep config.lua)

  3. Check version notes for changes

  4. Test in development server first

  5. Apply to production server

๐Ÿ“‹ License Information

This script is copyrighted material:

  • Licensed for single-server use

  • Modification of core files prohibited

  • Resource name change prohibited

  • Redistribution prohibited

๐Ÿ›ก๏ธ Security Notice

The script includes integrity checks:

  • Resource name validation

  • Author verification

  • File structure validation

These protect against unauthorized modifications and ensure proper functionality.


Documentation for Spectro Vehicle Management System v1.2.0 Last updated: 2025

Last updated