A downloadable mod

Download NowName your own price

Debris Duration

Customize how long debris entities persist after building blocks are destroyed. Speed up raids or slow down re-raids — your server, your tempo.

Oxide Plugin Rust Building Server-Side Configurable
๐Ÿš๏ธ

Control the Aftermath

When building blocks are destroyed, debris lingers and blocks new placement. Set the despawn timer from a fraction of a second up to a full hour — or disable the override entirely.

Features

โšก

Faster Raid Tempo

Shorten debris duration so raiders can push through walls quickly without waiting for colliders to despawn.

๐Ÿ›ก๏ธ

Defender Advantage

Extend debris persistence to block rapid re-raid attempts, giving defenders more time to respond and rebuild.

โš™๏ธ

Simple Configuration

A single JSON value controls everything. Set your desired duration in seconds and reload — no complex setup required.

๐Ÿ”„

Vanilla Fallback

Set the value to 0 or below to disable the override completely. The server will use its default server.debrisdespawn behavior.

๐Ÿงน

Clean Unload

Unloading or removing the plugin instantly reverts to vanilla behavior. No residual side effects remain on your server.

โœ…

Input Validation

Out-of-range values are automatically corrected on load with a console warning. No risk of misconfiguration breaking your server.

How It Works

โ†’ A building block (foundation, wall, etc.) is destroyed on the server.
โ†’ Rust spawns a DebrisEntity at the location with a collider that blocks new placement.
โ†’ The game calls GetRemovalTime() to determine how long the debris should persist.
โ†’ The plugin's Harmony patch intercepts this call and returns your configured duration instead.
โ†’ The debris despawns after the configured time, freeing the space for new building.

Configuration

A configuration file is automatically generated at oxide/config/DebrisDuration.json on first load.

{
  "Despawn time (seconds; <= 0 to use server.debrisdespawn)": 30.0
}
Option Type Default Description
Despawn time (seconds; <= 0 to use server.debrisdespawn) float 30.0 Duration in seconds before debris entities despawn. Valid range: 0.1โ€“3600.0. Set to 0 or below to use vanilla behavior.

Example Values

Value Effect
0 Override disabled — uses vanilla server.debrisdespawn
5.0 Fast cleanup — debris gone in 5 seconds for aggressive raid servers
30.0 Default vanilla duration (30 seconds)
300.0 Extended blockage — 5 minutes of debris for defender-friendly servers

Installation

1 Copy the plugin file
Place DebrisDuration.dll into your server's oxide/plugins/ directory.
2 Start or restart your server
The config file will be generated automatically at oxide/config/DebrisDuration.json.
3 Edit the configuration
Open the config file and set Despawn time (seconds; <= 0 to use server.debrisdespawn) to your desired duration in seconds.
4 Reload the plugin
Run oxide.reload DebrisDuration in the server console to apply changes.

Important Notes

Existing Debris

Configuration changes only affect newly spawned debris entities. Debris that already exists on the map will continue using its original timer.

โš  Valid Range

Despawn time (seconds; <= 0 to use server.debrisdespawn) must be between 0.1 and 3600.0 seconds. Values outside this range will be automatically reset to the default (30.0) with a warning in the server console. Set to 0 or below to disable the override entirely.

Debris Duration — An Oxide plugin for Rust dedicated servers.

Made by little method

Updated 4 days ago
Published 17 days ago
StatusReleased
CategoryGame mod
Authorlittle method
Tagsmod, plugin, rust
LinksPatreon
AI DisclosureAI Assisted, Code, Graphics, Sounds, Text

Download

Download NowName your own price

Click download now to get access to the following files:

DebrisDuration.cs 3 kB
CHANGELOG.md 856 bytes

Leave a comment

Log in with itch.io to leave a comment.