Outpost | Base Building
Survival base building for FiveM, with snapping pieces, tool cupboard upkeep and decay, a wired power grid, coded locks and raids. Bases can be built on water and in trees.






Overview
Players claim land with a tool cupboard and build around it, and they have to keep feeding that cupboard materials or the base decays piece by piece. Lights, fences and elevators only work once someone has wired them to a generator, and any of it can be blown apart in a raid.
What to expect
- Structures in wood, stone and metal
- Furniture sets you can sell through Tebex, off by default
- No rain on players under a base roof
- Square and triangle layouts that snap together
- Three cupboard tiers, plus a community flag that cannot be raided
- Upkeep and decay, with low-stock warnings
- Generators, solar, wind, batteries, breakers and cables you lay by hand
- Raid windows, raid hours and offline protection
- Floating platforms, tree platforms, rope bridges up to 40 m, scaffolding and ladders
- Elevators with named floors
- Fences, spikes, an auto turret and turrets players climb into
- Crews with per-member permissions
- An admin panel with a live map of every base
Does it work with my framework?
Qbox, QBCore and ESX. Requires ml_bridge, ox_lib and oxmysql. Items ship ready for ox_inventory; other inventories need the same item names registered. Firearm damage to structures needs our ML Inventory, because each hit has to match a round actually spent. Explosives and melee work without it.
Moving from HRS Base Building?
The admin panel imports your bases from HRS Base Building 2.7.3, with owners, crews, storages and upkeep. A preview shows what will not convert before anything is written, and your original tables stay untouched.
Full install guide in the docs.
Key Features
Snap-Together Building
Foundations, walls, doorways, windows, ceilings, stairs, pillars and gates lock onto a clean socket grid. Square and triangle shapes, small and big variants, with a hammering placement animation.

Wood, Stone and Metal
Structural pieces come in wood, stone and metal with their own health and cost, and can be upgraded in place to the next material as the base grows. Big perimeter walls and gates are wood only.

Tool Cupboard Ownership
Claim a base with a cupboard or community build flag. It sets the build radius, blocks rival flags nearby, and decides the per-base build limit across three cupboard tiers (personal, medium, faction) plus a raid-free community flag.

Upkeep and Decay
Feed the cupboard wood, stone, metal and scrap and it pays maintenance every tick. Run dry and the base decays piece by piece until it falls. Low-stock warnings fire in-game so owners can top up in time.
Live Power Grid
Generators, solar panels, wind turbines, batteries, switches, breakers, combiners and poles. Power and load recalculate as soon as someone builds or rewires.

Fuelled Generators
Small, medium and big generators each take their own fuels (gasoline, diesel or biofuel), with the fuel type changing output and burn rate, and an AUTO mode that fires a bank of them only when the load needs it.

Cable Wiring by the Metre
Wire nodes with cable consumed per metre, with a heavy cable option for big loads. Overloaded segments light up red and can trip a breaker that needs a fuse to reset.

Powered Lighting
Work lights, big lights, wall and ceiling lights glow only while wired to a powered source. Solar output follows the in-game sun and weather hour by hour.
Coded Locks and Permissions
Lock doors, gates, storages and safes with a four to eight digit code per piece. Crew permissions decide exactly who can open, build, upgrade or change codes.
Raids
Explosives and melee damage structures out of the box, and firearms join in with ML Inventory. A base stays under raid for 15 minutes after the last hit, and repairs, building and crew edits are locked until then. A crew that has been offline for 15 minutes is protected, and raid hours limit raiding to the times you set. All of it is in the config.

Powered Defences
Electric fences and the auto turret need a powered circuit. Spike barriers work without power.
Lockable Storage
Boxes, gun lockers, safes and money bags each open their own inventory with set slots and weight, lockable by code, and emptied when the piece is destroyed in a raid.

Bed Respawn
Players drop a camp bed and set it as their respawn point. If they stay down long enough they come back at the bed. A quick revive leaves them where they fell. Off by default, and your death script can take over.
Powered Elevator
Build a cabin and stack cage segments to go vertical. Wire it to power and ride between named floors from a touch panel. Floors can be hidden and restored, and vehicles ride along with their passengers.

Crews and Sharing
Invite players to a crew with per-member permissions, scan for nearby players to invite, and give the whole crew access to the base.
Admin Panel
List and teleport to bases, edit pieces, set health and stock, reassign owners, ban builders, review raid and event logs, retune weapon damage, and flip raids, decay and blackout live. Plus a live map of every base and a build-lock toggle that pauses all new construction server-wide.
Map Blips and Safe Zones
Map blips for owned and crew bases, no-build safe zones, a surface check that keeps foundations off roads and water, plus server-wide and per-player piece caps. No-build zones are drawn in-game from the panel as circles or polygons, no coordinates to type.
Manned Gun Turrets
Three buildable turret tiers players climb into and fire themselves. Ammo goes in round by round, and overheating forces a pause. Full 360-degree traverse with a limited elevation range. They do not need power.

Lockpick Looting
During an active raid a lockpick item opens coded storage without blowing it up. Raiders steal instead of destroy. On by default, and the item and pick time are yours to set.
No Floating Bases
Realistic mode keeps every foundation traced back to solid ground, and removing a piece that would leave the rest hanging in mid-air is always blocked. Realistic mode is on by default and one flag relaxes the ground rule.
Custom Cupboard Tiers
Add brand-new cupboard tiers from the admin panel with their own radius, caps and costs. Saved to the database and live on the server without touching a file.
Bases on Water
Wood and metal floating platforms, square or triangle, snap to each other and to foundations. Walls and pillars go on top as usual.

Tree Platforms
Aim at a trunk, pick a height and a hexagonal deck goes up around the tree, no pillars needed. 973 map trees are ready to use, and custom maps can register their own. Decks come in wood, reinforced wood and metal.

Rope Bridges
Link two anchors up to 40 metres apart. The walkway sags between them with rope rails along the sides, and longer spans cost more wood.
Scaffolding and Ladders
Stack wood scaffolding from a foundation or ceiling, or run ladder segments down from a platform edge.

Undo and Pick Up
The owner has 20 seconds to undo a placement. Undamaged pieces can be picked back up as items, except during a raid.
Script Integrations
Building and upgrading award ml_skills XP, and tiers or single pieces can require a level. Generators take ml_fuel jerry cans. Water stations, mechanic benches, key benches and pet kennels from our other scripts show up as buildable base pieces.
Import From HRS
Bases from HRS Base Building 2.7.3 keep their door locks, crew permissions and fuel. The admin panel imports all of them or none.
Cupboard Tools
The cupboard screen keeps an event log of the base and can pull loose pieces into it. The owner can move the cupboard after a cooldown, give the base to another player or demolish all of it.
Vehicles at the Base
With ml_vehicle_persistence the cupboard lists every vehicle saved at the base. With ml_vehiclekeys the owner shares any of them with the crew from the same screen.
Territory Totems
Optional and off by default. A totem claims the land around it so only its owner and crew can build there. It decays if they have no cupboard in that area. Owners design its emblem with an icon, a shape, colours and a short tag.

Raid Alerts
The owner and crew get an in-game alert when their base comes under raid, and your staff get the same news in a Discord channel through a webhook.
Add Your Own Pieces
Add any prop as a building piece from the admin panel, with its own cost, health and category. Change the cost, health, limits and skill requirements of the supplied pieces there too, without touching a file.




