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.021 BetaJul 30, 2024
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta