Skip to content

0R - Clothing Designer

Step-by-step setup, configuration, templates, exports, and troubleshooting for 0r-clothing_designer

Step-by-step setup, configuration, templates, exports, and troubleshooting for 0r-clothing_designer

0r-clothing_designer is a FiveM clothing editor resource. Players can open real clothing templates, edit texture slots, generate images with AI, save designs, and export finished addon clothing.

What This Resource Does#

0r-clothing_designer is template-first.

That means:

  • the resource scans real .ydd files from templates/cloth_templates
  • the UI opens those templates directly
  • heavy worker actions run through the bundled worker pipeline
  • finished addon output is written to both 0r-clothing_designer/exports and 0r-clothing_exports

Current Runtime Model#

Important behavior in the current build:

  • default worker mode is Config.Worker.Mode = "external"
  • external mode runs heavy work in a separate local daemon process
  • inprocess mode is still available as a manual fallback
  • the shipped UI is FiveM NUI only
  • the active UI export flow is addon-first
  • replace export is not shown in the shipped UI

Read This In Order#

If you are installing the resource for the first time, read these pages in this order:

  1. setup-and-database.md
  2. configuration.md
  3. templates-and-export-flow.md
  4. adding-new-ydd-or-ytd.md
  5. troubleshooting.md

Start Here#

Setup and Database

Configuration

Templates and Export Flow

Adding a New YDD or YTD

Saved Designs

Exports and RPC

Troubleshooting

What Is Included?#

  • in-game NUI clothing designer
  • runtime template discovery from real .ydd files
  • automatic preview generation and preview cache sync
  • optional default slot .ytd support
  • AI image generation through Google or OpenAI
  • optional saved designs through oxmysql
  • remote preview asset storage through Discord webhook or FiveManage
  • addon export output synchronized into 0r-clothing_exports

Platform Notes#

Current docs support both of these host paths:

  • Windows
  • Linux with pwsh installed

The worker pipeline was smoke-tested on both Windows and Linux in the current rollout, but Linux still needs more host preparation because PowerShell is not present by default.

Quick Summary#

If you only want the shortest install path:

  1. copy [clothing_designer] into resources
  2. install 0r_lib, ox_lib, and oxmysql
  3. add required server.cfg permissions
  4. on Linux, install pwsh
  5. import the SQL if saved designs will be enabled
  6. review config/init.lua
  7. add templates
  8. ensure [clothing_designer]
  9. validate mode=external and external daemon started in startup logs
  10. test template open, preview, and export in game