uLib - Standalone, Spigot, BungeeCord & Velocity Library icon

uLib - Standalone, Spigot, BungeeCord & Velocity Library -----

A library for standalone applications, BungeeCord, Velocity and Spigot plugins.



This library is designed to ease process of developing standalone applications, BungeeCord, Velocity and Spigot plugins (It's a library; It doesn't do anything on its own).

icon.png

If you encounter any bug/etc. don't hesitate to open an issue over at GitLab.
Don't post errors in the reviews. Create a GitLab Issue or use the discussion thread for that. I will not help with errors posted in the reviews.

Did I do anything really stupid? Contains the library vulnerable code?
Tell me how to do better!
Contributions and constructive citicism are very welcome!

Note the License (and of course its warranty/liability disclaimers).

You can access the javadocs here.

Installation
[!] Requires at least Java 16 to run.
Go to the download page and under the "Artifacts" section, click on your desired environment:
upload_2021-7-26_17-25-24.png

If you are going with the core, download the "lib" file:
upload_2021-7-26_17-26-37.png

For any other variant, download the "plugin" file:
upload_2021-7-26_17-27-10.png

Don't let the version confuse you, the screenshots were taken of the version "2.0.0-BETA-3", but it may be already another version as you download it.

After downloading the plugin, put the respective .jar-file into the plugins folder of your application.

For the core it's usually enough to put it in the same folder as the main application, but it may differ. Please check the installation instructions of the main app.


Warning: uLib does not support being reloaded. Please use a plugin-manager instead of reloading the whole server, or restart the server.

uLib comes in 4 variants: The Core library (for standalone apps), the Spigot-, BungeeCord- and Velocity library (for plugins).

Here's a brief description of some features:
Core
Features that all variants share.
  • Hooking System (code injection inspired by SpongePowered's Mixin)
    Tired of compiling Spigot by yourself to change it's behaviour? Just hook your method into another one and alter its control-flow! An Example can be seen in this project.
  • Dependency Injection
    Load/Inject custom .jar-files into almost any ClassLoader or even into the system class loader!
  • Maven Dependencies
    Resolve maven artifacts from any maven-style repository, download and load them easily.
  • Reflection Util
    Instead of having dozens of lines of reflection code, use the ReflectUtil to do everything within one line:
    Code (Java):
    Object value = ReflectUtil. call (clazz, instance, "myMethod().anotherMethod().field" ) ;
  • SQL Wrappers
    Easy to use sql wrappers.
  • Yaml API
    Handy Yaml API (inspired by Bukkit's YamlConfiguration).
  • Generic Utils
    Some other uncategorized, more generic utils.
Minecraft
Features that the Spigot-, BungeeCord- and Velocity- libraries share.
  • User Cache
    Cache UUIDs with their associated usernames!
  • Proxy-Server-Bridge
    Easy communication/data-transfer between a Spigot-Server and a BungeeCord-/Velocity-Proxy
  • Extended Plugin Classes
    Extended/Enhanced variants of the respective Plugin Classes: E.g. integrated (multi-language) layout.yml (for i.e. messages, etc.) support.
Spigot
Features exclusive to the Spigot library.
  • GUI/Inventory Menus
    Build reliable Inventory based GUIs fast any easy, without dealing with the annoying part.
  • Custom Enchantments
    Add new, custom enchantments with full Enchanting-Table, Villager-Trading and Anvil-Combining support.
  • Item API
    Create custom ItemStacks, and use BananaPuncher714's NBTEditor!
  • Mappings
    Use Mojang's official vanilla obfuscation mappings to use reflective NMS access without having to worry about multi-version compatibility!
BungeeCord
The BungeeCord library does currently not have any exclusive features worth mentioning here.

Velocity
The Velocity library does currently not have any exclusive features.

Don't post errors in the reviews. Create a GitLab Issue or use the discussion thread for that. I will not help with errors posted in the reviews.
Resource Information
Author:
----------
Total Downloads: 961
First Release: Jun 18, 2021
Last Update: Mar 5, 2022
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings