Skip to content
The 'stop' command

Audio Playback

The 'stop' command

How to use the stop command to stop audio playback for players.

The stop command is a buck simple command to undo/stop media that was previously started with the play command.

It can be used to stop specific media by its assigned ID, or to stop all currently playing media for the selected players.

Basic usage

/oa stop <selector> [id]
<> required, [] optional

in this case, the 'id' parameter is optional. If you provide an ID, only the media with that specific ID will be stopped. If you omit the ID, all currently playing media for the selected players will be stopped.

Examples

  • Stop all manually played media for all players:
    /oa stop @a
    <> required, [] optional
  • Stop a specific media by its ID for the nearest player:
    /oa stop @p my-song
    <> required, [] optional

Permissions

PermissionWhat it allowsDefault
openaudiomc.commands.stopThis permission is required to use the /oa stop commandop

Javadoc

Generated from the development branch.