Sueta

NewGoldenHead

023 Beta

A magical golden head with healing and speed effects.

·Plugin
  1. 023 BetalatestNew UpdateJul 30, 2024
    · Added Version Checking Feature: · Implemented a new UpdateChecker class that checks for updates from SpigotMC using its API. · The UpdateChecker asynchronously requests the latest version and compares it with the current plugin version. · Incorporated the UpdateChecker into the onEnable method of the NewGoldenHead main class. · Updated NewGoldenHead Main Class: · Integrated the UpdateChecker to perform an update check during the onEnable method. · Removed redundant log messages about the update status. · Displayed the loading logo along with the update status (up-to-date or outdated). · Updated LoadingLogo Class: · Created a method getLogo(boolean isUpToDate) to display the loading logo with a message indicating whether the plugin is up-to-date or outdated. Detailed Changes: · UpdateChecker Class: · Added a new class to handle version checking using SpigotMC's API. · Implemented methods to asynchronously fetch the latest version and compare it with the current version. · Utilized JSON parsing to read the response from SpigotMC. · Modifications to NewGoldenHead Main Class: · Updated onEnable method to use the UpdateChecker: · Initialized the UpdateChecker with the plugin ID. · Checked for updates and displayed the appropriate message in the console. · Displayed the loading logo with the update status. · Removed redundant logging messages about the plugin being up-to-date. · Modifications to LoadingLogo Class: · Created a method getLogo(boolean isUpToDate) to generate the loading logo with the update status. · Ensured the logo includes a message about whether the plugin is up-to-date or outdated.
    3 downloads
  2. 021 BetaJul 30, 2024
    2 downloads

Similar projects

Plugin →