Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Updater

License Maven Central Sonatype Nexus (Snapshots)

Java Updater for bukkit and Bungeecord plugins

Setup

updater is published on Maven Central

<repositories>
    <!-- for stable release -->
    <repository>
        <id>maven-central</id>
        <url>https://repo1.maven.org/maven2/</url>
    </repository>
    <!-- for development builds -->
    <repository>
       <id>sonatype-oss</id>
       <url>https://oss.sonatype.org/content/repositories/snapshots/</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>com.github.hexocraft</groupId>
        <artifactId>updater</artifactId>
    </dependency>
    <!-- For Bukkit plugin -->
    <dependency>
        <groupId>com.github.hexocraft</groupId>
        <artifactId>updater-bukkit</artifactId>
    </dependency>
    <!-- For Bungeecord plugin -->
    <dependency>
        <groupId>com.github.hexocraft</groupId>
        <artifactId>updater-bungee</artifactId>
    </dependency>
</dependencies>

How to use

Find update on Bukkit:

BukkitUpdater updater = new BukkitUpdater(plugin, new BukkitChannel("project_id")).run();

Find update on Spigot:

(Free plugin only)

BukkitUpdater updater = new BukkitUpdater(plugin, new SpigotChannel("resource_id")).run();

Find update on GitHub:

(Free plugin only)

BukkitUpdater updater = new BukkitUpdater(plugin, new GithubChannel("repository")).run();

About

Java Updater for bukkit and Bungeecord plugins

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages