Showcase
Download link
Advanced Wagon Crafting, Parking, and Employee Management System for RedM
Key Features
Professional Crafting System
- Immersive UI: Vintage-styled crafting menu with dynamic recipe lists and material requirements.
- Interactive 3D Preview: Before crafting, effectively “test drive” the look of the wagon.
- Visual Customization: Change Tints and Liveries in real-time.
- Rotation: Use Q / E keys to rotate the wagon and inspect it from all angles.
- Networked: Other players can see what you are previewing!
- Material Economy: Wagons require wood, iron, leather, and other resources, driving the server’s economy.
Advanced Parking & Insurance
- Persistent Storage: Valid wagons are saved to the database and survive server restarts.
- Ghost Wagon Protection: Use the “Force Return (Insurance)” button in the parking menu to retrieve wagons that have fallen under the map, been destroyed, or lost to OneSync issues. No admin intervention required!
- Stash Integration: Every crafted wagon comes with its own unique stash (
rsg-inventory/ox_inventory), accessible via Third Eye.
Employee Management (Boss Menu)
- In-Game Hiring: Bosses can hire nearby players directly through the “Job Management” UI.
- Roster Management: View all employees, their grades, and stats.
- Promote/Fire: Manage your workforce with simple UI clicks.
- Location-Based Jobs: Supports specific jobs per town (e.g.,
wagon_valentinevswagon_blackwater).
NPC-Based Zones
- We have moved away from invisible markers. All interactions are handled via NPCs using
ox_target.- Crafting NPC: The master craftsman who handles orders and previews.
- Stable Master NPC: The yard manager who handles parking and storage.
Locations & Jobs
The resource is pre-configured with 7 Wagon Workshops, each with distinct job requirements:
| Location | Job Name | Zone Type |
|---|---|---|
| Valentine | wagon_valentine |
NPC |
| Rhodes | wagon_rhodes |
NPC |
| Saint Denis | wagon_saint |
NPC |
| Blackwater | wagon_blackwater |
NPC |
| Strawberry | wagon_strawberry |
NPC |
| Armadillo | wagon_armadillo |
NPC |
| Tumbleweed | wagon_tumbleweed |
NPC |
Note: You can easily add more locations in
config.luaby simply adding new NPC entries.
Installation
-
Dependencies:
rsg-coreox_libox_target(Required for interaction)ox_inventoryORrsg-inventory
-
Database Setup:
- Import the provided SQL file
sql/wagonmaker.sql. - It creates two tables:
wagonmaker_wagons: Stores player wagons, customization, and stash ID.wagon_maker_employees: Stores job-specific employee data.
- Import the provided SQL file
-
Config:
- Check
config.luato adjust prices, crafting times, or add new wagon models.
- Check
-
Start:
- Add
ensure rsg-wagonmakerto yourserver.cfg.
- Add
Configuration Guide
1. Adding Wagons (Config.Wagons)
Add new recipes easily. The script handles the logic.
['cart01'] = {
label = "Light Peasant Cart",
description = "A simple cart for light transport.",
category = "carts",
craftTime = 30000, -- 30 seconds
materials = {
{ item = "wood_log", amount = 8 },
{ item = "iron_parts", amount = 4 },
},
model = "cart01", -- The actual spawn code
maxWeight = 150000, -- 150kg Stash
slots = 60,
-- Customization Options (if supported by model)
customizations = {
livery = { 0, 1, 2 },
tint = { 0, 1, 3 }
}
}
2. Setting Up Zones (Config.CraftingNPCs & Config.ParkingNPCs)
Instead of coordinates for markers, you now define NPCs.
Config.CraftingNPCs = {
{
model = "s_m_m_valdealer_01", -- The Ped Model
coords = vector4(-242.42, 696.51, 113.46, 226.5), -- Location
previewPoint = vector4(-238.21, 701.32, 113.52, 90.0), -- Where the preview wagon appears
requiredJob = "wagon_valentine" -- Job restriction
}
}
3. Tuning
Config.UseOxTarget = true: Keep this enabled for best performance and interaction.Config.Keybindings: If target is disabled, configure fallback keys here.
Player Guide
How to Craft & Preview
- Approach the Crafting NPC (usually inside the workshop).
- Alt-Click (Third Eye) and select “Craft Wagon”.
- Choose a wagon model.
- Preview It:
- Use Q / E to rotate the wagon.
- Use the menu to try different Liveries and Colors.
- Craft: Be sure you have the materials!
- Once crafted, the wagon is sent to the Stable Master.
How to Park & Retrieve
- Go to the Stable Master NPC (usually outside at the hitching post).
- Alt-Click and select “Access Wagon Yard”.
- Spawn: Click your wagon to bring it out.
- Store: Drive near the NPC and select “Store Wagon” via Third Eye or the menu.
- Lost Wagon?: If your wagon is destroyed or lost, open the menu and click “Force Return (Insurance)” to reclaim it instantly.
Employee Management (Bosses)
- Open the Crafting Menu.
- Click the “Job Management” tab.
- Hire: Select a nearby player to employ them.
- Manage: Promote, Demote, or Fire off-duty employees from the roster.
This script is currently in BETA .
If you encounter any bugs or issues, please open an issue on GitHub.
You can also contact me directly on Discord: whysorude0088
Enjoying the script?
You can support my work by sponsoring me on GitHub.
Stay tuned for more free scripts and updates.
| Code is accessible | Yes |
| Subscription-based | No |
| Requirements & dependencies | rsg-core |
| Support | No |
