SparkyAPI
A library mod for all SparkyNox Upcoming & already builded Mods
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
How to Install SparkyAPI on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).
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
Minecraft Versions
1.21.11, 1.21.10, 1.21.9 (+5 more)
Server-side
✗ UnsupportedRecommended 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.
Similar Mods
Rent Modded Server
Install SparkyAPI with just one click on your server.