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.
IMinecraftProvider
to SpigotProviderIMinecraftProject
to SpigotProjectIMinecraftVersion
to SpigotVersion- For Spigot
RequiresLocalBuild
is always true, see notes below - For BungeeCord
Version
is 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
IMinecraftDownload
to SpigotDownload- For all groups, no
Hash
is provided - For Spigot the
ReleaseTime
(for older versions?) doesn't seem to be accurate - For Spigot the
Url
is 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.