main: one.mcauth.mcap.Main
name: MCAP
version: 1.0.6
author: Stopper
description: |
  Whitelist by nicknames and whitelist integration with Discord.
  https://mcauth.one
api-version: 1.16
website: https://mcauth.one

commands:
  mcapdisetup:
    description: Use this command to get Discord integration setup instructions [ADMIN]
    permission: mcap.admin.mcapconfig
  mcaptoken:
    description: Use this command to set MCAuth Token [ADMIN]
    permission: mcap.admin.mcapconfig
    usage: |
      Usage: /mcaptoken [token]
  mcapinvite:
    description: Use this command to set invite to discord server [ADMIN]
    permission: mcap.admin.mcapconfig
    usage: |
      Usage: /mcapinvite [Discord Invite Link]
  mcapdisable:
    description: Toggle polling. [ADMIN]
    permission: mcap.admin.disable
  invite:
    description: Get an invite link to linked Discord Server.
  mcapwl:
    description: Whitelist management.
    permission: mcap.admin.whitelist
    usage: |
      Usage: /mcapwl [add|remove|bulkadd|bulkremove|list|on|off|reload]

permissions:
  mcap.admin.mcapconfig:
    description: Allows usage of /mcapdisetup, /mcaptoken, /mcapinvite
    default: op
  mcap.admin.disable:
    description: Allows usage of /disable
    default: op
  mcap.admin.whitelist:
    description: Allows usage of /mcapwl
    default: op
  mcap.admin.*:
    description: Allows all mcap.admin.*
    default: op
    children:
      mcap.admin.mcapconfig: true
      mcap.admin.disable: true
      mcap.admin.whitelist: true
  mcap.player.*:
    description: Allows all mcap.player
    default: not op
  mcap.*:
    description: Allows all mcap.player and mcap.admin
    default: op
    children:
      mcap.player.*: true
      mcap.admin.*: true