F.A.Q

3 min readUpdated Today

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.

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.

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.

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.

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
  5. Restart the server

Never drop the tables to apply an update.