This article is outdated! please update to the latest OpenAudioMc version and visit the docs on our new website This article is outdated! please update to the latest OpenAudioMc version and visit the docs on our new website
Using the Alias command to make shortcuts for media
This article is outdated! please update to the latest OpenAudioMc version and visit the docs on our new website This article is outdated! please update to the latest OpenAudioMc version and visit the docs on our new website
Source URL’S can get pretty long and may need replacement. Luckily, you can shorten them into aliases. This is like a shortcut for any given source.
To start, you need to define an alias, for this example, we’ll make a sound called test
/openaudio alias test https://craftmend.com/mysound.mp3`
This means that every time we write a:test, we actually mean https://craftmend.com/mysound.mp3 . You can use this alias as a source everywhere, regions, speakers, traincarts signs, play commands, you name it. Such an example play command is
/openaudio play @a a:test