Перейти к содержимому
Mineforgian

BukkitVersion

Utilities for Minecraft server version info

Загрузки
451
Подписчики
1
Обновлён
28 ноября 2022 г.
Лицензия
MIT

Опубликован 28 ноября 2022 г.

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.

Ченджлог

0.3.1Бета1.20.2, 1.20.3, 1.20.4 · 28 ноября 2022 г.

Initial Modrinth release.

Комментарии

Загружаем…