Skip to content

Building v2

This page covers what changed in bs_building. The base rules (flags, declared raids, decay, ranks) are still on Building, flags & raids. Players read Building guide.

Migration 046_building_v2.sql adds the new columns. Nothing else to do on update except restart bs_building.

  • Three build menus (wheel, bottom bar, catalogue with a 3D preview). Default build menu in F1 decides which one players who never picked get.
  • Instant build: placing pays the cost and a short hammer swing finishes the piece. Turn Instant build off to go back to frames you fill with materials.
  • Snapping, support rules, and wood, scrap metal and concrete tiers with in-place upgrades.
  • Power: three generators, lights, power poles, junction boxes and wires.
  • Locks (faction lock or code lock), storage, vending crates, flags with a salvage crate when removed.

Category Building & Raids. Defaults in brackets.

GroupSettings
RulesBuilding on (on), Build mode (anywhere; claim = only inside your faction flag), Piece limit per player (150), Piece cap per faction (300, claim mode), Flag radius (m) (50), Outposts per faction (2), Build cost scale (1), Admins build free (off)
WhereNo building in safezones (on), Safezone padding (m) (60), Allowed areas only (off)
PlacingInstant build (on), Structure needs support (on), Upgrade time (ms) (5000), Hammer time (ms) (7000), Use nearby storage (on), Storage radius (m) (10), Stream distance (m) (150)
PowerGenerator power radius (m) (20), Pole power radius (m) (12), Power wires (on), Longest wire (m) (40), Generator sound (on)
RefundsFull refund window (min) (10), Late refund (0.5), Flag removal refund (%) (50), Abandoned base decay (h) (24)
VendingVending crates (on), Vending max price (100000), Vending tax (%) (0)
RaidsRaiding (off), Raid window start and end hour (18 and 23), Raids always open (off), Declared raid length (min) (180), Raid declare cooldown (min) (720), Sledgehammer time and damage, Angle grinder time, Vehicle ram damage
DecayBase decay (off), Decay after (days) (7), Decay tick (min) (30), Decay damage (%) (5)
OtherBed respawn cooldown (min) (5), Default build menu

Raiding and Base decay are off by default: bases cannot be damaged or looted by others and never decay. Turn them on when you want raids.

F1 > Building materials is the cost editor. Pick a piece and a tier and change the materials and amounts. Overrides are saved in the profile. The base list of pieces, models, health, support and costs is Building.Pieces in bs_building/config/config_building.lua, and the tiers are Building.TierOrder (wood, metal, concrete). You can add your own pieces there or through the RegisterPlaceable export. Wire and battery items, fuel items and generator tank sizes are in the same file.

  • Safezones and outposts, plus padding, are blocked.
  • Staff can add circles with /buildzone. A block circle stops building, an allow circle is where building is permitted when Allowed areas only is on.
  • Fixed areas can also go in Building.Zones in the config.

All staff only (bs.admin or bs.superadmin).

CommandWhat
/buildzone add block|allow <radius> [name]Add a zone where you stand (5 to 5000 m)
/buildzone remove <id>Remove a zone
/buildzone listList zones (shown on your map for 60 s)
/buildbasesOpen the bases list (F10 > World > Bases). From the console it prints the biggest bases
/removebase <charId>Remove one player’s whole base
/clearbuilds [radius]Remove every piece, or only the ones in a radius around you

/buildmodels (any player, client side) prints which model each piece really uses on your game build in the F8 console, which helps when a prop looks wrong.

Staff actions and zone changes go to bs_guard_log with kinds build_*.