Repository navigation
Limits and Raid Rules
Server owners set these rules in two of the config files in <profile>/BS_BaseBuilding/:
| File | What it controls |
|---|---|
bs_territory.json |
How many pieces a territory or a player can build (Limits), and vanilla base building (VanillaBuilding). |
bs_raid.json |
Raid hours, what can be raided, and how many charges each piece takes. |
- The server creates them with the default values the first time it starts.
- It reads them again every 60 seconds, so you don't need to restart after a change.
- If a file can't be read, the server keeps the values it had and writes a warning in the log.
Players can see these rules in the Build view (Numpad 7), in the Rules tab of the Territory tab. It shows the building limits with how much is used, the raid hours, the explosives each piece needs and the vanilla building rules.
By default there are no limits, except one fake wall or floor per territory, and one per player outside territories.
| Key | Default | What it does |
|---|---|---|
Enabled |
1 |
Turns the limits on or off. |
Territory |
Limits per territory. They count every piece inside the territory, no matter who built it. | |
OutsideTerritory |
Limits per player, for the pieces each player built outside all territories. | |
PerPlayer |
Limits per player, for all the pieces each player built anywhere. | |
VanillaBuilding |
Vanilla base building. It is its own section of bs_territory.json, next to Limits. See below. |
Territory, OutsideTerritory and PerPlayer have the same keys. 0 means no limit.
| Key | What it counts |
|---|---|
Pieces |
All BS pieces. |
Foundations |
Foundations and posts. |
Floors |
Floors and the helipad marking. |
Walls |
Walls, doorway and window walls, gables, the parapet, the roof parapet and door frames. Railings don't count. |
Roofs |
Roofs and flat roofs. |
Doors |
Doors and fence gates. |
Gates |
Double gates, garage doors, the hangar door, compound and lifting gates, the helicopter hangar and the roof hatches 3 × 3 and 4 × 4. |
Hatches |
Hatches with ladder, roof hatches and hatch covers. |
Windows |
Window covers. |
Stairs |
Stairs, the log ramp, the wall-walk ladder and hanging ladders. |
Compound |
Palisade, end posts, wall walk, watchtower, sandbags and fences. |
Signs |
Signs. |
Shelves |
Materials Racks. |
FakePanels |
Fake walls and fake floors. |
Codelocks |
Code locks put on BS pieces. |
Classes |
Limits for specific pieces, up to 24. See below. |
Example of the Territory section:
"Territory": {
"Pieces": 400,
"Foundations": 0,
"Floors": 0,
"Walls": 0,
"Roofs": 0,
"Doors": 20,
"Gates": 4,
"Hatches": 0,
"Windows": 30,
"Stairs": 0,
"Compound": 0,
"Signs": 5,
"Shelves": 3,
"FakePanels": 1,
"Codelocks": 25,
"Classes": [
{
"Name": "WATCHTOWER",
"Max": 2
},
{
"Name": "BSBB_WALL4_T3",
"Max": 40
}
]
}In Classes, Name can be:
- a piece id, like
WATCHTOWER, which counts the piece in all its tiers; - an exact class, like
BSBB_WALL4_T3; - a base class, like
BSBB_DoorBase.
Upper or lower case doesn't matter. The piece ids and class names are in Piece Reference.
- Inside a territory the
Territorylimits apply. Outside all territories, theOutsideTerritorylimits apply. ThePerPlayerlimits always apply. - A piece counts in every category it belongs to. For example, a fake wall counts as a wall and as a fake panel. The stair top railing and the command cabinet only count in
Pieces. - Limits are checked when you place a piece, which includes building in series and blueprint marks. They are also checked when you put a code lock on a door.
- When you upgrade, only the
Classesrules that name the new class are checked. A rule with a piece id doesn't stop upgrades, butBSBB_WALL4_T3stops walls from becoming concrete. - Pieces that already exist are never removed. A limit only stops new pieces.
- The territory comes from the territory system. With the vanilla flag or without a territory system, everything counts as outside a territory.
- Pieces that an admin spawned without an owner don't count for anyone.
- When a limit is reached, the ghost turns red with the reason, for example Territory limit: Doors (20/20) or Your limit: Codelocks (40/40).
The VanillaBuilding section controls the vanilla kits: fence, watchtower, shelter and territory flag.
| Key | Default | What it does |
|---|---|---|
Enabled |
1 |
With 0, players can't place the vanilla kits (FenceKit, WatchtowerKit, ShelterKit and TerritoryFlagKit) or build parts on vanilla fences, watchtowers, shelters and flags. |
DisabledKits |
[] |
Kits that can't be placed or crafted, for example "FenceKit" or "WatchtowerKit". A kit from another mod also works, by class or base class. |
BlockBuildingParts |
0 |
With 1, players can't build parts on vanilla fences, watchtowers, shelters and flags that already exist. |
Example:
"VanillaBuilding": {
"Enabled": 1,
"DisabledKits": [
"FenceKit",
"WatchtowerKit"
],
"BlockBuildingParts": 0
}- Dismantling vanilla structures still works.
- Only the vanilla classes are checked. Fences from other mods that inherit from the vanilla fence aren't affected.
- With
AdminHammer.IgnoreLimitson (inbs_admin.json), admins skip these rules too.
| Key | Default | What it does |
|---|---|---|
Version |
4 |
Don't change it. |
RaidMode |
0 |
What can be raided: 0 everything, 1 doors only, 2 doors and windows, 3 what Raidable says. See below. |
Raidable |
all 1
|
Only with RaidMode 3: which kinds of finished pieces can be raided, 1 or 0 for each category. |
Schedule |
The raid hours. | |
ChargesToDestroy |
How many charges each piece takes. | |
WeakSpots |
Door hinges and the inner side of walls, where a charge counts for more. See Configuration Reference. | |
ModCharges |
The mod's charges: countdown, defusing and crafting. See Configuration Reference. | |
Destruction |
What a destroyed piece leaves. See Configuration Reference. | |
RaidLog |
1 |
Writes raids to the territory history. |
RaidNotifications |
1 |
Sends Base under attack to the online members of the territory. |
RaidMode |
What can be raided |
|---|---|
0 |
Everything. This is the default. |
1 |
Doors only: doors, gates, hatches and fake panels. Not windows. |
2 |
Doors and windows: the same as 1, plus windows. |
3 |
What Raidable says. |
The finished pieces that can't be raided take no damage from charges or explosions, and the mod's charges can't be planted on them. Frames and blueprints can always be raided.
With RaidMode 3, each category of Raidable is 1 (it can be raided) or 0 (it can't). The categories are the same as in the building limits: Foundations, Floors, Walls, Roofs, Doors, Gates, Hatches, Windows, Stairs, Compound, Signs, Shelves and FakePanels. All in 1 means everything can be raided, and all in 0 means no finished piece can be raided. With RaidMode 0, 1 or 2, Raidable isn't used, and if you changed it the server log says so.
Example: everything can be raided except foundations and floors.
"RaidMode": 3,
"Raidable": {
"Foundations": 0,
"Floors": 0,
"Walls": 1,
"Roofs": 1,
"Doors": 1,
"Gates": 1,
"Hatches": 1,
"Windows": 1,
"Stairs": 1,
"Compound": 1,
"Signs": 1,
"Shelves": 1,
"FakePanels": 1
}Fake walls count as Doors and fake floors as Hatches. With RaidMode 1 and 2 they can be blown up, and they take as many charges as a normal wall or floor of the same tier.
To make one tier impossible to blow up, set its rows in ChargesToDestroy.Tiers to 0. A charge that does nothing to a piece can't be planted on it. See the examples below.
The Rules tab shows players which pieces can be raided.
The inside-only rule is an extra position check for players who already have permission to dismantle. Being inside an enemy base does not grant that permission: the active territory system still decides who can dismantle there. With the default command cabinet, enemy players cannot dismantle inside its territory. Other territory systems follow their own server settings. See Territory.
With RaidMode 1 or 2, or 3 with some category in 0, finished piece types excluded from explosive raiding must be dismantled from the side shown below. This applies to the owner too. It prevents an owner from using an explosion-proof wall as an entrance by dismantling it from outside.
Pieces that can be destroyed with explosives can still be dismantled with permission; they do not have this extra position restriction. A door with an attached code lock cannot be dismantled until the lock is removed.
| Piece | Where you have to stand |
|---|---|
| Walls, gables, railings, parapets, fences, palisade sections, gates, door frames, doors and window covers | On the inner side |
| Foundations, floors and the helipad marking | On top of the piece |
| Roofs, flat roofs, hatches, roof hatches and the hangar | Under the piece |
- Other pieces, like stairs, posts, the watchtower, signs and the Materials Rack, have no extra position restriction. Neither do frames and blueprints. Territory permissions still apply.
- Admins bypass this position restriction when
AdminHammer.IgnoreLimitsis on inbs_admin.json. Territory permissions are checked separately;AdminHammer.IgnoreTerritorycontrols their admin bypass. - From the wrong side, the player sees Can only be dismantled from the inside: this piece can't be blown up.
- With
RaidMode0, there is no inside-only position restriction. Territory permissions and the code-lock check still apply.
Raid hours are off by default. When they are on, finished pieces can only be raided during the hours you set.
| Key | Default | What it does |
|---|---|---|
Enabled |
0 |
Turns raid hours on. |
TimeZone |
"server" |
"server" uses the time of the server PC, with its daylight saving time. You can also set a fixed offset: "UTC", "UTC-3", "UTC+5:30" or "-03:00". |
OnlyInTerritory |
0 |
With 1, pieces outside all territories can be raided at any time. |
ProtectFrames |
0 |
With 0, frames and blueprints can be damaged at any time. With 1, they are protected too. |
Windows |
Friday and Saturday 18:00 to 02:00, Sunday 14:00 to 22:00 | The raid hours. |
Example:
"Schedule": {
"Enabled": 1,
"TimeZone": "UTC-3",
"OnlyInTerritory": 0,
"ProtectFrames": 0,
"Windows": [
{
"Days": "fri,sat",
"From": "18:00",
"To": "02:00"
},
{
"Days": "sun",
"From": "14:00",
"To": "22:00"
}
]
}-
Days:mon,tue,wed,thu,fri,satandsun, or the full English names, separated by commas. You can also use ranges likemon-friorsat-mon, andweekdays,weekendorall. -
FromandTo:"18:00"or just"18"."24:00"only works inTo. - If
Tois the same asFromor earlier, the window ends the next day. A Sunday window can go on into Monday. - A window that can't be read is ignored, and the log shows a warning.
Outside raid hours:
- Finished pieces (the wood tier and up) take no damage from players.
- The mod's charges can't be planted. The message shows when raids open, for example Outside raid hours: opens fri 18:00.
- A charge that explodes outside raid hours does no damage.
- Vanilla explosives, melee and bullets on the inner side of walls do no damage either.
- Decay and healing work as always.
By default each piece takes a set number of charges, whatever its health. The numbers count from the strong side of the piece.
| Tier | Most pieces (homemade / heavy) | Doors, hatches and windows (homemade / heavy) |
|---|---|---|
| Frame | 1 / 1 | 1 / 1 |
| Planks | 4 / 2 | 2 / 1 |
| Metal | 8 / 4 | 4 / 2 |
| Concrete | 12 / 6 | 6 / 3 |
-
Planksis tier 1: plank walls and the log tier of floors, doors and the other pieces. - Reinforced doors are concrete doors with another look, so they use
Concrete. - Gates, the compound, fake walls and the other pieces use the first column.
- From the inner side of walls and on door hinges, fewer charges can be enough (
WeakSpots). The Rules tab and the server log show how many. - A damaged piece needs fewer charges.
- The vanilla Plastic Explosive counts as a heavy charge.
- By default, grenades, mines and other explosions don't damage finished pieces (
OtherExplosives).
| Key | Default | What it does |
|---|---|---|
OtherExplosives |
0 |
What grenades, mines, IEDs and other explosions do to finished pieces, as a part of a homemade explosive. 0 is nothing and 0.5 is half a homemade explosive. Frames and blueprints take their normal damage. |
ExplosionReach |
1.5 |
An explosion only counts for pieces within this distance (m). |
ExtraHomemadeClasses |
[] |
Charges from other mods that count as a homemade explosive, by class or base class. |
ExtraHeavyClasses |
[] |
Charges from other mods that count as a heavy charge. |
ExtraHomemadeAmmo |
[] |
Explosion ammo types that count as a homemade explosive. |
ExtraHeavyAmmo |
[] |
Explosion ammo types that count as a heavy charge. Plastic_Explosive_Ammo already counts as heavy. |
Tiers |
The table above | Rows of Tier, Category, Homemade and Heavy, up to 64. |
Classes |
[] |
Rows of Name, Homemade and Heavy for specific pieces, up to 32. They have priority over Tiers. |
In Tiers:
-
TierisFrame,Planks,Metal,Concrete,BlueprintorAll. A row withAllcounts for the tiers that have no row of their own, but never for blueprints. The old names still work:LogsisPlanksandHologramisBlueprint. -
CategoryisAll, or one of the categories of the building limits:Doors,Gates,Hatches,Windows,Walls,Floors,Roofs,Foundations,Stairs,Compound,Signs,ShelvesorFakePanels. -
0means that charge doesn't damage the piece, and it can't be planted on it.-1means not set, so theAllrow of that tier is used. - To change a number, edit its row or add a new one. A piece with no row at all uses the default row of its tier (the table above), and a blueprint without a row is destroyed by one charge of any kind.
In Classes, Name works like in the building limits: a piece id, an exact class or a base class.
To find the row for a piece, the server checks Classes first. Then it checks the rows of the piece's tier, and then the rows with "Tier": "All". Each time, a row for the piece's category comes before a row with "Category": "All".
Important
A row for a category beats the All row of the same tier. The default table has rows for Doors, Hatches and Windows in Planks, Metal and Concrete. If you change only an All row, those pieces keep their own row. To change them too, edit their rows or write your own list, like the examples below.
The examples below show each property on its own line to make them easier to read and edit. A list in Tiers replaces the whole default table, so write every tier you want to set. A tier you leave out still uses its default row.
Tier 1 takes 4 homemade or 2 heavy, and its doors 2 or 1. Metal takes 8 or 4, and its doors 4 or 2. Concrete takes 16 or 8, doors included.
"Tiers": [
{
"Tier": "Frame",
"Category": "All",
"Homemade": 1,
"Heavy": 1
},
{
"Tier": "Planks",
"Category": "All",
"Homemade": 4,
"Heavy": 2
},
{
"Tier": "Planks",
"Category": "Doors",
"Homemade": 2,
"Heavy": 1
},
{
"Tier": "Metal",
"Category": "All",
"Homemade": 8,
"Heavy": 4
},
{
"Tier": "Metal",
"Category": "Doors",
"Homemade": 4,
"Heavy": 2
},
{
"Tier": "Concrete",
"Category": "All",
"Homemade": 16,
"Heavy": 8
}
]| Piece | Strong side | Inner side of a wall | Door hinge |
|---|---|---|---|
| Planks walls, floors and the rest | 4 / 2 | 4 / 2 | |
| Planks doors | 2 / 1 | 2 / 1 | |
| Metal walls, floors and the rest | 8 / 4 | 7 / 4 | |
| Metal doors | 4 / 2 | 4 / 2 | |
| Concrete, doors included | 16 / 8 | 13 / 7 | 14 / 7 |
Gates, hatches and windows aren't Doors, so here they follow the All row of their tier. To make them like doors, add the same rows with "Category": "Gates", "Hatches" or "Windows".
Set "RaidMode": 1. Only doors, gates, hatches and fake panels can be blown up. Use 2 to include windows. You can combine it with any table.
Every tier takes 2 homemade or 1 heavy. Blueprints still fall to one charge.
"Tiers": [
{
"Tier": "All",
"Category": "All",
"Homemade": 2,
"Heavy": 1
}
]Add this row to the default table. Concrete walls take 16 homemade or 8 heavy, and the other concrete pieces keep 12 or 6.
{
"Tier": "Concrete",
"Category": "Walls",
"Homemade": 16,
"Heavy": 8
}Add these rows to the default table. Planks gates take 6 homemade or 3 heavy, and metal gates 12 or 6. Doors keep their default numbers.
{
"Tier": "Planks",
"Category": "Gates",
"Homemade": 6,
"Heavy": 3
},
{
"Tier": "Metal",
"Category": "Gates",
"Homemade": 12,
"Heavy": 6
}Homemade explosives do nothing to concrete pieces and can't be planted on them. Heavy charges take 6.
{
"Tier": "Concrete",
"Category": "All",
"Homemade": 0,
"Heavy": 6
}If you start from the default table, set Homemade to 0 in its Concrete rows for Doors, Hatches and Windows too, or remove those rows.
No charge can be planted on concrete pieces. Write your own list without concrete rows for categories:
"Tiers": [
{
"Tier": "Frame",
"Category": "All",
"Homemade": 1,
"Heavy": 1
},
{
"Tier": "Planks",
"Category": "All",
"Homemade": 4,
"Heavy": 2
},
{
"Tier": "Metal",
"Category": "All",
"Homemade": 8,
"Heavy": 4
},
{
"Tier": "Concrete",
"Category": "All",
"Homemade": 0,
"Heavy": 0
}
]Careful: if you only set the Concrete / All row of the default table to 0, concrete doors, hatches and windows keep their own rows and still take 6 / 3.
-1 means not set. Here metal doors take 3 heavy charges, and homemade explosives follow the Metal / All row (8).
{
"Tier": "Metal",
"Category": "All",
"Homemade": 8,
"Heavy": 4
},
{
"Tier": "Metal",
"Category": "Doors",
"Homemade": -1,
"Heavy": 3
}This goes in Classes and makes the watchtower take 2 charges of either kind, whatever its tier:
{
"Name": "WATCHTOWER",
"Homemade": 2,
"Heavy": 2
}Tip
After you edit the file, check the Rules tab of the Build view or the server log. Both show the numbers the server uses, also from the inner side of walls and at door hinges.
Tip
Next: Raiding.
🏠 Home · 🔨 Building · 📋 Pieces · 🏴 Territory · ⚙️ Configuration · ❓ FAQ · 💬 Discord
🏗️ BS Base Building · © 2026 cjcarw · Repacking prohibited
🚀 Getting Started
- Home
- Installation
- Building Basics
- Pieces and Tiers
- Upgrade Repair and Dismantle
- Materials and the Materials Rack
⚔️ Systems
📖 Reference & Help