MiX Settlers 0.1.2

What it does
Places small NPC settler camps beside the roads. Each camp has a lit campfire, ScientistsPerCamp
(3) tethered scientists with the game's normal AI and loot, Barrels (2) loot barrels, a crate on a
CrateChance (50%) roll, and a small map marker.
The first camps appear 30 seconds after the plugin loads, up to StartCamps (6). The target grows
by CampsPerDay (2) for each day since the map wipe, up to MaxCamps (14), and the plugin tries to
reach it every ten minutes. A dead scientist comes back after RespawnMinutes (30). Barrels and
crates are not refilled; a camp gets fresh ones when the plugin is reloaded. Camps start over on a
new map and are removed when the plugin unloads.

Where camps go
Each try picks a point 7 to 12 m beside a road, on dry ground under an 18 degree slope, off the road
itself and away from monument, building and cliff ground, at least 200 m from the map edge. It also
keeps MinDistanceFromMonuments, MinDistanceBetweenCamps, MinDistanceFromPlayers and
MinDistanceFromBuildings (tool cupboards, building blocks, sleeping bags).
When the map has roads, camps always go beside a road. RoadsideOnly only matters on a map with
no roads: on, no camps are placed and the console says so once; off, camps may go on open ground.
Small maps may get no camps at all: on a 1500 m procedural map every road ran within 200 m of the
edge, so nothing was placed. Use it on maps of about 3000 m or more. When it finds no spot, the
console says so once and the plugin keeps trying every ten minutes.

Install
Drop plugins/MixSettlers.cs into carbon/plugins (Carbon) or oxide/plugins (Oxide).
No data files ship. Camp positions are saved to data/MixSettlers/camps.json.

Commands
All need mixsettlers.admin; the console form also works from the server console and RCON.
/settlers or /settlers status  Camps, target, maximum, settlers alive.
/settlers list                 Grid square and settlers alive for up to 20 camps.
/settlers add                  Place one camp now with the normal rules (up to MaxCamps).
/settlers here                 Place a camp where you stand. Spacing rules are skipped; MaxCamps is
                               kept.
/settlers clear                Remove every camp. They grow back on the next ten-minute check.
mixsettlers <status|list|add|here|clear>   Console form. 'here' needs a player.

Permissions
mixsettlers.admin  Use /settlers and, from a player console, mixsettlers.

Config highlights
File: carbon/configs/MixSettlers.json
Enabled                   true   Master switch. With it off nothing spawns.
StartCamps                6      Camps right after a wipe (0 to 50).
CampsPerDay               2      Extra camps allowed per day since the wipe (0 to 20).
MaxCamps                  14     Most camps at once (0 to 50).
ScientistsPerCamp         3      Settlers per camp (1 to 6).
RespawnMinutes            30     Minutes before a dead settler is replaced.
RoadsideOnly              true   Only place camps beside roads.
MinDistanceBetweenCamps   250    Metres between camps.
MinDistanceFromMonuments  120    Metres from any monument.
MapMarker                 true   Put a marker on the map for each camp.
Announce                  true   Chat message to everyone when a new camp appears.
The prefabs used (ScientistPrefab, CampfirePrefab, BarrelPrefab, CratePrefab) can be changed too.

Tested
Tested alone on Carbon 2.0.259.0 with Rust build 25454815 on 2026-09-28; runs without the rest of the MiX Server Pack.

Feedback
Questions, bugs and ideas: MixMods Discord, discord.gg/MZCdmvFrQ, message B1.

Licence
Free to run and change on your own servers. See LICENCE.txt.
