HomeJavaModsSignalsLib
SignalsLib
ModsJava

SignalsLib

by TamKungZ_ · on Modrinth

A tiny Java signal/event library with optional Bukkit/Spigot integration, backed by GEB. Free Minecraft Java mod for 1.16, 1.16.1, 1.16.2.

⬇ Download on Modrinth
SignalsLib — screenshot 1

SignalsLib

SignalsLib is a small Bukkit/Spigot library plugin for writing event-driven Minecraft plugins with a simple signal API backed by GEB.

Download

Usage

Install signals-bukkit-*-all.jar in the server plugins/ folder, then add this to your plugin:

depend: [SignalsLib]
BukkitSignals.shared()
    .playerJoin()
    .connect(event -> event.getPlayer().sendMessage("Hello!"));

Fluent event options are available:

BukkitSignals.shared()
    .playerInteract()
    .high()
    .ignoreCancelled()
    .connect(event -> {
        // handle event
    });

For Developers

SignalsLib bundles GEB without relocation, so you may also use foo.zaaarf.geb.* directly from the same jar.

repositories {
    maven { url = 'https://packages.tamkungz.me/maven/' }
    maven { url = 'https://repo.tamkungz.me' }
}

dependencies {
    compileOnly 'me.tamkungz:signals-bukkit:0.1.0-SNAPSHOT'
}

Requirements

Credits

Built on GEB - Generative Event Bus by zaaarf.

SignalsLib is MIT licensed.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more