Lib

View our lib's plugin documentation.

This is a lightweight and easy to use library for fast plugin creation. I created this merely as a base for all my plugins, without the need to manually copy classes many times throughout each project.

Features

  • An easy-to-use annotation-based command system with customisable locale.

  • An intuitive item builder for quick and easy itemstack creation (with NBT support).

  • An inventory builder with ability to bind actions per item for further customisation.

  • An advanced action manager for binding commands to configuration prefixes.

  • An exception driven api for informative and detailed errors that server owners can understand.

Using the Library

You'll need to add the Jitpack repository if you already haven't.

		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>

Once you've done this, you'll need to add the dependency.

	<dependency>
	    <groupId>com.github.CodeItForYou</groupId>
	    <artifactId>Lib</artifactId>
	    <version>master-SNAPSHOT</version>
	</dependency>

API Exceptions

Often times when server owners receive errors in their console, they don't actually understand what they've done wrong. Our library provides user friendly exceptions that provide detail to the end user, we've listed every exception that can be thrown.

  • InvalidMaterialException

  • InvalidEnchantException

  • InvalidFlagException

  • InvalidInventoryException

  • InvalidLocationException

Last updated