π΅Music.json
The Music.json file allows you to configure the in-game music player for your FiveM loading screen.
π Configuration Options
1. Waveform Color
Key:
MusicWaveColor
Type: String (RGBA format)
Default:
"rgba(255, 255, 255, 0.664)"
Description: Specifies the color of the waveform visualizer displayed during music playback.
Example:
"MusicWaveColor": "rgba(255, 255, 255, 0.664)"
2. Playlist
Key:
PlayList
Type: Array of Objects
Description: Contains the details of songs in the playlist. Each object represents a song with the following properties:
πΌ Song Properties
Title:
Key:
title
Type: String
Description: The title of the song.
Example:
"title": "Mortals Funk Remix"
Artist:
Key:
artist
Type: String
Description: The name of the artist.
Example:
"artist": "NCS"
Portrait:
Key:
portrait
Type: String (URL)
Description: URL to the image representing the song.
Example:
"portrait": "https://i.ytimg.com/vi/pytdWKT-NV4/maxresdefault.jpg"
URL:
Key:
url
Type: String (Path or URL)
Description: Path to the audio file or external URL.
Example:
"url": "nui://w_loading/config/Music/MortalsFunkRemix.mp3"
π Example Configuration
Hereβs an example of a complete Music.json
file:
{
"MusicWaveColor": "rgba(255, 255, 255, 0.664)",
"PlayList": [
{
"title": "Mortals Funk Remix",
"artist": "NCS",
"portrait": "https://i.ytimg.com/vi/pytdWKT-NV4/maxresdefault.jpg",
"url": "nui://w_loading/config/Music/MortalsFunkRemix.mp3"
},
{
"title": "Now Or Never",
"artist": "Infraction",
"portrait": "https://i.ytimg.com/vi/H4TMozFXwAo/maxresdefault.jpg",
"url": "nui://w_loading/config/Music/NowOrNever.mp3"
},
{
"title": "Good Vibe",
"artist": "Infraction",
"portrait": "https://i.ytimg.com/vi/SrY7LBvrY4g/maxresdefault.jpg",
"url": "nui://w_loading/config/Music/GoodVibe.mp3"
}
]
}
β οΈ Notes
Ensure all audio file paths are valid and accessible.
Use high-quality audio files to provide the best experience for players.
Customize your playlist to fit your server's theme and set the perfect vibe for your players!
Last updated