Compatibility
Minecraft: Java Edition
26.2
26.1.x
1.21.x
Platforms
Tags
Creators
Details
Licensed GPL-3.0-only
Published yesterday
Updated 3 weeks ago
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 timeitems()— ItemStack <-> config (YAML/JSON), component-based, full 1.21 item component supportactions()— a small action DSL (message/actionbar/title/sound/console/particle/...) so configs can describe behavior without me writing a switch-case in every plugincommands()— thin command-tree wrapperparticles()— 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...)

