Spigot provider plugin for MinecraftJar.NET.
Provider for:
- Spigot
- BungeeCoord
The plugin is already bundled with the core library MinecraftJar.NET.
The plugin has a few minor specialities compared to the core interfaces. If required the interface can be casted to it's instantiated classes.
IMinecraftProviderto SpigotProviderIMinecraftProjectto SpigotProjectIMinecraftVersionto SpigotVersion- For Spigot
RequiresLocalBuildis always true, see notes below - For BungeeCord
Versionis the BuildId as BungeeCord isn't based on versions - For Spigot the
ReleaseTime(for older versions?) doesn't seem to be accurate resulting in an unsorted version list
- For Spigot
IMinecraftDownloadto SpigotDownload- For all groups, no
Hashis provided - For Spigot the
ReleaseTime(for older versions?) doesn't seem to be accurate - For Spigot the
Urlis a local built file
- For all groups, no
As Spigot cannot be downloaded it must be build locally. To indicate that a build is required the IVersion.RequiresLocalBuild property is always set to true for Spigot.
When calling IVersion.GetDownload DownloadOptions with BuildJar = true must be supplied to start a local build.
The actual build is fairly time consuming depending on the machine.
Please make sure following tools are installed:
- Git (not required for Windows --> will be downloaded automatically as a portable version)
- Java 17 or higher
For details concerning the build process please find information on the Spigot BuildTools Website as well.
The Url returned in the IDownload object is the local build file in a local temporary directory.
After moving the Jar file to its destination the user/developer is responsible to remove the temporary directory.
