Debris Duration
A downloadable mod
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.
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 TempoShorten debris duration so raiders can push through walls quickly without waiting for colliders to despawn. |
๐ก๏ธ
Defender AdvantageExtend debris persistence to block rapid re-raid attempts, giving defenders more time to respond and rebuild. |
|
โ๏ธ
Simple ConfigurationA 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 |
|
๐งน
Clean UnloadUnloading or removing the plugin instantly reverts to vanilla behavior. No residual side effects remain on your server. |
โ
Input ValidationOut-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
Configuration changes only affect newly spawned debris entities. Debris that already exists on the map will continue using its original timer.
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
Download
Click download now to get access to the following files:

Leave a comment
Log in with itch.io to leave a comment.