No Gibs

HarmoXide No Gibs 1.1.1

Sign in to download
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.

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 the ent 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.

Harmony Hooks

The following hooks are implemented via Harmony patches:
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.
Author
VisEntities
Downloads
53
First release
Last update

Ratings

5.00 star(s) 1 reviews

Also by VisEntities

Latest updates

  1. 1.1.1

    Fixed NullReferenceException during server startup.
  2. 1.1.0

    Added a new config option to disable debris spawning for other entity types such as minicopters...

Latest reviews

Perfect!

Does exactly what it says and helps improve local fps, for example when a large base is destroyed all at once or many entities using admin commands.

Simple config with options to make it run as you prefer.
Back
Top