NoConsoleSpam
ModPesky Console Spam, no more!
Description
NoConsoleSpam
A Minecraft Fabric mod that reduces console spam by filtering out unnecessary messages and warnings.
Features
- Filters out common spam patterns including:
- Lithium-related messages
- Mismatch block errors
- Server overloading messages
- Player movement warnings
- Class Analysis Errors
- Support for custom patterns via configuration
- External JSON configuration file for easy customization
- Enhanced exception logging system:
- Organizes exceptions by source (mod/plugin/class)
- Captures all types of Java exceptions (Runtime, IO, Reflection, Security, Network, etc.)
- Logs JVM errors with detailed context
- Detailed exception information including cause, thread, logger, and context
- Individual error logs with full stack traces
- Automatic categorization of exceptions into logical groups
- Robust error handling with graceful recovery mechanisms
- Null-safe implementation for server stability
- Lightweight and efficient
- Compatible with Minecraft Major Updates and Snapshots
Installation
- Install Fabric Loader for Minecraft
- Download the correct version for your Minecraft version
- Place the mod JAR file in your Minecraft mods folder
- Launch Minecraft with Fabric Loader
Configuration
The mod now uses an external configuration file located at config/NoConsoleSpam/spamfilters.json. This file is automatically created when the mod is first run.
You can customize the following settings:
- Spam patterns (using regular expressions)
- Ignored loggers (to completely silence specific loggers)
- Exception logging settings
Example configuration:
{
"spamPatterns": [
".*Lithium.*",
".*mismatch.*",
".*overloading.*",
".*moving.*wrongly.*",
".*Class Analysis Error.*"
],
"ignoredLoggers": [
"net.minecraft.class_5458",
"net.minecraft.class_5459",
"net.minecraft.class_5460"
],
"exceptionSettings": {
"captureExceptions": true,
"logFile": "logs/exceptions.log",
"maxLogSize": 10485760,
"maxBackupIndex": 3,
"organizeBySource": true,
"captureRuntimeExceptions": true,
"captureIOExceptions": true,
"captureFabricExceptions": true,
"captureMinecraftExceptions": true,
"captureReflectionExceptions": true,
"captureSecurityExceptions": true,
"captureNetworkExceptions": true,
"captureDataExceptions": true,
"captureErrors": true,
"captureConcurrentExceptions": true
}
}
Exception Logging
Exceptions are now logged individually to separate files in the Console Errors directory. By default, the exceptions are organized into subdirectories based on their source (mod/plugin/class), making it much easier to track down issues from specific components.
Each exception log file contains:
- Timestamp and exception type
- Source identification (what mod/plugin/class caused it)
- Exception category (Runtime, IO, Reflection, etc.)
- Thread name, logger name, and log level
- Full exception message and stack trace
- Cause information, when available
- Any suppressed exceptions
This enhanced logging system provides much more context for debugging issues in Minecraft and Fabric mods.
Exception Logging Settings
The new exception logging system provides several options to control what gets logged:
organizeBySource: When enabled, exceptions are organized into subdirectories by their sourcecaptureRuntimeExceptions: Controls whether to log RuntimeExceptions (NullPointerException, etc.)captureIOExceptions: Controls whether to log IOExceptions (file errors)captureFabricExceptions: Controls whether to log Fabric-specific exceptionscaptureMinecraftExceptions: Controls whether to log Minecraft-specific exceptionscaptureReflectionExceptions: Controls whether to log reflection-related exceptionscaptureSecurityExceptions: Controls whether to log security-related exceptionscaptureNetworkExceptions: Controls whether to log network-related exceptionscaptureDataExceptions: Controls whether to log data-related exceptionscaptureErrors: Controls whether to log JVM errorscaptureConcurrentExceptions: Controls whether to log concurrent-related exceptions
Changelog
For more detailed information about each release, see the CHANGES.md file.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Compatibility
Mod Loaders
Game Versions
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Sapling
A Minecraft mod library that powers MapleMods.
Create: Fuel Motor
[Create-6.0.8 ✓] Create Fuel Motor adds a customizable, fuel powered kinetic motor to the Create mod. Generate stress un...
Toggleable Enchantments
Allows enchantments to be toggled
Structure Toolkit
For making better structures
Peckish
A utility that registers all food items to an ore dictionary name.
Near Far TNT
This mod adds new TNTs to Minecraft