RedM documentation
Murphy's Craft
Crafting System
Crafting Props System
Overview
The Crafting Props System allows players to craft items by interacting with physical props (objects) in the game world, such as campfires, workbenches, anvils, etc. The system automatically detects props around the player without requiring fixed coordinates.
Configuration
Add prop-based crafting stations in shared/config.lua:
Parameters
- name: Display name shown in the proximity tip when player is near the prop
- prop: Prop model name (string) or hash (number). Common props:
p_campfire02x- Campfirep_table29x- Butcher tablep_anvil01x- Anvilp_craftingbench01x- Crafting bench
- cat: Array of craft categories available (must match categories in
Crafttable) - searchRadius: How far from the player to search for this prop type (default: 10.0 meters)
- interactionRadius: How close player must be to the prop to craft and see the tip (default: 2.0 meters)
How It Works
- System continuously scans around the player for configured props
- When player is within
searchRadiusof a prop type, it's detected - When player is within
interactionRadius, a proximity tip is displayed showing the prop name - Player presses the craft keybind (default: F2) to access categories
- Crafting menu opens with available recipes from that prop
Key Features
- Automatic Detection: No fixed coordinates needed - works with any instance of the prop
- Dynamic: Detects all props of the configured type within search radius
- Proximity Tips: Shows helpful tip when player is near an interactive prop
- Flexible: Same prop type can be used anywhere in the world
- Priority System: Closest prop/table gets priority if multiple are nearby
Differences from CraftingTables
| Feature | CraftingTables | CraftingProps |
|---|---|---|
| Location | Fixed coordinates | Dynamic detection around player |
| Setup | Define exact position | Define prop model only |
| Flexibility | Specific locations only | Any prop of that type works |
| Use Case | Buildings, permanent stations | Campfires, anvils, portable items |
| Blips | Supported | Not supported |
| Proximity Tip | Yes | Yes |
| Coverage | Area-based (radius) | Object-based (near prop) |
Export Functions
Example Use Cases
Campfire Cooking
- Allows cooking at any campfire in the world
- Players see "Campfire" tip when within 2m
- Perfect for outdoor cooking
Blacksmith Anvil
- Works at any anvil prop
- Access weapon crafting and tinkering
- Realistic smithing locations
Butcher Table
- Process meat at butcher tables
- Tight interaction radius for precision
- Works at any table of this type
Tips & Best Practices
- Search Radius: Use larger values (15-20m) for sparse props, smaller (8-10m) for common ones
- Interaction Radius: Keep between 1.5-3.0m for realistic interaction
- Performance: Props are checked every 500ms - efficient for many props
- Compatibility: Works alongside CraftingTables and CraftingStations
- No Spawning Required: Props already in the world are automatically detected
- Multiple Props: If multiple props of same type are nearby, closest one takes priority
Troubleshooting
Prop not detected?
- Verify prop model name is correct (use freecam and native to check)
- Increase
searchRadiustemporarily to test - Check if prop is actually spawned in world
Tip not showing?
- Ensure player is within
interactionRadius - Check if another closer table/station/prop is taking priority
- Verify
namefield is set correctly
Can't craft?
- Confirm
catarray contains valid category names from your Craft configs - Check recipe requirements are met
- Verify player has needed items in inventory
Last updated: February 19, 2026