▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА

LLib

Minecraft library to versions 1.21 - 26.2

Оцените первым
58
0

LLib

Shared library for my LastStudio plugins (LastMines, LastItems and others). I got tired of copy-pasting the same messages/items/actions/commands code into every plugin, so I pulled it all out here once and now everything just depends on this.

What's inside

  • messages() — colors/placeholders, understands legacy &, hex, MiniMessage (<gradient> and friends) and GSON at the same time
  • items() — ItemStack <-> config (YAML/JSON), component-based, full 1.21 item component support
  • actions() — a small action DSL (message/actionbar/title/sound/console/particle/...) so configs can describe behavior without me writing a switch-case in every plugin
  • commands() — thin command-tree wrapper
  • particles() — packet-based particle shapes (circle/ring/sphere/line/helix)
  • locale() / version() — translations and MC version checks

Entry point: LLibAPI.get().

Requirements

Java 21, Paper 1.21–1.26.2 (self-disables outside that range).

Using it in another plugin

Gradle Kotlin:

build.gradle.kts:

repositories {
    maven("https://repo.laststudio.space/repository/")
}

dependencies {
    compileOnly("dev.laststudio.lib:LLib:0.1")
}

Maven

pom.xml:

<repositories>
    <repository>
        <id>laststudio-repo</id>
        <url>https://repo.laststudio.space/repository/</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>dev.laststudio.lib</groupId>
        <artifactId>LLib</artifactId>
        <version>0.1</version>
        <scope>provided</scope>
    </dependency>
</dependencies>

plugin.yml:

depend: [ LLib ]

Wiki

Wiki site - https://wiki.laststudio.space/llib (soon...)

Партнёрский материал

Сервер для плагина LLib - как у профи

Плагин LLib создан для серверов: на своём сервере вы настраиваете его под себя и решаете, кому играть. Создать сервер с плагином LLib для друзей можно за пару минут - BungeeHost всё уже подготовил.

Часто задаваемые вопросы

Совместимость

Minecraft: Java Edition

26.2.x26.1.x1.21.x

Платформы

Поддерживаемые окружения

Сервер

Ссылки

Детали

Лицензия:
Опубликован:2 месяца назад
Обновлён:1 месяц назад
Главная