
Get Current Song
Simple Minecraft mod to allow you to view the currently playing song
About this Mod
Get Current Song
This is a simple FabricMC mod that allows you to get the currently playing song in Minecraft via a command. You can download the latest version on Modrinth.
Commands
This mod adds two commands to the game:
/getsong— Gets information about the currently playing song, such as the name and composer./getsongid— Gets the namespaced ID of the currently playing song.
However, instead of using these commands, you can see the same information on the F3 screen.
API
This mod provides a resource-based method of getting information about the songs in Minecraft, such as name, composer, album, and track number.
Resource pack developers
If your resource pack adds custom music to the game, consider adding your song(s) to the getcurrentsong/song_names.json file in your resource pack. This JSON file has one root object, with keys being the song IDs and values being an object whose form is described below:
{
"name": "song name (string, required)",
"composer": "composer's name (string, required)",
"soundtrack": "album name (string, optional)",
"trackNumber": "track number in album (integer, optional)"
}
If the soundtrack is specified, the track number must also be specified, and vice-versa.
Mod develepers
To include this mod's API with Gradle, add the following to your build.gradle (code adapted from the Modrinth Maven docs):
repositories {
// Other Maven repositories can go above (or below) Modrinth's. We don't need priority :)
// Do remember, though, this is the `repositories` block below where plugins are declared, not in `pluginManagement`!
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
content {
includeGroup "maven.modrinth"
}
}
}
dependencies {
modApi "maven.modrinth:getcurrentsong:1.0.1"
}
Once you have added the API to your build.gradle, you can load song information from resource packs using the following API (the SongNameDatabase class is in the io.github.gaming32.getcurrentsong package):
SongNameDatabase#isInitialized— Returntrueif the song info is currently in a loaded state. Attempting to read from the database when this returnsfalsemay not return correct data. You have been warned!SongNameDatabase#getSong— Gets the current song by name ornet.minecraft.util.Identifierand returns aSongNameDatabase.SongInfoobject ornullif the song wasn't found in the database.
Available Versions
How to Install Get Current Song 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.18.2).
Install Mod
Open the mod browser in the dashboard and search for "Get Current Song". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.18.2, 1.18.1, 1.18
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Get Current Song 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.18.2). You can switch loaders with one click in the panel.
Is Get Current Song compatible with fabric?
Get Current Song officially supports fabric for Minecraft 1.18.2, 1.18.1, 1.18. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Get Current Song – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Get Current Song 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 Get Current Song with just one click on your server.