BukkitVersion
PluginMIT

BukkitVersion

Utilities for Minecraft server version info

402
Downloads
1
Followers
3 years ago
Updated
📦
1
Versions

📖About BukkitVersion

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.