RedLib icon

RedLib -----

A powerful, well-documented, and open-source library to make Spigot plugin development easier



RedLib is my free and open-source library which offers a wide range of tools for Spigot plugin development. Included is an advanced command manager which makes writing commands a breeze, a config manager which makes loading and saving config values easier than ever, an inventory GUI API, item builder, a multi-block structure library, a region and region protection library, configurable messages helper, SQL helper, inline event listener, custom enchantments and custom blocks library, NMS helper, and much more!

Support Discord: https://discord.gg/agu5xGy2YZ

Wiki for developers: https://github.com/Redempt/RedLib/wiki

Javadocs: https://redempt.dev/javadoc/com/github/Redempt/RedLib/index.html

RedLib is designed to have virtually nothing interactive in-game. Unless developer mode is enabled, the plugin does nothing on its own. With developer mode enabled, it offers a few in-game tools to help you develop with it. This library is not designed for players or admins, it is designed for developers and only developers. As a result, it's designed with ease of use in mind, and all of its tools are designed to be as straightforward as possible without sacrificing power.

RedLib's command manager is by far its most useful tool, offering a unique approach not seen in other command libraries. When writing commands, much of the code you write could essentially be metadata about the command: Names, help messages, permission checks, sender checks (console/player), argument sanity checks (null, order), argument casting. RedLib's command manager takes all of these out of your code and has you write a simple command file which plainly describes your commands and subcommands in an easy-to-read and easy-to-write format, and handles almost everything for you. It hooks directly into methods in your code based on annotations, ensures arguments are passed properly, casts them to the types you need, supports tab completion for any type of argument, and allows for optional arguments and default values for them - and all you have to do is instantiate a CommandParser, then have it parse and register your commands.

Additionally, RedLib has a config manager which loads config values directly into variables in your code, including config sections. All you have to do is annotate your fields, then instantiate a ConfigManager and call register and load, and the config values will be loaded into your variables.

Please do not hesitate to contact me to ask for help with using RedLib, or just to let me know if you like it or think it could use improvement!

Discord: Redempt#0001
Resource Information
Author:
----------
Total Downloads: 11,210
First Release: May 12, 2020
Last Update: Sep 25, 2022
Category: ---------------
All-Time Rating:
21 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings