Skip to content

How to use

AlonsoAliaga edited this page Mar 3, 2023 · 1 revision

⚠️ THIS IS FOR DEVELOPERS ONLY! ⚠️

If you are not a developer, or you came here just because another plugin needs it.
Go to releases, download latest version, install it and plugin should work.

How to depend on it?

First of all, you should know this is just a plugin with adventure shaded inside.

Why I made this?

I made this because, even though Paper supports adventure, Spigot doesn't.
I make plugins for Spigot, so if I want to make it compatible with both I need this to make things easier.

Why not shading it inside my plugin?

It would increase the .jar size. Additionally, I'd need to update each plugin when a new version is released.
Doing it like this, I simply need to update AlonsoLib.

How to depend on it?

You add it as any other library, as depend or soft-depend:

depend:       #If AlonsoLib is required to install the plugin.
- AlonsoLib
soft-depend:  #If AlonsoLib is optional and not required to install the plugin.
- AlonsoLib

Usage

Since it's just shaded, usage is the same:


⚠️ Remember package is relocated so you must import correct ones.