Fluid API icon

Fluid API -----

A Spigot API designed to make plugin development a breeze



logo_large.png

NOTICE: THIS API IS CURRENTLY GOING THROUGH A MAJOR REWRITE :)

Ever found yourself repeating the same lines of code over and over when using the Bukkit/Spigot API? Well, that's where Fluid comes in. The Fluid API is a handy tool for plugin developers that provides a substantial amount of utilities to help complete certain tasks. Copy and paste schematics? Create custom loot tables? It's all here!


Here is just a peek of some of the features:
- Custom loot tables - add weights, vanish chances, minimum counts, and maximum counts to items!
- Schematics - copy and paste large areas in a world including its blocks, inventories, and entities, without any lag!
- Recipes - fluently create custom shaped/shapeless recipes!
- Easy item creation - create custom items in a breeze. Add a display name, lores, item flags, and more in one handy method!
- Messages - easily send messages to the console or players with a custom chat prefix and colour code support!
- Groups - a reimagined version of the scoreboard system, helping you easily create teams with rules!
- Better listeners - a redesigned system for listening and responding to events!
- Better commands - an overhauled system for creating new commands, with tab completion!
- Custom GUIs - an easy way to create your own guis with custom triggers and actions!

- Boss bars - create new animated boss bars with ease!
- Custom heads - get custom player heads from their Minecraft username, along with a set display name and lore!
- Nicer tasks - a much simpler way of creating delayed or repeating tasks, along with some other handy utilities!

- Custom configs - an easier system for creating custom configuration files!
- Item glow - add the enchantment glow to an item without the enchantment itself!
- Useful Java utilities - generate, round, and clamp numbers + more!

Documentation is currently WIP but you can access it here.


If you're interested in using this API, you can simply paste the maven dependency directly into your pom.xml, no need to add it to your plugins folder! Just make sure you package the dependency with the final jar file.

Code (Java):

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

<dependency >
    <groupId >com. github. DefineDoddy </groupId >
    <artifactId >fluid -api </artifactId >
    <version >VERSION </version >
</dependency >
 
Alternatively, you can download the jar directly from this page, and use it how you wish. If you do decide to fork the project or release a modified version of the API, please credit me, along with a link to this page, where possible.

Frequently asked questions:
A: What does the API help with?
Q: Basically everything! Most things that developers find tedious to do over and over with the Bukkit/Spigot API, is handled directly in Fluid.

Q: Pre-release? What can I expect to change?
A: The project is marked as pre-release because major changes could occur to the file structure of the API. For example, some methods could be moved from one class to another, breaking a project's imports.

Q: What Minecraft version is this made for?
A: Currently, this API has only been tested for 1.17.x.

Q: When do you plan on releasing v1.0.0?
A: When it's ready! Currently, I don't have a set timeline for version releases but once I feel like all of the foundation is set and no major rework needs to be done, I'll release v1.0.0.

Additional notes:
If you spot any bugs, please submit a report on the Github page (link at the top of the page).

If you have any questions, please feel free to join the discord server.
Resource Information
Author:
----------
Total Downloads: 632
First Release: Aug 4, 2021
Last Update: Sep 29, 2021
Category: ---------------
All-Time Rating:
2 ratings
Find more info at definedoddy.gitbook.io...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings