The Play Command

How to use the '/openaudio play' command.

What is the play command

The Play sub command (/openaudiomc play) is used to manually fire a sound of effect for all players that match your selector. Please see the Selectors page for more information on how to use selectors.

Playing a sound without extra options

To play a sound without any extra options, simply enter the desired selector and the sound source (which you can find on the Media page) into the command. For this example, I want to play a sound form SoundCloud to everyone in the server

/openaudiomc play @a https://soundcloud.com/creide13/a-kings-request-cutscene

Playing a sound with extra options

To play a sound with extra options, simply add the options to the command at the end, this must be in JSON format without any spaces. You can find a list of all options on the Media page.

For this example, I want to play a sound form SoundCloud to everyone in the server, but I want to change the volume to 50% and I want it to loop.

/openaudiomc play @a https://soundcloud.com/creide13/a-kings-request-cutscene {volume:50,loop:true}

Permissions

openaudiomc.commands.play

This permission is required to use the /oa play command

Default access level: op

Javadoc related to this feature (currently based on the dev branch)