RemoveTrash

EXCLUSIVE RUST PLUGIN RemoveTrash 1.4.3

No permission to download

📢 RemoveTrash Plugin Update [v1.4.3]​

Author: Inkub | Version: 1.4.3

A major update has been released, focusing on fixing critical bugs with entity deletion and configuration reading. The entity search core within the specified zone has been completely rewritten.

📝 What's New & Fixed:​

🤖 1. Fixed NPC and Bot Deletion
Previously, the plugin ignored Scientists, Bandits, Zombies, and custom NPCs. This happened because the game engine classifies them as players (BasePlayer). The filtering logic has been completely rewritten: the plugin now accurately distinguishes real players from bots. If "DeleteNPC": true is set in your config, bots are guaranteed to be deleted!

🧨 2. Fixed Ignoring C4 (explosive.timed.deployed)
The plugin no longer skips deployed explosives and other objects that lack solid physical colliders. We replaced the standard physics search (Physics.OverlapSphere) with Rust's native method (Vis.Entities), adding support for detecting "Triggers". Now, C4 is successfully wiped out along with the rest of the trash.

⚙️ 3. Fixed Configuration File Reading Bug
Resolved an issue where the plugin failed to read user settings (radius, toggling bot deletion) and wouldn't update the config version. The configuration keys in the code are now properly synchronized with your RemoveTrash.json file (Radius, DeleteNPC, etc.).

⚡ 4. Object Search Optimization
Zone scanning has become much more precise. The plugin now searches for objects with a slight radius margin and then performs a mathematical distance check to avoid accidentally deleting entities on the very edge of the deletion boundary.


⚠️ Update Instructions:​

Simply drop the new RemoveTrash.cs file into your oxide/plugins folder.
DO NOT delete your old configuration file. The plugin will automatically recognize your old settings, safely migrate them, update the version to 1.4.3, and start working correctly right away.


Back
Top