How to build a Rust-style survival server in FiveM

A Rust-style FiveM server needs a framework and inventory plus five survival systems - loot crates, recyclers, smelters, crafting and a no-RP death loop. Here's the stack, the scripts for each part and what it costs.

By RX Scripts · Updated

A Rust-style FiveM server is a framework and inventory with five survival systems on top: loot crates to find resources, recyclers to break items into components, smelters to turn ore into usable materials, crafting to make gear, and a no-RP death and respawn loop. You can script these yourself on ox_inventory, or install ready-made scripts and spend your time on balance and map design instead.

This guide covers the stack, the loop, which script does each part (ours and the free alternatives), and what it costs.

1. The base stack

LayerCommon choiceWhy it matters for survival
FrameworkQBox, QBCore or ESXQBox is the current, maintained fork of QBCore. All three work.
Inventoryox_inventoryWeight, stashes, containers and item metadata (durability, blueprints)
Interactionox_target"Search crate", "Use recycler" on props
Libraryox_libMenus, progress bars, zones

Then strip what a survival server doesn't need: jobs, phone, police and EMS dispatch. Turn PvP on and make hunger and thirst decay faster.

2. The survival loop

  1. Spawn with nothing at a random spot.
  2. Loot crates and barrels for scrap, components and the odd weapon.
  3. Recycle components into raw materials (scrap, metal fragments, cloth).
  4. Smelt ore and scrap into usable metal; furnaces need fuel.
  5. Craft tools, weapons and armour.
  6. Die, lose your gear, respawn at your bed or a random point, and start again.
  7. Risk zones with better loot (radiation, toxic areas) push players into conflict.

Every number in that loop (loot chances, recycle yields, smelt times, recipe costs) is what makes the server fun or boring. Pick scripts that keep those numbers in config files.

3. Which script does each part

SystemWhat it doesRX Scripts optionFree or other options
LootRespawning crates with random lootLoot Crates & Storages (€19.99): unlimited respawning crates, optional hacking, player-placed code-locked storagesWrite your own loot tables on ox_target and ox_inventory
RecyclingBreak items into componentsRecyclers (€24.99): Rust-inspired UI, 2 custom props, synced and saved through restartsjim-recycle (free, QBCore)
SmeltingOre and scrap into materials over timeSmelters (€24.99): furnaces, BBQs and refineries with fuel, persistent contents, 6 Rust-inspired propsFew free options
CraftingMake gear from materialsNo RX scriptox_inventory crafting benches, it-crafting (free)
Death and respawnNon-RP death loopDeath System (€19.99): death screen, downed and revive, beds as respawns, anti logout-while-deadYour framework's default death handling
Risk zonesAreas that hurt without gearHazard Zones (€19.99): exposure, damage over time, protective clothing and pillsPolyZone plus your own damage loop
Scrapping vehiclesStrip cars for partsChopshop (€19.99)Free chop shop releases on the Cfx forum

If you also want gathering beyond looting, Advanced Mining feeds straight into Smelters: players mine ore and smelt it into ingots.

4. What it costs

  • Write it yourself: free, if you or your developer can write and balance a few hundred lines of Lua per system.
  • Buy the six RX survival scripts: €129.94 at regular prices, one-time.
  • Survival Subscription: €19.99 a month (or €49.99 for 3 months) for all six, offered on each survival script page.
  • All-In-One Pack: €29.99 a month for every RX script, DLC and shell. See whether a subscription is worth it.

5. Setup order

  1. Framework, ox_inventory, ox_target and ox_lib. Define your items (scrap, metal fragments, cloth, ore, ingots) once, in ox_inventory.
  2. Loot crates, so players can get items at all.
  3. Recyclers and smelters, using the same item names.
  4. Crafting recipes that consume those materials.
  5. Death system and respawn points.
  6. Hazard zones around the best loot.
  7. A weekly wipe: a scheduled restart plus a script that clears inventories, stashes and placed storages.

6. Tips

  • Balance before content. Players will find the fastest loop in a day. Watch which items pile up and adjust yields.
  • Keep everything server-side. Item rewards, distance checks and cooldowns belong on the server.
  • Make it yours. Use GTA props and your own names rather than copying Rust's art and branding.

Related on RX Scripts

Frequently Asked Questions

Yes. All six RX survival scripts (Recyclers, Smelters, Loot Crates & Storages, Death System, Hazard Zones and Chopshop) support ESX, QBCore and QBox. Most survival builds use ox_inventory because it handles weight, stashes and item metadata well.

At regular prices the six RX survival scripts cost €129.94 together (€19.99 to €24.99 each). They're also in the Survival Subscription (€19.99 a month or €49.99 for 3 months, offered on each survival script page) and the All-In-One Pack (€29.99 a month).

No. For crafting, ox_inventory's built-in crafting benches or a free script like it-crafting work well alongside our recyclers and smelters. Base building needs a separate prop-placement resource.