The 'stop' command

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

Command Example
/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:
    Command Example
    /oa stop @a
    <>Required
    []Optional
  • Stop a specific media by its ID for the nearest player:
    Command Example
    /oa stop @p my-song
    <>Required
    []Optional

Permissions

openaudiomc.commands.stop

This permission is required to use the /oa stop command

Default access level: op

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