VazkiiModsArchive / Ambience

Your music in minecraft
25 stars 49 forks source link

Ambience Plugin? #23

Open Namnodorel opened 7 years ago

Namnodorel commented 7 years ago

How about some plugin for Ambience? Here are some things you could do with it:

  1. Provide the songs/config server-side, similar to a resourcepack. When a client with Ambience joins, it will send a request to the server, telling it that this is a client with ambience installed. the server can then send an "Ambience-pack" to the client, which displays a popup asking the player if they want to use the provided pack. If the player accepts, it is downloaded and applied (for this server only). The files provided by the server need to fit a specific format (like only mp3) to avoid abuse by the serverowner.

  2. This doesn't work if the player doesn't use the provided Ambience-pack. The server can define its own "events" on which a song would play. These eventnames are defined in the config that is sent to the client (only the names, not when they should actually play) and then the server can, if event X occours, send the eventname that occoured to the client which plays an according song.