Building, flags & raids
Bases belong to factions, not to single characters. Settings marked (F1) in bs_building/config/config_building.lua can be changed live in the F1 console.
The build menus, instant build, tiers, power and vending are covered on Building v2.
How a player builds
Section titled “How a player builds”- F2 opens the build wheel. Pick a category, then a piece. Each piece shows what it costs.
- The ghost snaps to nearby pieces. Mouse wheel rotates, Shift toggles snapping, left click places, right click cancels.
- A placed frame needs its materials, then “Hammer it together” with a
hammer. - Materials can also come from faction storage boxes and crafting stations within
storageRadius(10 m) whenpullFromStorageis on. - Demolish refunds everything within 10 minutes, half after that.
- Rank permissions
build,demolishandstorageare set per rank in the faction panel.
You can only build inside one of your faction’s flags (flagRadius, 50 m). There are two kinds.
| Flag | Item | Rules |
|---|---|---|
| Safezone | safezone_flag | Player factions only, one each. No PvP, no walkers, never raidable, hidden from outsiders |
| Outpost | faction_flag | Up to maxOutposts (2) per player faction, vanilla factions get 1. Raidable during a declared raid |
Only the Leader can place a flag. World vehicles never spawn inside a flag zone.
Declared raids
Section titled “Declared raids”Nobody gets raided by surprise. To hit an outpost:
- The Leader or Vice Leader opens the faction menu, Raids, and declares on the other faction.
- The raid lasts
raidDeclareMinutes(180). After that the same faction waitsraidCooldownMinutes(720) before it can declare again. - Damage only counts inside the raid window,
raidStartHourtoraidEndHour(18:00 to 23:00 server time).
What breaks things: C4, pipe bombs and grenades (by GTA explosion type, see Building.Explosions), the sledgehammer, the angle_grinder on code locks, and cars ramming fences, gates, barricades and spikes. Defenders get an alert and a map ping. Zombies never damage bases.
Locks and utilities
Section titled “Locks and utilities”- Doors, gates, hatches and storage take a 4-digit code. Faction members skip it.
- Generators burn diesel and power lights within 18 m. Rain collectors fill bottles. Beds and sleeping bags are respawn points with a 5 minute cooldown.
If no member visits for decayDays (7), every piece loses HP each tick until it falls. Pieces that lose their support fall too.
Staff tools
Section titled “Staff tools”F10, World, Bases manager: list bases, teleport, delete a base or a piece, transfer ownership, reset decay. freeBuildAdmins (F1) lets every admin place finished pieces for free. Raids, demolitions and staff actions go to bs_guard_log as build_*.
Tables
Section titled “Tables”Migrations 031_building.sql (pieces and bases) and 034_base_flags.sql (flag kinds). See Database migrations.
bs19.org · Privacy · Terms · Cookie settings
Cookies and outside content
The site only needs two essential cookies to keep you logged in and protect forms. Videos and streams from YouTube and Twitch load from their servers, which can set their own cookies, so they stay off until you say yes. Nothing is pre-ticked and you can change your mind any time with "Cookie settings" at the bottom of every page. Details.
Questions about the server, the framework or the site? A real person reads this, usually within a day.