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
# 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:
-- 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 đŽ
Command
Description
Usage
Permission
Example
/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 đ§
Command
Description
Usage
Permission
Example
/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 đ¨âđģ
Command
Description
Usage
Permission
/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 â
âââââââââââââââââââââââââââââââ
1. Stop server
2. Rename backup to removed_props.json
3. Start server
⥠Optimization
Performance Metrics đ
Operation
Resource Usage
Update Rate
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
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
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!