FreeScriptQBCoreESX
peak-sprays
by Peak-Studios · version 0.3.0 · updated 22 days ago
No reviews yet
- Downloads
- 1
- Reviews
- 0
- Size
- 27.7 MB
- Code check
- Clean
- Licence
- MIT
- Released
- Nov 2026
Premium open-source FiveM resource for persistent in-world spray painting.
Peak Sprays
Peak Sprays is a premium open-source FiveM resource for persistent in-world spray painting, text scenes, and signs. Players can paint on DUI canvases or place styled text/sign surfaces that are saved to SQL and rendered back into the world for nearby players.
Features
If you are using an AI coding assistant (like Claude, ChatGPT, or Cursor), you can set up this resource in seconds:
Commands
Image sprays are enabled with
Remote images are restricted by
Publishing Notes
Peak Sprays is a premium open-source FiveM resource for persistent in-world spray painting, text scenes, and signs. Players can paint on DUI canvases or place styled text/sign surfaces that are saved to SQL and rendered back into the world for nearby players.
Features
- Layered Graffiti Studio: Professional typography controls, independent move/scale/rotate, custom fonts, letter spacing, chisel outlines, drip runs, splatter spray, neon glow, and distress weathering
- My Designs Library: Dedicated tabs for Drafts, Saved Designs, Recent history, Server Templates, and Gang/Crew shared designs
- Advanced Image Importer: Paste directly from clipboard (
Ctrl+V), drag & drop, URL import, brightness, contrast, monochrome, blur, and automatic background removal - Textured Brush Presets: Sidewalk chalk, street crayon, marker bleed, stipple dots, rough spray, paint roller, scratched paint, airbrush, and drip runs unified with Peak physics
- Non-Destructive Layers: Reorder, hide, lock, duplicate, and delete freehand, text, image, and stencil layers
- Gang & Crew Templates: Official gang tag publishing with auto-generated variants (small tag, large mural, territory mark, monochrome)
- 100% WYSIWYG Wall Preview: Real wall textures (brick, concrete, metal, wood, tile), 3D perspective tilt, and street lighting simulator matching world DUI rendering
- Smart Placement Tools: Surface normal snapping, alignment guides, rotation snapping (45°), sizing presets (small to mural), fit-to-wall auto boundary detection, and duplicate placement mode
- JSON Design Import/Export: Portable composition format for sharing and server presets
- Polished Creation UX: Complete flow: Choose Type → Create Design → Preview → Save Draft → Place → Paint → Publish
- Persistent spray paintings, text scenes, and signs stored in SQL
- DUI-based in-world canvas rendering with memory recycling pool
- Paint, erase, undo, redo, brush sizing, color presets, and optional color picker
- Admin panel for listing, previewing, teleporting to, and deleting sprays, text scenes, and signs
- Framework bridge for QBCore, Qbox, ESX, OX Core, vRP, and standalone setups
- Usable item and command-based flows
- Editable custom hooks for permissions, notifications, economy, and server integrations
- Discord logging support with server-side webhook configuration
ox_liboxmysql- A supported framework and inventory if you want item-based usage
If you are using an AI coding assistant (like Claude, ChatGPT, or Cursor), you can set up this resource in seconds:
- Open PROMPT.md.
- Copy the content and paste it into your AI assistant.
- Follow its instructions to automatically configure the framework, inventory, and items for your server.
- Place this resource in your server resources folder as
peak-sprays. - Import install/install.sql into your database.
- If you already installed v0.2.2 before this schema fix, run install/migration_0.2.2_spray_gang_status.sql once instead of re-importing the full install file.
- Add the inventory items from install if you use item-based spray painting.
- Configure shared/config.lua and server/server-config.lua.
- Ensure dependencies before this resource:
ensure ox_lib
ensure oxmysql
ensure peak-spraysCommands
/spraypaintstarts spray placement whenConfig.UseCommandis enabled./erasepaintstarts erase mode whenConfig.UseCommandis enabled./scene [text]opens the text scene editor whenConfig.SceneUseCommandis enabled./sign [text]opens the sign editor whenConfig.SceneUseCommandis enabled./hidescenestoggles local text scene/sign visibility./deletescenedeletes the nearest owned text scene/sign, or any scene/sign for admins./sprayadminopens the admin panel for permitted staff.
- shared/config.lua: The main, simplified config for non-coders. Use this for basic framework, item, and command settings.
- shared/internal_config.lua: Advanced technical settings (DUI limits, render distances, brush presets, animations).
- client/custom.lua: Client-side hooks for permissions, notifications, progress bars, and targets.
- server/custom.lua: Server-side hooks for money overrides and lifecycle events.
- server/server-config.lua: Sensitive server-only values such as Discord webhooks.
Image sprays are enabled with
Config.ImageSpraysEnabled in shared/internal_config.lua. Players can paste an HTTPS image URL while painting, place it on the selected canvas, scale and rotate it, then save it as part of the spray.Remote images are restricted by
Config.ImageAllowedHosts. Keep this list tight and only include hosts you trust. Images are stored as URLs in stroke_data, so a spray can render blank later if the remote file is deleted, moved, blocked by CORS, or blocked by the player's client.Publishing Notes
- Do not publish live webh