SparkyAPI

A library mod for all SparkyNox Upcoming & already builded Mods

by
4 Downloads
fabriclibraryutility
Rent Server with this Mod

About this Mod

SparkyAPI

A lightweight client-side library for SparkNox mods. SparkyAPI doesn't add features on its own — it provides the shared backbone (config handling, event hooks, HUD rendering, keybind management, and utility functions) that other SparkNox mods like ZoroCrystal build on top of.

If you've ever used Fabric API, Cloth Config, or PlaceholderAPI, you already get the idea — install it once, and every mod that depends on it just works.

What's inside:

  • Config system — saves and loads JSON configs to .minecraft/config/sparky/, with sane defaults if a file doesn't exist yet.
  • Event bus — shared tick events (PLAYER_TICK, CLIENT_TICK) so dependent mods don't each register their own listeners.
  • HUD helper — register persistent on-screen text lines, draw boxes, outlined panels, and shadowed text without boilerplate.
  • Keybind manager — register keybinds with a single call and handle press logic automatically.
  • Utility belt — common helpers like finding items in your hotbar/inventory, checking ping, distance calculations, and more.

SparkyAPI is built for Fabric 1.21.4, is client-side only, and has no gameplay impact by itself. It exists purely to keep dependent mods lighter, more consistent, and easier to maintain.

If a mod tells you it needs SparkyAPI, this is the one to grab. 🔧

Available Versions

SparkyAPI 1.0.0beta
MC 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11fabric
June 30, 2026

How to Install SparkyAPI on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).

3

Install Mod

Open the mod browser in the dashboard and search for "SparkyAPI". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.21.11, 1.21.10, 1.21.9 (+5 more)

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

SparkyAPI server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.

Is SparkyAPI compatible with fabric?

SparkyAPI officially supports fabric for Minecraft 1.21.11, 1.21.10, 1.21.9. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with SparkyAPI – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if SparkyAPI consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install SparkyAPI with just one click on your server.

Recommended RAM
4 GBfrom €8/mo
Minimum 3 GB | per 8 players
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Unsupported

Supported Versions

1.21.111.21.101.21.91.21.81.21.71.21.61.21.51.21.4