33 online 20 members  + Join RP Base  +
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
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
Dependencies
  • ox_lib
  • oxmysql
  • A supported framework and inventory if you want item-based usage
Installation🤖 AI-First Setup (Recommended)
If you are using an AI coding assistant (like Claude, ChatGPT, or Cursor), you can set up this resource in seconds:
  1. Open PROMPT.md.
  2. Copy the content and paste it into your AI assistant.
  3. Follow its instructions to automatically configure the framework, inventory, and items for your server.
Manual Setup
  1. Place this resource in your server resources folder as peak-sprays.
  2. Import install/install.sql into your database.
  1. Add the inventory items from install if you use item-based spray painting.
  2. Configure shared/config.lua and server/server-config.lua.
  3. Ensure dependencies before this resource:

ensure ox_lib
ensure oxmysql
ensure peak-sprays

Commands
  • /spraypaint starts spray placement when Config.UseCommand is enabled.
  • /erasepaint starts erase mode when Config.UseCommand is enabled.
  • /scene [text] opens the text scene editor when Config.SceneUseCommand is enabled.
  • /sign [text] opens the sign editor when Config.SceneUseCommand is enabled.
  • /hidescenes toggles local text scene/sign visibility.
  • /deletescene deletes the nearest owned text scene/sign, or any scene/sign for admins.
  • /sprayadmin opens the admin panel for permitted staff.
Configuration Image Sprays
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

…