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
.yddfiles fromtemplates/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/exportsand0r-clothing_exports
Current Runtime Model#
Important behavior in the current build:
- default worker mode is
Config.Worker.Mode = "external" externalmode runs heavy work in a separate local daemon processinprocessmode 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:
setup-and-database.mdconfiguration.mdtemplates-and-export-flow.mdadding-new-ydd-or-ytd.mdtroubleshooting.md
Start Here#
What Is Included?#
- in-game NUI clothing designer
- runtime template discovery from real
.yddfiles - automatic preview generation and preview cache sync
- optional default slot
.ytdsupport - 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
pwshinstalled
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:
- copy
[clothing_designer]intoresources - install
0r_lib,ox_lib, andoxmysql - add required
server.cfgpermissions - on Linux, install
pwsh - import the SQL if saved designs will be enabled
- review
config/init.lua - add templates
ensure [clothing_designer]- validate
mode=externalandexternal daemon startedin startup logs - test template open, preview, and export in game