promotional bannermobile promotional banner

HTGLoggers (Public API)

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

File Details

HTGLoggers-2.1.0.0-release.jar

  • R
  • Sep 22, 2024
  • 19.29 KB
  • 12
  • 1.20.6+6

File Name

HTGLoggers-2.1.0.0-release.jar

Supported Versions

  • 1.20.6
  • 1.20.5
  • 1.20.4
  • 1.20.3
  • 1.20.2
  • 1.20.1
  • 1.20

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.