name: MaxClearChat
main: org.maxclearchat.ClearChat
version: 1.2
author: MaxGenre
depend: [MaxCore]
commands:
  clearplayerchat:
    description: clear your own chat or certain player chat
    aliases: cpc
  clearchat:
    description: clear all player's chat
    aliases: cc
  maxclearchat:
    description: main command
    aliases: [mcc, max]

permissions:
# -------------------------------------------- #
# Permission Nodes
# -------------------------------------------- #
  MaxClearChat.clearplayerchat: {description: to use the command /clearplayerchat, default: false}
  MaxClearChat.clearchat: {description: to use the command /clearchat, default: false}
  MaxClearChat.maxhelp: {description: to use the command /maxclearchat, default: false}
# -------------------------------------------- #
# Notation permission
# -------------------------------------------- #
  MaxClearChat.admin:
    default: op
    children:
      MaxClearChat.clearplayerchat: true
      MaxClearChat.clearchat: true
      MaxClearChat.maxhelp: true
