main: me.tajam.jext.Jext
name: JukeboxExtended
author: Tajam
version: 1.2.0
api-version: 1.14
depend: [ProtocolLib]

commands:
  disc:
    description: Get the specified custom music disc.
    permission: jext.disc
    usage: /disc [name]
  discgive:
    description: Give the specified custom music disc to player(s).
    permission: jext.disc.give
    usage: /discgive [selector] [name]
  playmusic:
    description: Play specified custom music to selected player(s).
    permission: jext.playmusic
    usage: /playmusic [selector] [name] <pitch> <volume>
  playat:
    description: Play specified custom music to selected player(s).
    permission: jext.playat
    usage: /playat [X] [Y] [Z] <pitch> <volume>
  stopmusic:
    description: Stop specified custom music or all custom music for selected player(s). 
    permission: jext.stopmusic
    usage: /stopmusic [selector] <name>

permissions:
  jext.*:
    description: Gives access to all Jukebox Extended commands.
    children:
      jext.disc: true
      jext.disc.give: true
      jext.playmusic: true
      jext.playat: true
      jext.stopmusic: true
  jext.disc:
    description: Allow player to access all custom disc.
    default: op
  jext.disc.give:
    description: Allow player to give others custom disc.
    default: op
  jext.playmusic:
    description: Allow player to play custom music to players.
    default: op
  jext.playat:
    description: Allow player to play custom music to a location.
    default: op
  jext.stopmusic:
    description: Allow player to stop custom music.
    default: op