F.A.Q

4 min readUpdated Yesterday

Setup

Set Config.Language in shared/config.lua:

shared/config.lua
1Config.Language = 'en'

The language files are in locales/.

They use a building item, or open the build wheel with B while carrying the construction_hammer. /crew opens the crew panel. A cupboard or community flag claims the area first, and its tier sets the build radius and piece limits.

Inside Config.Building.disabledZones, the shipped city, safe zone and prison areas. Foundations are also refused on roads, concrete, floors and water through Config.SurfaceCheck.

Yes, on floating platforms. Foundations stay blocked on water by Config.SurfaceCheck.

The tree has to be in the catalogue and the height inside its trunk range. Trees added by a map need their own registration, see Custom Tree Maps on the Structures page.

Upkeep and Decay

Players deposit wood, stone and metal in the cupboard. Each upkeep tick pays for every piece in the base. When the stock runs out, pieces lose health each tick until they break. A warning is sent when a material falls below the tier threshold.

They decay on their own through Config.Upkeep.orphanDecay.

Power

Lights, electric fences, the auto turret and elevators. Generators burn gasoline, diesel or biofuel, solar panels follow the game hour and weather, wind turbines follow the game wind, and batteries store the surplus. Switches, breakers and distributors control the circuit.

Turbines read the game wind through a nearby player. With nobody close, output stops by default. A server hook in open/server.lua can supply wind from your weather resource.

The cable carried more than its rated load. Use heavy cable for big loads, and replace the fuse to reset the breaker.

Cupboards

Deposit and withdraw materials, upgrade the cupboard, claim loose pieces into the base, read the event log, move the cupboard after flagRelocateCooldown, hand the base to another player and demolish the whole base. Config.Upkeep.allowUpgradeAll adds a button that upgrades every piece one tier.

Yes, with ml_vehicle_persistence running. With ml_vehiclekeys as well, the owner of the base or of the vehicle can share it with the crew.

The piece is removed and the refund waits. It is delivered as soon as the player has room.

Raids

Explosives (weapon_stickybomb, weapon_grenade, c4_charge) and weapons damage structures, each with its own damage in Config.WeaponsDamageByName. While a base is under raid, repairs, upgrades and building are locked, and crew changes for Config.Crew.raidLockMinutes after the last hit.

No, by default. Config.Raid.disableOfflineRaiding protects a base once its whole crew has been offline for offlineGraceMinutes.

Yes. During an open raid, a lock_picker opens locked storage, and the lockpick tiers open coded doors.

Firearm damage needs ML Inventory, which confirms each round spent. With another inventory, use explosives or melee.

No. Only firearms do.

The owner, crew with canOpenDoors, staff, and anyone during an active raid on that base. Set Config.Elevator.publicUse = true to open every elevator to all players.

Crews and Locks

The owner invites players, also by scanning for nearby ones, and gives each member permissions such as build, open doors, open storage, change codes or use machines. Presets cover full access, builders and visitors.

Every saved code stops working. Set Config.Locks.codePepper once, before players set codes.

Admin

List and teleport to bases on a live map, edit pieces, set health and stock, reassign owners, ban builders, end raids, manage crews, draw no-build zones, review raid and event logs, change combat, fuel and other settings, add cupboard tiers and switch the blackout. Each action needs its ACE from Config.AdminAcePermissions or framework admin rights, and destructive actions the destructive ACE or Config.AdminDestructiveRole.

Yes. Staff with the destructive permission can add any prop from the admin panel with its label, category, cost and health, and change cost, health, limits and skill requirements of existing pieces. Those changes are saved to the database.

Migration

Yes, HRS Base Building 2.7.3 only, from the Import tab of the admin panel. See Import.

Updates

  1. Back up the ml_bb_ tables
  2. Download the latest version from CFX Portal
  3. Back up shared/config.lua, shared/data/, server/config_server.lua, locales/ and open/
  4. Replace everything else in both resources. Replace the ml_base_building_props folder whole, do not copy over it
  5. Restart the server

Never drop the tables to apply an update.

Outpost F.A.Q, FiveM Docs | Micio Mods