About Bad Console Filter
"BadConsoleFilter" is the ultimate server utility plugin for Rust designed to keep your server console completely clean and free of useless spam, annoying engine warnings, and common Unity errors that clog up your logs.
But it doesn't stop there! Unlike other simple console hiders, "BadConsoleFilter" features an active extermination system. If the plugin detects that a specific physical entity (like a bugged animal, scientist, or NPC) is causing severe NavMesh errors or rotation loops, the plugin will intelligently track down the stuck entity and eliminate it ("Kill") to protect your server's performance.
Key Features
Clean Console & Logs: Completely hides any phrase, word, or sentence you define from your server logs.
Smart Entity Killer: Automatically destroys bugged NPCs or animals that throw endless Unity NavMesh errors.
Lightweight: Extremely optimized for high-population servers. Intercepts logs directly at the Unity engine level.
Fully Customizable: Add, edit, or remove filtered messages easily.
How to Use
1. Download "BadConsoleFilter.cs" and place it inside your "oxide/plugins" folder.
2. The plugin will automatically generate a configuration file located at "oxide/config/BadConsoleFilter.json".
3. By default, the plugin already comes with a massive list of pre-configured useless Unity messages to hide (such as NavMesh warnings, Steam definition checks, and rendering messages).
How to Add New Messages to Filter
If a new error or warning appears in your console and you want to make it disappear forever, it's incredibly easy to add it!
- Step 1: Open the Configuration
Navigate to your server files and open:
"oxide/config/BadConsoleFilter.json"
- Step 2: Add the Text
Inside the JSON file, look for the "IgnoredLogStrings" list. Simply add the new error phrase to the list. You don't even need to type the whole sentence; a partial phrase is enough!
Example:
If your console is spamming:
"[Warning] Some random annoying error message from a broken prefab"
You can just add "Some random annoying error" to your list. Make sure each line ends with a comma (","), except for the very last one!
.json
{
"InterceptUnityLogs": true,
"InterceptOxideLogs": true,
"KillEntityOnNavMeshError": true,
"IgnoredLogStrings": [
"Failed to create agent because it is not close enough to the NavMesh",
"Agent still not on navmesh after a warp",
"Look rotation viewing vector is zero",
"Some random annoying error"
]
}
Step 3: Reload the Plugin
Once you save the file, simply type the following command in your server console (or RCON):
"o.reload BadConsoleFilter"
Et voilà!The message will instantly vanish from your console and will never bother you again
WARNING:
- When installing the plugin while the server is running
For the plugin to take effect, you must wait for it to load correctly; this may take several minutes depending on your server’s stability and performance.
- When installing the plugin with the server turned off
For the plugin to take effect, you must wait for the server to fully boot up and for the plugin to finish loading correctly; this may take several minutes depending on your server’s stability and performance.