This is a simple API you can include in your projects to automatically check for resource updates.
Usage
To use this system, simply include the SpigotUpdater class in your project and create a new instance
(The .java and .class files are included in the download, or download it from the repository)
this is the instance of your plugin.
1337 is the spigot resource-id of your resource.
That's it! A message will be printed to the console if an update was found, it also includes a link to your resource.
Planned features
Maven
Different versions
Links
Usage
To use this system, simply include the SpigotUpdater class in your project and create a new instance
(The .java and .class files are included in the download, or download it from the repository)
Code (Java):
new SpigotUpdater
(
this,
1337
)
;
this is the instance of your plugin.
1337 is the spigot resource-id of your resource.
That's it! A message will be printed to the console if an update was found, it also includes a link to your resource.
Planned features
- support for Bungeecord and Standalone resources
- automated update check for all installed plugins, based on the author name
- ability to include the resource id in the plugin.yml file
Maven
Code (XML):
<repositories>
<repository>
<id>inventive-repo </id>
<url>http://repo.inventivetalent.org/content/groups/public/ </url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.inventivetalent.update </groupId>
<artifactId>spigot </artifactId>
<version>1.0.1 </version>
</dependency>
</dependencies>
<repository>
<id>inventive-repo </id>
<url>http://repo.inventivetalent.org/content/groups/public/ </url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.inventivetalent.update </groupId>
<artifactId>spigot </artifactId>
<version>1.0.1 </version>
</dependency>
</dependencies>
Different versions
Links
Please leave a rating if you like this resource.
Donations to support me or this resource are also very much appreciated.
Donations to support me or this resource are also very much appreciated.
Quick facts
- Edition: Minecraft Java
- File type: .jar
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
[API] SpigotUpdater is a free Minecraft Java mod. Downloaded 2,342 times (via Spigot). Download it and open it directly in the game.
![[IMG]](http://proxy.spigotmc.org/03b89c2282b33ef720a7e5ca8cfbbb31681bc8b8?url=https%3A%2F%2Fstatic.spigotmc.org%2Fimg%2Fbtn_donate.gif)