Login Music

Quick rating

Login Music

No reviews yet

A simple Minecraft mod that can play music when players join in the world.

QoL & Tweaks
Mod Loaders
Forge
NeoForge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
login_music-1.2.5-neoforge.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

A simple Minecraft mod that can play music when players join in the world.

This mod uses AI to assist in development.

Inspired by TartaricAcid's Net Music !

Milestone Big changes
1.1.0 javafx has given place to com.googlecode.soundlibs:mp3spi, which provides MP3 support now.
1.2.0 the music config has changed to JSON type.
1.2.1 Music can be played directly through the Internet without downloading; lyrics support!
1.2.2 Audio backend loading, Players can receive audio from other players on the server.

The logo comes from here, designed by juicy_fish.

Functions

  • Play music
  • Supported file types: mp3, wav
  • Music Downloading screen
  • Allow download switch
  • Play different musics based on the player's name (uuid)
  • Show lyrics while playing music

File Structure

Destructive changes:

Since mod version 1.2.5, the config file's storage has been changed! If you upgrade from previous version, please move them to the new place!

All music files are stored in the /data/login_music folder.

{version folder}
├── config
│   ├── login_music-music.json      # Specific musics
│   └── login_music-client.toml     # Client config    
│
├── data/login_music        # Store music files
│   ├── MusicsCache
│   │   ├── music_1.mp3
│   │   ├── music_2.wav
│   │   └── ...
│   └── LyricsCache   
│       ├── music_1.lrc
│       ├── music_2.lrc
│       └── ...
└── ...

Configuration

Music Config JSON

Since mod version 1.2.0, the music config has changed to JSON type, just as shown below.

If you enter a server with this mod, the config file on the server has higher priority, which will cover your custom settings.

{
    "musics": [
        {
            "id": "Default",
            "music": "Default.mp3",
            "musicUrl": "https://www.example.com/example.mp3",
            "lyric": "Default.lrc",
            "lyricUrl": "https://www.example.com/example.lrc" 
        }, {
            "id": "Steve",
            "music": "login_music.mp3",
            "musicUrl": "https://www.example.com/login_music.mp3",
            "lyric": "login_music.lrc",
            "lyricUrl": "https://www.example.com/login_music.lrc"
        }
    ]
}

The music will be downloaded if InternetAccess is set true (the default setting is false), otherwise, the music is played through network audio streams, which may cause a short pause when entering a world.

For example, When a player named Steve enters the world, the mod will try to find the music matched the name Steve (in this case it's login_music.mp3 ) in the folder /LoginMusic first. Then try to download it from its related url if it has failed before.

Tips: If there is a file with the same name in the folder, it will skip the download even if the file does not match the URL.

If more entries need to be configured, please follow the JSON's rule.

Since mod version 1.2.4, you can open Login Music Config from the main menu if Cloth Config API has been installed.

Client Side

login_music-client.toml is effective only for the client:

[Lyrics]
    #Whether to show lyrics while playing music
    ShowLyrics = true
    #Defines the position of the lyrics
    #Allowed Values: UP, MIDDLE, DOWN
    LyricsPosition = "DOWN"
    #Defines the color of the lyrics you want to use
    LyricsColor = 16777215

[Music]
    #Range of music play (a non negative integer)
    # Default: 3
    # Range: 0 ~ 100
    range = 3
    #Whether to allow downloading music from the internet
    InternetAccess = false
    #Whether to play musics from other players
    AllowOthersMusic = true

Server Side

login_music-server.toml:

[Selection]
    #Keywords for music selection (name/uuid)
    #Allowed Values: NAME, UUID
    type = "NAME"

Command

All the commands need permission level 2.

Command Function
/loginmusic reload reload config
/loginmusic list show music config available currently
/loginmusic show <targetPlayer> show targetPlayer's music config
/loginmusic play replay your login music

A simple Minecraft mod that can play music when players join in the world.

This mod uses AI to assist in development.

Inspired by TartaricAcid's Net Music !

Milestone Big changes
1.1.0 javafx has given place to com.googlecode.soundlibs:mp3spi, which provides MP3 support now.
1.2.0 the music config has changed to JSON type.
1.2.1 Music can be played directly through the Internet without downloading; lyrics support!
1.2.2 Audio backend loading, Players can receive audio from other players on the server.

The logo comes from here, designed by juicy_fish.

Functions

  • Play music
  • Supported file types: mp3, wav
  • Music Downloading screen
  • Allow download switch
  • Play different musics based on the player's name (uuid)
  • Show lyrics while playing music

File Structure

Destructive changes:

Since mod version 1.2.5, the config file's storage has been changed! If you upgrade from previous version, please move them to the new place!

All music files are stored in the /data/login_music folder.

{version folder}
├── config
│   ├── login_music-music.json      # Specific musics
│   └── login_music-client.toml     # Client config    
│
├── data/login_music        # Store music files
│   ├── MusicsCache
│   │   ├── music_1.mp3
│   │   ├── music_2.wav
│   │   └── ...
│   └── LyricsCache   
│       ├── music_1.lrc
│       ├── music_2.lrc
│       └── ...
└── ...

Configuration

Music Config JSON

Since mod version 1.2.0, the music config has changed to JSON type, just as shown below.

If you enter a server with this mod, the config file on the server has higher priority, which will cover your custom settings.

{
    "musics": [
        {
            "id": "Default",
            "music": "Default.mp3",
            "musicUrl": "https://www.example.com/example.mp3",
            "lyric": "Default.lrc",
            "lyricUrl": "https://www.example.com/example.lrc" 
        }, {
            "id": "Steve",
            "music": "login_music.mp3",
            "musicUrl": "https://www.example.com/login_music.mp3",
            "lyric": "login_music.lrc",
            "lyricUrl": "https://www.example.com/login_music.lrc"
        }
    ]
}

The music will be downloaded if InternetAccess is set true (the default setting is false), otherwise, the music is played through network audio streams, which may cause a short pause when entering a world.

For example, When a player named Steve enters the world, the mod will try to find the music matched the name Steve (in this case it's login_music.mp3 ) in the folder /LoginMusic first. Then try to download it from its related url if it has failed before.

Tips: If there is a file with the same name in the folder, it will skip the download even if the file does not match the URL.

If more entries need to be configured, please follow the JSON's rule.

Since mod version 1.2.4, you can open Login Music Config from the main menu if Cloth Config API has been installed.

Client Side

login_music-client.toml is effective only for the client:

[Lyrics]
    #Whether to show lyrics while playing music
    ShowLyrics = true
    #Defines the position of the lyrics
    #Allowed Values: UP, MIDDLE, DOWN
    LyricsPosition = "DOWN"
    #Defines the color of the lyrics you want to use
    LyricsColor = 16777215

[Music]
    #Range of music play (a non negative integer)
    # Default: 3
    # Range: 0 ~ 100
    range = 3
    #Whether to allow downloading music from the internet
    InternetAccess = false
    #Whether to play musics from other players
    AllowOthersMusic = true

Server Side

login_music-server.toml:

[Selection]
    #Keywords for music selection (name/uuid)
    #Allowed Values: NAME, UUID
    type = "NAME"

Command

All the commands need permission level 2.

Command Function
/loginmusic reload reload config
/loginmusic list show music config available currently
/loginmusic show <targetPlayer> show targetPlayer's music config
/loginmusic play replay your login music

Screenshots

Gallery

  • Config Button
    Config Button The Config Button will be displayed on the main menu after Cloth Config API has been installed.
  • Download Screen
    Download Screen Download Screen
  • Music Config screen
    Music Config screen You can add, update or delete your music config by a visual interface.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Total Downloads
CurseForge
<1,000
Modrinth
<1,000
Last Updated
CurseForge
Modrinth
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works