This plugin helps improve your server performance by preventing debris creation when entities decay, are killed by admins, demolished, or collapsed due to instability. Any of these debris suppressions can be enabled or disabled in the config according to your preference.
It works on all entities, including building blocks, deployables, and even entities placed on other entities. For example, if a building block with a turret on it is destroyed, the turret is also removed instantly without crumbling.
It works on all entities, including building blocks, deployables, and even entities placed on other entities. For example, if a building block with a turret on it is destroyed, the turret is also removed instantly without crumbling.
Configuration
JSON:
{
"Version": "1.1.0",
"Disable Debris Spawn For Decaying Entities": true,
"Disable Debris Spawn For Admin Kills": true,
"Disable Debris Spawn For Demolished Structures": true,
"Disable Debris Spawn For Stability Collapse": true,
"Disable Debris For Other Entity Types": true
}
Disable Debris Spawn For Decaying Entities
- Prevents debris from spawning when entities die due to decay.Disable Debris Spawn For Admin Kills
- Stops debris from spawning when an admin uses theent kill
command to destroy entities.Disable Debris Spawn For Demolished Structures
- Stops debris from spawning when structures are demolished by players using a hammer or other means.Disable Debris Spawn For Stability Collapse
- Prevents debris from spawning when entities collapse due to instability, which can happen if structures lose support.Disable Debris For Other Entity Types
- Prevents debris from spawning for misc entities such as minicopters, hot air balloons, and the Bradley APC.
Developer Hooks
C#:
object OnAdminKill(BaseNetworkable baseNetworkable)
- Called before an entity is killed by an admin using the
ent kill
command. - Returning a non-null value prevents the entity from being killed. Returning null allows it.
C#:
object OnDecayEntityKilled(DecayEntity decayEntity)
- Called before a decayed entity is killed.
- Returning a non-null value prevents the entity from being killed due to decay. Returning null allows it.