Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 847 Bytes

File metadata and controls

21 lines (15 loc) · 847 Bytes

MessageLib

A library to easily handle modern messages in Paper plugins.

Basic Usage

The basic classes for this library are ComponentSingleMessage and ComponentListMessage.

These classes are immutable, just like Adventure's Component class. All methods should be self-explanatory.

Gradle (Kotlin)

To use this library, you need to shade it into your plugin using Gradle and the Shadow plugin.

repositories {
    maven("https://repo.codemc.io/repository/FireML/")
}

dependencies {
    compileOnly("uk.firedev:MessageLib:1.0.8") // This may not be the latest version.
}