SageMC Documentation
  • Home
  • SageMC-Plugins
    • SageMC-ResourcePacks
      • Get started
      • Loading a resourcepack
      • Others
    • SageMC-Warps
      • Basics
      • Viewing warps
      • Private warps
    • SageMC-AudioPlugin
      • Media
      • Selectors
      • Alias
      • Play
      • Stop
      • Speakers
      • Advanced
      • Train Carts
      • Regions
    • SageMC-Worlds
      • Basics
      • Member / trust
      • World flags
    • SageMC-Regions
    • SageMC-Achievements
      • Basics
      • Selectors
      • Regions
      • Traincarts
Powered by GitBook
On this page
  • Player selector
  • Radius selector
  • World selector
  • Region selector
  1. SageMC-Plugins
  2. SageMC-AudioPlugin

Selectors

Selectors are used to specify which client we should play something to. The selector is easy to use for players and team members. They are all detailed below:

Player selector

p:current p:<username>*

* Only accessible to a team member Example(s):

/sageaudiomc play p:current a:rickroll

This will play on the appropriate player performing it.

/sageaudiomc play p:rik123 a:rickroll

This will play on the specified player.

Radius selector

r:<radius>* * Radius in blocks. Example(s):

/sageaudiomc play r:10 a:rickroll

This will play for all players who are in radius of 10 blocks whose command was executed.

World selector

w:current w:<worldname>* * Only accessible to a team member Example(s):

/sageaudiomc play w:current a:rickroll

This will start playing audio to anyone in the world from which this command was executed.

/sageaudiomc play w:world a:rickroll

This will start playing audio to anyone in the world that is specified.

Region selector

rg:<regionname> Example(s):

/sageaudiomc play rg:region1 a:rickroll

This will play audio to anyone who is in the region specified.

PreviousMediaNextAlias

Last updated 2 years ago