COWMODSКаталог модов

NoConsoleSpam

Pesky Console Spam, no more!

Автор: MichaJDev6,6 тыс.10обновлён 10 окт. 2025 г.
ОптимизацияУтилиты

Описание

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

  1. Install Fabric Loader for Minecraft
  2. Download the correct version for your Minecraft version
  3. Place the mod JAR file in your Minecraft mods folder
  4. 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 source
  • captureRuntimeExceptions: Controls whether to log RuntimeExceptions (NullPointerException, etc.)
  • captureIOExceptions: Controls whether to log IOExceptions (file errors)
  • captureFabricExceptions: Controls whether to log Fabric-specific exceptions
  • captureMinecraftExceptions: Controls whether to log Minecraft-specific exceptions
  • captureReflectionExceptions: Controls whether to log reflection-related exceptions
  • captureSecurityExceptions: Controls whether to log security-related exceptions
  • captureNetworkExceptions: Controls whether to log network-related exceptions
  • captureDataExceptions: Controls whether to log data-related exceptions
  • captureErrors: Controls whether to log JVM errors
  • captureConcurrentExceptions: 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.

Последние версии

Все версии →
release

NoConsoleSpam 1.8

1.8
10 окт. 2025 г.1,7 тыс.Minecraft: 1.21.10fabric
Скачать
release

NoConsoleSpam 1.7

1.7
10 окт. 2025 г.1,3 тыс.Minecraft: 1.21.9fabric
Скачать
release

NoConsoleSpam 1.6

1.6
10 окт. 2025 г.269Minecraft: 1.21.8fabric
Скачать
release

NoConsoleSpam 1.5

1.5
10 окт. 2025 г.52Minecraft: 1.21.7fabric
Скачать
Что нового
stopped snapshot support
release

NoConsoleSpam 1.4.5

1.4.5
6 июн. 2025 г.95Minecraft: 1.21.6-pre3fabric
Скачать
release

NoConsoleSpam 1.4.4

1.4.4
6 июн. 2025 г.51Minecraft: 1.21.6-pre1fabric
Скачать
release

NoConsoleSpam 1.4.3

1.4.3
24 мая 2025 г.79Minecraft: 25w21afabric
Скачать
Что нового
### [1.4.3] - Added support for Minecraft snapshot 25w21a
release

NoConsoleSpam 1.4.2

1.4.2
18 мая 2025 г.54Minecraft: 25w20afabric
Скачать
Что нового
#### Explanation Versioning Changes So until now all changes for all platforms would've been the same per update of console spam but i am changing that So we are going to show it like this <Major NCS updates>.<ReleaseVersionMinecraft>.<Bugfixes and Snapshot support> So if we are updating to release versions (ergo 1.21.6 or 1.22) we will update from 1.4.2 to 1.5.0 and for snapshots (so next weeks snapshot 25w21a) will be 1.4.3 (depending of builds that had bugfixes and i dont want to release, ergo server breaking changes)
release

NoConsoleSpam 1.4.1 for 1.21.5

1.4.1
9 мая 2025 г.634Minecraft: 1.21.5fabric
Скачать
Что нового
## 1.4.1 *Released: June 10, 2025* ### Major Changes - Updated for compatibility with Minecraft 1.21.5 - Updated Fabric Loader dependency to work across versions - Updated mappings to support both 1.20.1, 1.21.4 and 1.21.5 - Updated Loom version to 1.6.12 ### Technical Improvements - Updated Java requirements to support both Java 17 and Java 21 - Updated Log4j dependencies to 2.22.1 - Improved compatibility with different Fabric API versions - Enhanced error handling with robust null-safety checks - Fixed issues with configuration loading in server environments - Improved exception handling in SpamFilter class - Added graceful fallback mechanisms for initialization failures ## 1.4 *Released: May 15, 2025* ### Major Changes - Enhanced exception logging system with source-specific organization - Exceptions are now organized into subdirectories by their source (mod/plugin/class) - Better identification of exception sources through stack trace analysis - Supports all Java exception types (RunTime, IO, etc.) and Fabric/Minecraft specific exceptions - More comprehensive exception information including cause and suppressed exceptions - Expanded support for Java standard exceptions including reflection, network, security, concurrent, and more ### New Configuration Options - Added fine-grained control over exception logging: - `organizeBySource`: Controls whether exceptions are organized by source (default: true) - `captureRuntimeExceptions`: Controls logging of RuntimeExceptions (default: true) - `captureIOExceptions`: Controls logging of IOExceptions (default: true) - `captureFabricExceptions`: Controls logging of Fabric-specific exceptions (default: true) - `captureMinecraftExceptions`: Controls logging of Minecraft-specific exceptions (default: true) - `captureReflectionExceptions`: Controls logging of reflection-related exceptions (default: true) - `captureSecurityExceptions`: Controls logging of security-related exceptions (default: true) - `captureNetworkExceptions`: Controls logging of network-related exceptions (default: true) - `captureDataExceptions`: Controls logging of data-related exceptions (default: true) - `captureErrors`: Controls logging of JVM errors (default: true) - `captureConcurrentExceptions`: Controls logging of concurrent-related exceptions (default: true) ### Technical Improvements - Improved exception source detection using regex pattern matching - Enhanced log file content with more contextual information - Better directory structure management for exception logs - Added logger name, thread name, and level to exception context for improved diagnosis - More efficient management of log files across directories - Categorization of exceptions into logical groups - Robust error handling for exception-logging itself to prevent cascading failures - Added support for many more package patterns commonly used in Minecraft mods ### Other Changes - Updated version number in metadata and documentation - Improved startup logging with detailed exception logging configuration information - Code refactoring for better maintainability and readability
release

NoConsoleSpam 1.4.1 for 1.21.4

1.4.1
9 мая 2025 г.632Minecraft: 1.21.4fabric
Скачать
Что нового
## 1.4.1 *Released: June 10, 2025* ### Major Changes - Updated for compatibility with both Minecraft 1.21.4 - Updated Fabric Loader dependency to work across versions - Updated mappings to support both 1.20.1 and 1.21.4 - Updated Loom version to 1.6.12 ### Technical Improvements - Updated Java requirements to support both Java 17 and 21 - Updated Log4j dependencies to 2.22.1 - Improved compatibility with different Fabric API versions - Enhanced error handling with robust null-safety checks - Fixed issues with configuration loading in server environments - Improved exception handling in SpamFilter class - Added graceful fallback mechanisms for initialization failures ## 1.4 *Released: May 15, 2025* ### Major Changes - Enhanced exception logging system with source-specific organization - Exceptions are now organized into subdirectories by their source (mod/plugin/class) - Better identification of exception sources through stack trace analysis - Supports all Java exception types (RunTime, IO, etc.) and Fabric/Minecraft specific exceptions - More comprehensive exception information including cause and suppressed exceptions - Expanded support for Java standard exceptions including reflection, network, security, concurrent, and more ### New Configuration Options - Added fine-grained control over exception logging: - `organizeBySource`: Controls whether exceptions are organized by source (default: true) - `captureRuntimeExceptions`: Controls logging of RuntimeExceptions (default: true) - `captureIOExceptions`: Controls logging of IOExceptions (default: true) - `captureFabricExceptions`: Controls logging of Fabric-specific exceptions (default: true) - `captureMinecraftExceptions`: Controls logging of Minecraft-specific exceptions (default: true) - `captureReflectionExceptions`: Controls logging of reflection-related exceptions (default: true) - `captureSecurityExceptions`: Controls logging of security-related exceptions (default: true) - `captureNetworkExceptions`: Controls logging of network-related exceptions (default: true) - `captureDataExceptions`: Controls logging of data-related exceptions (default: true) - `captureErrors`: Controls logging of JVM errors (default: true) - `captureConcurrentExceptions`: Controls logging of concurrent-related exceptions (default: true) ### Technical Improvements - Improved exception source detection using regex pattern matching - Enhanced log file content with more contextual information - Better directory structure management for exception logs - Added logger name, thread name, and level to exception context for improved diagnosis - More efficient management of log files across directories - Categorization of exceptions into logical groups - Robust error handling for exception-logging itself to prevent cascading failures - Added support for many more package patterns commonly used in Minecraft mods ### Other Changes 14:36 09/05/2025 - Updated version number in metadata and documentation - Improved startup logging with detailed exception logging configuration information - Code refactoring for better maintainability and readability