โป๏ธSpectro_propscreator
๐ Table of Contents
๐ Introduction
Spectro Props Creator is an advanced prop removal and management system specifically designed for FiveM servers. It provides server administrators with a powerful, intuitive tool to permanently remove unwanted map objects while maintaining exceptional performance and synchronization across all connected players.
Developed with both ESX and QBCore compatibility in mind, this script offers a professional-grade solution for server customization and map editing without the need for external tools or complex modifications.
โจ Features
Core Functionality ๐ฏ
Real-time Prop Removal ๐๏ธ: Point-and-click system for instant object deletion
Persistent Storage ๐พ: All changes are saved automatically and persist through server restarts
Multi-Framework Support ๐: Native compatibility with ESX and QBCore
Live Synchronization ๐: Changes are instantly visible to all connected players
Visual Feedback System ๐๏ธ: Advanced 3D visualization for targeted objects
Advanced Features ๐
Smart Auto-save โฐ: Configurable automatic saving intervals
Batch Operations ๐ฆ: Efficient handling of multiple prop removals
Debug System ๐: Comprehensive debugging tools for troubleshooting
Permission Management ๐: Granular control over who can use the system
Performance Mode โก: Automatic optimization for high-population servers
User Interface ๐ฅ๏ธ
3D Bounding Boxes ๐ฆ: Visual representation of object boundaries
Distance-based Targeting ๐ฏ: Accurate object selection system
On-screen Indicators ๐: Real-time status and information display
Model Information ๐ท๏ธ: Instant access to object hash and properties
๐ Requirements
Server Requirements ๐ฅ๏ธ
FiveM Server: Build 2802 or higher (latest recommended)
Game Build: 2545 or higher
OneSync: Recommended for optimal synchronization
Lua 5.4: Must be enabled in manifest
Framework Requirements ๐๏ธ
Option 1 - ESX:
es_extended
(latest version)MySQL database
ESX admin system
Option 2 - QBCore:
qb-core
(latest version)QBCore admin permissions
Compatible job system
Technical Requirements ๐ป
Write permissions for resource folder
Sufficient disk space for data storage
Network bandwidth for synchronization
๐ง Installation
Step 1: Purchase and Download ๐ณ
Purchase Spectro Props Creator from our Tebex store
Download the
Spectro_propscreator.zip
fileExtract the contents to a temporary location
Step 2: Server Installation ๐
Navigate to your server's
resources
folderCreate a new folder named exactly:
Spectro_propscreator
โ ๏ธ CRITICAL: The folder name must be exactly "Spectro_propscreator"
Copy all extracted files into this folder
Step 3: Verify File Structure ๐
server-data/
โโโ resources/
โโโ Spectro_propscreator/
โโโ fxmanifest.lua
โโโ client.lua
โโโ server.lua
โโโ config.lua (if applicable)
โโโ data/
โโโ removed_props.json
Step 4: Configure server.cfg ๐
Add the following line to your server.cfg
:
ensure Spectro_propscreator
Load Order Example:
# Framework (choose one)
ensure es_extended # For ESX
# OR
ensure qb-core # For QBCore
# Then load the prop creator
ensure Spectro_propscreator
Step 5: Create Data Directory ๐
If the data
folder doesn't exist:
mkdir resources/Spectro_propscreator/data
Step 6: Set Permissions ๐
Ensure the data
directory has write permissions:
chmod 755 resources/Spectro_propscreator/data
Step 7: Restart Server ๐
Restart your FiveM server and check console for:
================================
Prop Remover v1.1 - Iniciando...
Esperando detecciรณn de framework...
================================
โ๏ธ Configuration
Framework Detection ๐
The script automatically detects your framework on startup:
-- Automatic detection order:
1. QBCore check (qb-core resource)
2. ESX check (es_extended resource)
3. Fallback to standalone mode
Permission Configuration ๐ค
ESX Permissions:
-- Admin group required
Config.RequiredGroup = 'admin'
-- Alternative: Custom permission levels
Config.CustomPermissions = {
'superadmin',
'admin',
'mod'
}
QBCore Permissions:
-- Multiple permission methods:
1. Permission-based: 'admin' or 'god'
2. Job-based: Police Chief (grade 4+)
3. ACE Permissions: Server CFG based
4. Custom jobs: Define in config
Storage Configuration ๐พ
Config.Storage = {
AutoSaveInterval = 300000, -- 5 minutes (in milliseconds)
BackupEnabled = true, -- Create backups before saving
MaxBackups = 5, -- Maximum backup files to keep
CompressData = false -- JSON compression (experimental)
}
Visual Configuration ๐จ
Config.Visual = {
BoundingBoxColor = {255, 0, 0, 100}, -- RGBA
MarkerType = 28, -- Marker style
MarkerSize = {1.0, 1.0, 1.0}, -- X, Y, Z scale
DrawDistance = 10.0, -- Maximum targeting distance
TextScale = 0.35, -- 3D text size
EnableSounds = true -- Audio feedback
}
Performance Configuration โก
Config.Performance = {
UpdateInterval = 0, -- 0 = every frame (when active)
IdleInterval = 500, -- Check interval when inactive
MaxPropsPerFrame = 50, -- Props to process per frame
EnableDebugMode = false -- Performance metrics
}
๐ฌ Commands
Primary Commands ๐ฎ
/propedit
Toggle prop removal mode
/propedit
Admin
Activates targeting system
/propreset
Restore ALL removed props
/propreset
Admin
Resets entire database
/propcount
Display removal statistics
/propcount
Admin
Shows: "Props removed: 47"
/propsave
Force manual save
/propsave
Admin
Saves immediately
/prophelp
Display help menu
/prophelp
Admin
Shows all commands
Advanced Commands ๐ง
/propsdebug
Generate debug report
/propsdebug
Admin
Creates debug.txt
/propbackup
Create manual backup
/propbackup
Admin
Saves to backup file
/propinfo [hash]
Get prop information
/propinfo 123456
Admin
Shows prop details
/propundo
Undo last removal
/propundo
Admin
Restores last prop
Developer Commands ๐จโ๐ป
/propexport
Export removal data
/propexport
Admin
/propimport [file]
Import removal data
/propimport custom.json
Admin
/propstats
Performance statistics
/propstats
Admin
๐ฎ Usage Guide
Basic Operation ๐ฏ
1. Activating the Editor
1. Ensure you have admin permissions
2. Type: /propedit
3. Look for confirmation message:
โ
"Prop Remover: ACTIVATED"
4. Screen indicator appears:
๐ด "Prop Remover: ACTIVE"
2. Targeting Objects
1. Look directly at any map object
2. Object highlights with:
- Red bounding box outline
- Circular target marker
- 3D text showing model hash
3. Maximum range: 10 meters
3. Removing Props
1. With object highlighted, press [E]
2. Object disappears instantly
3. Notification confirms removal
4. Change syncs to all players
4. Deactivating Editor
1. Type: /propedit again
2. Or press [ESC] (if configured)
3. Confirmation: "Prop Remover: DEACTIVATED"
Advanced Techniques ๐
Precision Targeting
Use first-person view for accuracy
Crouch for lower objects
Adjust camera angle for overlapping props
Batch Removal
Keep [E] pressed for continuous removal
Target similar objects in sequence
Use
/propcount
to track progress
Safe Zones
Create prop-free areas for events
Clear construction zones
Remove decorations temporarily
๐ System Architecture
Client-Server Communication ๐
Client Side Server Side
| |
|--[Remove Request]----------->|
| |--[Validate Admin]
| |--[Save to Database]
|<--[Sync to All]-------------|--[Broadcast Update]
| |
Data Flow ๐
Client Detection โ Raycast identifies target
Validation โ Server verifies permissions
Storage โ Data saved to JSON file
Synchronization โ All clients updated
Persistence โ Survives restarts
Event System ๐ก
Server Events:
'propedit:saveProp' -- Save removed prop
'propedit:getAllProps' -- Request all removals
'propedit:resetAllProps' -- Clear all removals
Client Events:
'propedit:syncProp' -- Receive prop update
'propedit:loadProps' -- Load all props
'propedit:resetAll' -- Reset local cache
๐จ Visual Interface
HUD Elements ๐ฅ๏ธ
Active Mode Indicator
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Prop Remover: ACTIVE โ
โ Target and press E โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Target Information
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Model: prop_bench_01 โ
โ Hash: -1173315865 โ
โ Distance: 3.4m โ
โ [E] Remove โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Visual Feedback ๐๏ธ
Bounding Box System
Red: Valid target
Yellow: Processing
Green: Successfully removed
Gray: Out of range
Marker Types
Circle marker at base
3D box around object
Text label with info
Distance indicator
๐พ Data Management
Storage Format ๐
{
"version": "1.1.0",
"removed_props": [
{
"hash": 1511539537,
"x": 423.125,
"y": -978.875,
"z": 30.125,
"timestamp": "2024-01-15T10:30:00Z",
"removed_by": "admin"
}
],
"metadata": {
"total_removed": 156,
"last_save": "2024-01-15T10:45:00Z"
}
}
Backup System ๐ฟ
data/
โโโ removed_props.json (Current)
โโโ removed_props_backup1.json (Latest backup)
โโโ removed_props_backup2.json
โโโ removed_props_backup3.json
Data Operations ๐ง
Manual Backup
/propbackup
โ Creates: removed_props_manual_20240115.json
Data Recovery
1. Stop server
2. Rename backup to removed_props.json
3. Start server
โก Optimization
Performance Metrics ๐
Idle
0.00ms
N/A
Active (no target)
0.01ms
60 FPS
Active (targeting)
0.02-0.03ms
60 FPS
Saving
0.05ms
On demand
Optimization Strategies ๐
Client-Side
-- Efficient raycast caching
local lastRaycast = 0
local raycastCache = nil
-- Frame skipping for performance
if GetGameTimer() - lastUpdate < 16 then
return
end
Server-Side
-- Batch processing
local pendingUpdates = {}
local batchSize = 10
-- Rate limiting
local lastSave = 0
local saveInterval = 5000
Best Practices ๐
Disable when not in use
Regular manual saves
Periodic cleanup of old data
Monitor server performance
๐ Security
Permission Validation ๐ก๏ธ
Multi-Layer Security
Client-side check (UI access)
Server-side validation (action authorization)
Database verification (data integrity)
Rate limiting (abuse prevention)
Anti-Exploit Measures
-- Server validation example
local function ValidateRequest(source, data)
-- Check admin status
if not IsPlayerAdmin(source) then
return false
end
-- Validate data integrity
if type(data.hash) ~= "number" then
return false
end
-- Rate limit check
if IsRateLimited(source) then
return false
end
return true
end
Logging System ๐
[2024-01-15 10:30:15] [PROP_REMOVE] Player: Admin (ID: 1) removed prop 123456 at 400.0, -900.0, 30.0
[2024-01-15 10:31:00] [AUTO_SAVE] Saved 47 removed props to disk
[2024-01-15 10:32:00] [RESET] Player: Admin (ID: 1) reset all props
โ Frequently Asked Questions
Installation & Setup ๐ง
Q: Why isn't the script detecting my framework?
A: Ensure your framework loads before Spectro_propscreator:
1. Check server.cfg load order
2. Verify framework is fully started
3. Check console for framework messages
4. Try manual framework specification in config
Q: Can I change the resource name?
A: No, the resource MUST be named "Spectro_propscreator" exactly.
This is required for proper functionality and licensing.
Q: Is this compatible with my custom framework?
A: Currently only ESX and QBCore are supported. Custom framework
support can be added by modifying the detection logic.
Usage & Functionality ๐ฎ
Q: Why can't I remove certain objects?
A: Some objects cannot be removed:
- Players and NPCs
- Vehicles
- Mission-critical props
- Objects outside range (10m)
Q: How do I remove props in interiors?
A: The script works in interiors:
1. Enter the interior
2. Activate /propedit
3. Target objects normally
Note: Some interior props may be protected
Q: Can I undo a removal?
A: Currently, you can only reset ALL props with /propreset.
Individual undo functionality is planned for v1.2.0
Performance & Optimization โก
Q: Does this affect server performance?
A: Minimal impact:
- Idle: 0.00ms
- Active: 0.01-0.03ms
- Designed for 200+ player servers
- Auto-optimization for high populations
Q: How many props can I remove?
A: No hard limit, but consider:
- Each prop uses ~50 bytes storage
- 1000 props โ 50KB file size
- Performance scales linearly
Q: Should I clear old removals?
A: Recommended maintenance:
- Review removed props monthly
- Use /propreset for full cleanup
- Keep backups before clearing
Customization & Development ๐ ๏ธ
Q: Can I add custom commands?
A: Yes, extend the command structure:
1. Add command in client.lua
2. Create server event handler
3. Follow existing patterns
Q: Is there an API for developers?
A: Basic API available:
- Server events for integration
- Export functions planned
- Contact support for details
Q: Can I modify the visual style?
A: Visual elements can be customized:
- Edit color values in config
- Modify marker types
- Adjust text scales
- Change key bindings
๐ Troubleshooting
Script Not Loading โ
Symptoms:
No console messages on start
Commands not recognized
Script not in resource list
Solutions:
1. Verify folder name: "Spectro_propscreator" (exact)
2. Check server.cfg for: ensure Spectro_propscreator
3. Look for syntax errors in manifest
4. Verify all files are present
5. Check file permissions
Framework Detection Failed โ
Symptoms:
[Prop Remover] ERROR: No se detectรณ ESX ni QBCore
Solutions:
1. Ensure framework starts first:
ensure es_extended
ensure Spectro_propscreator
2. Check framework exports:
- ESX: exports["es_extended"]:getSharedObject()
- QBCore: exports['qb-core']:GetCoreObject()
3. Verify framework versions are compatible
4. Try manual detection override in config
Commands Not Working โ
Symptoms:
"No tienes permisos" message
Commands do nothing
No response from server
Solutions:
For ESX:
1. Set admin group: /setgroup [ID] admin
2. Verify in database: users table, group column
3. Reconnect after group change
For QBCore:
1. Set permission: /setpermission [ID] admin
2. Or use job: /setjob [ID] police 4
3. Check Player.PlayerData.permission
4. Verify ACE permissions in server.cfg
Props Not Saving โ
Symptoms:
Props reappear after restart
No removed_props.json file
Save command fails
Solutions:
1. Check folder permissions:
chmod 755 resources/Spectro_propscreator/data
2. Verify disk space available
3. Test manual save: /propsave
4. Check server console for errors
5. Create data folder manually:
mkdir resources/Spectro_propscreator/data
Synchronization Issues โ
Symptoms:
Props only disappear for one player
Delayed updates
Inconsistent prop states
Solutions:
1. Enable OneSync in server.cfg:
set onesync on
2. Check network connectivity
3. Verify all clients updated
4. Force resync: /propedit (toggle twice)
5. Clear client cache and reconnect
Performance Problems โ
Symptoms:
High resource usage
FPS drops when active
Server lag spikes
Solutions:
1. Enable performance mode in config
2. Reduce update frequency:
Config.Performance.UpdateInterval = 100
3. Limit prop processing:
Config.Performance.MaxPropsPerFrame = 25
4. Disable debug mode:
Config.Performance.EnableDebugMode = false
5. Regular cleanup: /propreset
Visual Glitches โ
Symptoms:
Bounding boxes not showing
Text overlapping
Markers invisible
Solutions:
1. Verify game build compatibility
2. Check graphic settings (not in Safe Mode)
3. Clear game cache
4. Adjust visual config:
- Reduce draw distance
- Change marker types
- Modify text scale
5. Update graphics drivers
๐ Conclusion
Spectro Props Creator v1.1.0 represents the pinnacle of prop management solutions for FiveM servers. With its intuitive interface, robust performance, and comprehensive feature set, it empowers server administrators to customize their game world with unprecedented ease and precision.
Key Takeaways ๐
โ Professional-grade prop removal system
โ Multi-framework compatibility
โ Exceptional performance optimization
โ Comprehensive security measures
โ Extensive customization options
Support & Updates ๐ค
Purchase: Available on Tebex
Support: Via Tebex messaging system
Updates: Automatic notifications for buyers
Documentation: Always included with purchase
Developed by Spectro ๐ Version: 1.1.0 License: Commercial (Tebex) ยฉ 2025 Spectro Development
Thank you for choosing Spectro Props Creator for your FiveM server!
Last updated