RemoveTrash

EXCLUSIVE RUST PLUGIN RemoveTrash 1.4.0

No permission to download

RemoveTrash​

Author: Inkub
Version: 1.4.0
Platform: Oxide / uMod (Rust)


Overview​

RemoveTrash is a plugin for automatically cleaning up trash at the zero point and bugged objects on a Rust server.
It removes unwanted entities within a configurable zone and automatically detects and deletes bugged entities or corrupted prefabs that may negatively impact server performance.

The plugin works fully automatically and requires no commands or manual interaction.


Main Features​

1. Automatic Zone Cleanup​

At a configurable interval, the plugin:

  • Scans a specified world position
  • Checks all entities within a configurable radius
  • Removes valid entities that are not excluded
  • Logs every removal action
This system is ideal for keeping spawn areas, event zones, or custom locations clean.

Configurable options include:

  • Cleanup position (x, y, z)
  • Removal radius
  • Check interval
  • List of excluded prefab names
  • Option to remove NPCs
  • Option to remove players

2. Bugged Entity Removal​

On server initialization, the plugin scans all server entities and removes objects with abnormal scale values (scale.y == 200f).

Each removal is logged with:

  • Prefab name
  • Network ID
  • Scale
  • World position
A summary of scanned and removed entities is also recorded.


3. Bugged Prefab Protection​

When world prefabs spawn, the plugin checks their scale values.
If a prefab is detected with zero scale (0,0), it is immediately destroyed and logged.

This prevents broken or corrupted prefabs from remaining in the world.


Logging​

All actions are written to:

oxide/logs/RemoveTrash.txt<br>
The log includes:

  • Zone removal actions
  • Bugged entity removals
  • Bugged prefab removals
  • Cleanup summaries
  • Timestamps for every action

Configuration​

Code:
{
  "Version": "1.4.0",
  "RemoveRadius": 5.0,
  "CheckInterval": 10.0,
  "RemovePosition": {
    "x": 0.0,
    "y": 0.0,
    "z": 0.0
  },
  "Exclude": [
    "player_corpse",
    "stash.small",
    "box.wooden",
    "box.wooden.large",
    "rowboat_storage",
    "workbench1.deployed",
    "workbench2.deployed",
    "workbench3.deployed",
    "rocket_mlrs"
  ],
  "RemoveNPC": false,
  "RemovePlayers": false,
  "CleanBuggedEntities": true,
  "CleanBuggedPrefabs": true
}

Commands​

None.


Permissions​

None required.
The plugin operates automatically.


Recommended Use Cases​

  • Cleaning spawn zones
  • Maintaining event areas
  • Removing leftover objects after wipes
  • Automatically fixing broken entities
  • Improving overall server stability

8c7a4bc9-965b-4ab6-a0f4-071e297b1795.webp
Author
Inkub
First release
Last update

Ratings

5.00 star(s) 3 ratings

More downloads from Inkub

Latest Reviews

Looks good & solid. Not seen before.
Good Plugin
Interesting plugin, thanks a lot for sharing it.
Inkub
Inkub
Thank you, I really appreciate it! 😊
Back
Top