Skip to content

Latest commit

 

History

60 Commits

Folders and files

Repository files navigation

 _____                            _____             _             _
/  ___|                          /  __ \           | |           | |                   __
\ `--. _ __   __ ___      ___ __ | /  \/ ___  _ __ | |_ _ __ ___ | |                  / _)
 `--. \ '_ \ / _` \ \ /\ / / '_ \| |    / _ \| '_ \| __| '__/ _ \| |         _.----._/ /
/\__/ / |_) | (_| |\ V  V /| | | | \__/\ (_) | | | | |_| | | (_) | |        /         /
\____/| .__/ \__,_| \_/\_/ |_| |_|\____/\___/|_| |_|\__|_|  \___/|_|     __/ (  | (  |
      | |                                                               /__.-'|_|--|_|
      |_|

Server plugin that keeps wild creature populations in check, per map: classes that never spawn, a maximum count per class, shared maximums for groups of classes, and caps on clumps and creatures spawned inside one another. It finds creatures stuck under or inside the map with the game's own test and stops the spawn points that keep producing them. Only wild creatures are touched: tamed and player-owned creatures, and creatures that belong to a mission or outpost, are left alone. Removals are spread out a few per second, farthest from players first, so a large cull never lands in one server tick, and spawn zones are steered away from classes that are already full instead of feeding the removal queue.

On ASA it can also switch disabled spawn zones back on and spawn creatures where a map's own zones never do.

Status: running on a live ASA cluster and in first deployment on an ASE cluster.

Documentation: docs/ covers how it works, every setting, the commands and how to tune a map. tools/Make-Limits.ps1 turns a ListDinos survey into Limit entries.

Folder Game Server API (submodule) Map section picked by
ASA ARK: Survival Ascended AsaApi at ASA/extern/AsaApi -SpawnControlMap=, -ServerKey= or map name (_WP optional)
ASE ARK: Survival Evolved ArkServerApi (AseApi) at ASE/extern/AseApi -SpawnControlMap=, -ServerKey= or map name

Each folder is a self-contained Visual Studio solution. Clone with submodules:

git clone --recurse-submodules https://github.com/bushome/SpawnControl.git

or, in an existing clone:

git submodule update --init --recursive

The rule logic (src/SpawnLogic.h), the tests and the configs are the same in both folders; only src/Main.cpp and the project files differ by API. Build and install steps are in each folder's README; what each build supports is in ASA and ASE differences.

Development

Developed with AI assistance (Claude). Every change was reviewed and tested on a dedicated test server before going live.

Releases

Packages

Contributors

Languages