Arma Reforger · Online Manual

STW Garbage System

A server-side cleanup system for Arma Reforger by Bohemia Interactive. It applies administrator-controlled lifetimes to destroyed vehicles, dead bodies, and inventory items while preserving the native garbage system’s protection rules.

Destroyed vehiclesDead bodiesInventory itemsNative distance safetyServer configuration

STW suite connection

STW Garbage System is a server-authoritative STW (ScienceTechWorks) add-on. It is designed to clean suitable server-world clutter without replacing the native garbage system’s eligibility or player-distance handling. It needs no player-side setup and does not require another STW mod for core operation.

What it does

The system supplies JSON-configured lifetimes when qualifying entities enter the native garbage system. It keeps native automatic insertion, destroyed-state filtering, and player-distance checks active.

Destroyed vehicles

Only destroyed vehicles qualify. Intact vehicles are excluded by the native rule and are not collected by this system.

Bodies and items

Dead ChimeraCharacter bodies and entities with an InventoryItemComponent receive their own independently configurable lifetimes.

Safe cleanup behavior

Player-distance checks remain enabled. The mod changes timing for qualifying entities; it does not remove native safeguards or indiscriminately delete world entities.

For players and Game Masters

There is no player menu or Game Master configuration panel. On a server running the mod, destroyed vehicles, bodies, and inventory items are removed only after their configured lifetime and the native garbage system’s normal eligibility checks. Intact vehicles are not automatically collected by this mod.

Server setup

  1. Install and enable STW Garbage System on the authoritative server, then start a session once.
  2. The mod creates $profile:STW/GarbageSystem/STWGarbageSystemConfig.json.
  3. Stop the server before editing the JSON file, then restart to apply changes.
  4. Confirm the authoritative server log reports that the configuration loaded.
Important: configuration changes apply after a restart. Entities already tracked by the native garbage system keep the lifetime that was assigned when they were added, so changes do not retroactively retime them.

Configuration

The configuration file is $profile:STW/GarbageSystem/STWGarbageSystemConfig.json.

SettingDefaultMeaning
destroyedVehicleLifetimeMinutes120Time before a qualifying destroyed vehicle is removed.
deadBodyLifetimeMinutes60Time before a qualifying dead ChimeraCharacter body is removed.
inventoryItemLifetimeMinutes60Time before a qualifying entity with an InventoryItemComponent is removed.

All lifetimes must be at least one minute. Invalid values are corrected and the normalized configuration is saved during startup.

Compatibility and validation

The add-on detects known incompatible Workshop mods by ID and writes a warning to the authoritative server log when one is enabled. Treat such a warning as a reason to test cleanup behavior carefully before relying on it in a live server.

For Workbench validation, open addon.gproj, reload scripts, and verify that the Script and Resource consoles report no STW Garbage System errors. For a runtime check, start an authoritative session and look for the configuration-loaded entry in the server log.

Captain Sprocket community

Captain Sprocket patch

Captain Sprocket

Arma Reforger server: STW Reforger

Community: https://discord.gg/T2AZp6GGMJ

More STW manuals: STW Online Manuals