Checklist
- I have reviewed the latest version of the Releases rules.
- I have included a detailed description of my work as described in the rules.
- I have included a download link or a store link.
- I have filled out the required information at the end of the topic.
Store
Preview & support
| Store | https://www.lxrcore.com The Lux Empire — Premium FiveM & RedM Server Resources |
| Support Discord | Davidio/Dev |
| Developer | iBoss21 / LXRCore |
| Version | 1.3.1 |
Description
LXR-Crafting is a production-ready RedM crafting system for roleplay servers that need more than a generic “open menu and craft” script.
Players craft at static world stations or player-placed benches synced across the server. Crafting is server-authoritative (ingredients removed on start, output on completion, session tokens, distance checks, rate limits). A frontier-style Crafting Ledger NUI handles categories, ingredient checks, batch quantity, and progress.
Frameworks: LXR-Core, RSG-Core, VORP, RedEM, QBR/QR (auto-detect)
Static & placeable workbenches
- Static stations — permanent benches (forge, smelter, kitchen, gunsmith, mining, sawmill, tannery, tailor, camp) with optional blips
- Placeable benches — inventory items, raycast ghost placement, synced props for all players
- MySQL persistence — placed and admin benches saved automatically (auto SQL on first start)
Crafting Ledger NUI
- Category tabs (mining, smelting, woodwork, food, weapons, medical, …)
- Live ingredient counts before you craft
- Batch crafting — quantity selector; duration scales with batch (capped)
- Press G at a bench; interact HUD (UTF-8 safe — EN + Georgian locales)
- NUI closes when craft starts; ox_lib world progress bar during bench work
RDR2 scenario craft animations (1.3+)
During the craft progress bar, the player performs real bench work:
- Scenario-first: sawing, hammering, pickaxe, smithing, sewing, and more
- Handheld tools attached (saw, hammer, sledgehammer, pickaxe) for placed benches
- Bench alignment — nearest work side; long-edge profiles for sawhorses
- Nearby scenario-point usage when map points exist; dict anim fallback
- Tunable via
Config.Animationand per-recipescenario,handProp,workProfile
Patterns adapted from Xakra (XakraD) open-source RedM scripts. No extra Xakra resource required.
Server-authoritative crafting
- Ingredients removed when craft starts (anti-dupe pattern)
- Session tokens, bench validation, distance checks, rate limits
- Blocks crafting while inventory or other NUIs are active
- Optional forensic Discord logging
Economy & ownership
- Players place benches and set use fee %
- Public or owner-only access per bench
- Fees route to bench owner (configurable)
Admin tools
| Command | Description |
|---|---|
| /craftadmin | List and configure benches (preset, categories, fees, delete) |
| /craftwizard | Place a new admin bench (raycast wizard; optional clerk NPC) |
| /craftbench | Owner settings or admin editor at bench |
| /craftpickup [id] | Remove a bench by database id |
| /crafttables | List benches (server console) |
ACE example:
add_ace group.admin lxr.crafting.admin allow
add_principal identifier.license:YOUR_LICENSE group.admin
Requirements
Installation
ensure ox_lib
ensure oxmysql
ensure lxr-crafting
- Purchase and download from https://www.lxrcore.com
- Edit config.lua — recipes, static benches, placeable items, security, animations
- Add placeable item names to your inventory (match
Config.PlaceableItems) - Grant admin ACE (see above)
- Restart — SQL installs automatically when persistence is enabled
Configuration (buyer-open)
- config.lua — recipes, table types, fees,
Config.Animation, batch limits - shared/craft_work.lua — recipe → scenario / dict resolution
- shared/craft_hand_props.lua — hand-tool attach rules
- locales — EN + KA included
- NUI CSS — theme overrides in
html/crafting-overrides.css
Core client/client.lua and server/server.lua are Tebex escrow-protected.
Changelog (recent)
1.3.1 — Escrow packaging aligned to LXR standard; animation docs and forum template.
1.3.0 — RDR2 scenario animations, handheld tools, sawhorse alignment, batch crafting, raycast placement, woodwork recipes, forensic logging.
1.2.0 — Admin hub, craft wizard, per-bench categories and fees.
Required information (selling)
Code
| Code is accessible | No (Tebex escrow — config, locales, shared tuning files, SQL, docs, and NUI shell are buyer-editable) |
|---|---|
| Subscription-based | No |
| Lines (approximately) | 15500 |
| Requirements | RedM, ox_lib, oxmysql, LXR / RSG / VORP / RedEM / QBR-QR + inventory |
| Support | Yes — Davidio/Dev |
Assets
| Assets are accessible | N/A |
|---|---|
| Subscription-based | N/A |
| Polygons (model and LOD) | N/A |
| Texture size and amount | N/A |
| Requirements & dependencies | N/A |
| Support | N/A |
MLO
| Code is accessible | N/A |
|---|---|
| Subscription-based | N/A |
| MLO | No |
| Number of rooms | N/A |
| Number of entities | N/A |
| Requirements & dependencies | N/A |
| Support | N/A |





