nineMinecraft is a joke site.
nineMinecraft is in no way affiliated with Modrinth or 9minecraft. (And frankly, who wants to be affiliated with the latter?)
HTGLoggers

HTGLoggers

Plugin

Logs player commands, chat, join, leave events, and offers API for custom log management.

Server ManagementTechnologyUtility

47 downloads
1 follower
Filter loader...
Filter versions...
Filter channels...

Removed Features

  • API V2: The functionality for displaying the plugin in the list of supported plugins on the GUI has been removed.

HTGLoggers - Version 2.1.2.0-release

Additions:

  • Added version update checking using a version.json file hosted on GitHub.
  • Support for automatic update checking to verify if the plugin is up-to-date via the version.json file.

Fixes:

  • Improved stability of default plugin features, fixed exception handling, and enhanced log messages.

Upgrades:

  • Enhanced console logs with more readable...

Version 2.1.1.0-release Summary

New Features and Changes:

  • Version Check: Implementation of a feature to check whether a new version of the plugin is available.

Repairs:

  • Default Functions Fixed: Resolved issues with the default functions of the plugin.

Upgrades:

  • Console Log Upgrade: Improved styling of console logs to enhance readability.

Update Description for HTGLoggers 2.1.0.0

Version: 2.1.0.0
Release Date: 21.09.2024

What’s New:

  1. API Initialization:

    • Introduced a new initialize method in the HTGLoggersAPI class to allow other plugins to utilize logging features.
  2. Log File Creation:

    • Added the createLogFile method for automatic log file creation for specified plugins.
  3. File Logging:

    • Introduced a new logToFile method that allows logging messages to a log file in append mode.
  4. Usage Examples:

    • Included code examples for API initialization and logging messages to files in the documentation.

Fixes:

  1. API Initialization Errors:

    • Improved the initialization mechanism to prevent conflicts and incorrect logging, especially with incompatible plugin versions.
  2. Error Logging:

    • Enhanced error messages for failed log file creation attempts.

Removed:

  1. Old Logging Methods:
    • Deprecated logging methods have been removed to streamline the API and improve readability.

Upcoming:

  • An update to the wiki documentation will be released soon, providing detailed information on the new features and usage guidelines. Wikipedia

Note: Ensure you are using version 2.1.0.0 or higher to take full advantage of the new API and logging features.

Update Code

Spoiler

not required

Changelog for version 2.0.4

Fixed:

  1. API Initialization:

    • Added additional validation during API initialization. HTGLoggersAPI now checks if it has already been initialized and throws an IllegalStateException in case of a reinitialization attempt. Instead of a warning logged in the console, improper reinitialization now results in an exception.
  2. Handling Empty Plugin Names:

    • Fixed an issue where empty or null plugin names could be passed to the createLogFile method. The method now validates the pluginName parameter and logs an error if the name is invalid.

Added:

  1. Enhanced Exception Handling:

    • Implemented detailed exception handling when creating log files. Any errors related to folder or file creation are now logged at the SEVERE level, including the full stack trace.
  2. Expanded Parameter Validation:

    • Added validation for the plugin name in the createLogFile method. The method now checks if the plugin name is neither empty nor null before attempting to create a log file.

Removed:

  1. Unnecessary API Reinitialization Warning:
    • Removed the logic that warned about API reinitialization and replaced it with an exception. This prevents potential errors in the future.

Pom.xml Update

Spoiler

not required

External resources


Project members

tojawg_06302

CEO, HTG Ceo


Technical information

License
MIT
Project ID