MC Plugin Update Notifier

Multi-source update checker library for Minecraft plugins

Chaining and Fallback

Use ChainedUpdateChecker when you want one source as primary and one or more backups.

UpdateSource github = UpdateChecker.builder("PVP-Index", "pvpindex-factions", "1.2.3").build();
UpdateSource modrinth = ModrinthUpdateChecker.builder("pvpindex-factions", "1.2.3")
        .loaders(java.util.List.of("paper"))
        .gameVersions(java.util.List.of("1.21.4"))
        .build();

ChainedUpdateResult chained = ChainedUpdateChecker.builder()
        .primary(github)
        .backup(modrinth)
        .build()
        .checkNow();

Behavior