Compatibility
Minecraft: Java Edition
1.20–1.20.4
1.19.x
1.18.x
1.17.x
1.16.x
1.15.x
1.14.x
1.13.x
1.12.x
1.11.x
1.10.x
1.9.x
1.8.x
1.7.x
1.6.4
1.6.1–1.6.2
1.5.x
1.4.4–1.4.7
1.4.2
1.3.x
1.2.x
1.1
1.0
b1.7.3–b1.8.1
Platforms
Links
Creators
Details
Licensed MIT
Published 3 years ago
Updated 3 years ago
Handy utility for dealing with different aspects of Bukkit/Spigot/etc. server version strings.
Use cases & features:
- Extract vanilla Minecraft version strings from server API version
- Allow only a given version or range of versions to execute certain code
- Compare versions with varying granularity
Installation
Download the latest JAR file and add it to your plugins directory.
Documentation
<dependencies>
<dependency>
<groupId>net.ssterling</groupId>
<artifactId>bukkitversion</artifactid>
<version>0.3.1</version>
<scope>compile</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<id>ssterling-repo</id>
<url>https://www.ssterling.net/comp/maven</url>
</repository>
</repositories>
For a thorough explanation of how to use the library itself in your code, refer to the Javadocs.


