Music player
Songs go in plugins/mcScreens/music/ as .ogg (mp3, wav and flac too with ffmpeg), with a cover image of the same name (my_song.png, .jpg or an animated .gif). /screens reload puts them in the pack and in music.yml, where you set the title, artist and playlists. Example songs and a lobby playlist are included.
While music plays, a small player shows the cover, title and artist, the time and a progress bar. /music opens the music menu with every song and playlist, shuffle, repeat and the controls.
- Keys: sneak + F = play or pause, sneak + scroll = next or previous. Players can turn them off in
/settings. - Lobby music:
music.join-playlist(withjoin-lock), or per world withmusic.worlds. Triggers can usemusic:<id>,music:<id>:lockormusic:stop. - Music is remembered when a player leaves and continues when they come back (
music.remember). It pauses during cutscenes and screens (music.pause-during). - Pause and play: Minecraft cannot start a sound in the middle, so with ffmpeg each song is cut into short pieces when the pack builds (
music.resume). Without ffmpeg, play after pause starts the song again. Players with the free Companion mod get exact pause, resume and seeking.
/music play lobby
/music force all lobby lock
/music unlock Steve
/music next Steve