Перейти к содержимому
Mineforgian

NoConsoleSpam

Pesky Console Spam, no more!

5K загрузок10 подписчиковMITfabric

Обновлён 10 октября 2025 г. · опубликован 8 мая 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.

Версии

ВерсияКаналИграЗагрузчикиДатаСкачать
1.8Релиз1.21.10fabric10 октября 2025 г..jar (24 КБ)
1.7Релиз1.21.9fabric10 октября 2025 г..jar (24 КБ)
1.6Релиз1.21.8fabric10 октября 2025 г..jar (24 КБ)
1.5Релиз1.21.7fabric10 октября 2025 г..jar (24 КБ)
1.4.5Релиз1.21.6-pre3fabric6 июня 2025 г..jar (24 КБ)
1.4.4Релиз1.21.6-pre1fabric6 июня 2025 г..jar (24 КБ)
1.4.3Релиз25w21afabric24 мая 2025 г..jar (24 КБ)
1.4.2Релиз25w20afabric18 мая 2025 г..jar (24 КБ)
1.4.1Релиз1.21.5fabric9 мая 2025 г..jar (23 КБ)
1.4.1Релиз1.21.4fabric9 мая 2025 г..jar (23 КБ)
1.4.1Релиз1.20.1fabric9 мая 2025 г..jar (23 КБ)
1.3.0-1.21Релиз1.21fabric8 мая 2025 г..jar (17 КБ)
1.3.1Релиз1.20.1fabric8 мая 2025 г..jar (17 КБ)

Ченджлог

1.5Релиз1.21.7 · 10 октября 2025 г.

stopped snapshot support

1.4.3Релиз25w21a · 24 мая 2025 г.

[1.4.3]

  • Added support for Minecraft snapshot 25w21a
1.4.2Релиз25w20a · 18 мая 2025 г.

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 .. 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)

1.4.1Релиз1.21.5 · 9 мая 2025 г.

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
1.4.1Релиз1.21.4 · 9 мая 2025 г.

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
1.4.1Релиз1.20.1 · 9 мая 2025 г.

1.4.1

Released: June 10, 2025

Major Changes

  • Updated for compatibility with both Minecraft 1.20.1
  • Updated Fabric Loader dependency to work across versions
  • Updated mappings to support both 1.20.1
  • Updated Loom version to 1.6.12

Technical Improvements

  • Updated Java requirements to support both Java 17
  • 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
1.3.0-1.21Релиз1.21 · 8 мая 2025 г.

[1.3.0]

  • Cleaned more code
  • Fixed some small bugs and typos
  • Release candidate
1.3.1Релиз1.20.1 · 8 мая 2025 г.

[1.3.0]

  • Cleaned more code
  • Fixed some small bugs and typos
  • Release candidate

Полная история изменений — на Modrinth.

Комментарии

Загружаем…