Setting up media aliases/shortcuts
All media commands require media sources in one way or another. This can pose various changes
To solve this, OpenAudioMc has a feature called aliases. Aliases are short names that can be used to refer to a media source. For example, you can create an alias called myMusic
that points to https://soundcloud.com/creide13/a-kings-request-cutscene
. You can then use a:myMusic
in your commands to refer to the source.
To create an alias, use the /openaudiomc alias <alias> <source>
command. For example, to create the alias myMusic
that points to https://soundcloud.com/creide13/a-kings-request-cutscene
, you would use /openaudiomc alias myMusic https://soundcloud.com/creide13/a-kings-request-cutscene
.
You can then use this alias in your commands. For example, to play the song, you would use /openaudiomc play @a a:myMusic
.
You can simply re-define an alias using the command again, which will overwrite the previous source. Updated sources won't apply for regions/speakers that are already playing the old source, unless players leave their proximity and re-enter again.