Skip to content

Greenadine/PLCommons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PLCommons Plugin Library

PLCommons is a small library that provides common functionality and utilities for Bukkit/Spigot/Paper plugin development for versions 1.8-1.21.

Features

  • Command Framework: A simple and easy-to-use command framework through the use of aikar's Annotation Command Framework.
  • Languages System: Provides a single manager class for managing multiple languages for your plugin through the use of aikar's Locales.
  • Event Callbacks: By using Events.callAnd() you can easily call events and react to their results through a callback interface.
  • Utility Classes:
    • ItemStackFactory: A fluent way of creating ItemStacks.
    • Events: Easy registration of listeners and calling of custom events.
    • Scheduling: A functional way of using Bukkit's scheduler.
    • PluginLogger: For quick-and-easy logging of messages and/or exceptions to the console.
    • DebugLogger: For logging debug messages to the console, with the ability to enable/disable debug mode through the plugin configuration.
    • and more...

Installation

Maven

<repositories>
    <repository>
        <id>greenadine-snapshots</id>
        <url>https://repo.greenadine.dev/snapshots</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>dev.greenadine</groupId>
        <artifactId>plcommons</artifactId>
        <version>0.1.0-SNAPSHOT</version>
    </dependency>
</dependencies>

Gradle

repositories {
    maven { url 'https://repo.greenadine.dev/snapshots' }
}

dependencies {
    implementation 'dev.greenadine:plcommons:0.1.0-SNAPSHOT'
}

License

This project is licensed under the MIT License. This project also references other projects, which are listed here.

About

Commons for my Minecraft plugins.

Resources

License

Stars

Watchers

Forks

Languages