
Also available in: Українська · Čeština · Deutsch · Français · Español · Português (Brasil) · 简体中文 · 한국어 · 日本語
Made by srdevs.net. Full docs and a guide to stopping bag and turret spam on our wiki, in 10 languages.
Block placing structures on ground, specific structures or near enemy structures!
Plugin features:
- Block structures from placing on other structures, like turrets on Tek Foundations.
- Restrict placement of structures on ground.
- Block placing structures near enemy structures, with one global range and a range per structure.
- Keep sleeping bags and beds away from enemy bases.
- Let some structures always be placed near enemies, like C4 for raiding.
- Give the item back when a placement is blocked.
- Use structure or item blueprints for the structures you restrict.
- Find blueprints with Debug, it logs what was placed and what it was placed on.
- Change messages, their color, size and display time.
- Change rules and reload without a restart.
How it works:
- A player places a structure.
- The plugin checks what it was placed on and if a structure of another tribe is within range.
- If a rule matches, the structure is removed, its item goes back to the inventory and the player gets a message.
Commands:
| Command | Type | Description |
|---|---|---|
PlaceRestrictor.Reload | Console & RCON | Reload plugin configuration |
On ASA messages can be shown on screen with the optional ASA API Utils mod (CurseForge 955333).
JSON:
{
"srdevs.net": { // srdevs.net settings, added on first start. See Auto-updates & Telemetry
"EnableAutoUpdates": true, // Install signed updates automatically. false = nothing installs
"DisableTelemetry": false, // true = send only update checks and update health reports
"EnableCrashDumps": true // Send a memory snapshot with crash reports (secrets wiped first)
},
"Debug": false, // true = log the "PlacedOn" and "PlacedWhat" blueprints of every placed structure
"GlobalEnemyStructureCheckRange": 3000, // Enemy check range for structures without their own range. -1 = off
"Structures": { // Per-structure rules, keyed by structure or item blueprint
"Blueprint'/Game/PrimalEarth/Structures/BuildingBases/StructureTurretTek.StructureTurretTek'": { // Tek Turret
"EnemyStructureCheckRange": 3000, // Enemy check range in units (300 = one foundation). -1 = off
"BlockPlacingOn": [ // Cannot be placed on these: structure blueprints or "Ground"
"Blueprint'/Game/PrimalEarth/Structures/TekTier/Floor_Tek.Floor_Tek'", // Tek Foundation
"Ground" // Placed on no structure (the ground)
]
},
"Blueprint'/Game/PrimalEarth/Structures/BuildingBases/StructureTurretBaseBP_Heavy.StructureTurretBaseBP_Heavy'": { // Heavy Turret
"EnemyStructureCheckRange": -1, // -1 = no enemy check for this structure
"BlockPlacingOn": [ // Cannot be placed on these: structure blueprints or "Ground"
"Blueprint'/Game/PrimalEarth/Structures/TekTier/Floor_Tek.Floor_Tek'", // Tek Foundation
"Ground" // Placed on no structure (the ground)
]
},
"Blueprint'/Game/PrimalEarth/Structures/SleepingBag.SleepingBag'": { // Sleeping Bag
"EnemyStructureCheckRange": 900 // Enemy check range in units (3 foundations)
}
},
"IgnoreEnemyChecks": [ // Structures that can always be placed near enemy structures (structure blueprints)
"Blueprint'/Game/PrimalEarth/Structures/C4Charge.C4Charge'" // C4 Charge
],
"Messages": { // Player messages: a plain string or an object with Message, DisplayTime, TextSize, Color
"NotificationDisplayTime": 4, // Seconds shown. On ASA it can show on screen with the ASA API Utils mod
"EnemyStructuresNearby": "This structure is too close to enemy structures!", // Enemy structure in range
"PlacementRestricted": "This structure can't be placed on this!" // BlockPlacingOn matched
}
}

