Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SupportedVersions = []Version{
&paperMcVersion{"1.20.6", 147},
&paperMcVersion{"1.17.1", 399},
&paperMcVersion{"1.16.5", 792},
}
SupportedVersions slice of all the supported Minecraft versions. To be supported, two things must be true:
- We must have a JAR build of `bukkit-runtime` for that version
- There must be a PaperMC build in that Minecraft version
Functions ¶
This section is empty.
Types ¶
type Version ¶
type Version interface { String() string ApiVersion() string ServerJarType() string ServerJarUrl() string }
func FindVersion ¶
FindVersion finds a supported version with the given version string
func LatestVersion ¶
func LatestVersion() Version
LatestVersion gets the latest Minecraft version available
Click to show internal directories.
Click to hide internal directories.