name: ChatMath
description: Figure out a mathematical task and get a reward!
version: 3.3.1
author: Keter

main: net.KeterDev.ChatMath.Main

commands:
  chatmath:
    aliases: [cm]
    usage: /chatmath
    description: Print out list of commands

permissions:
    chatmath.*:
      description: Gives player all ChatMath's permissions.
      children:
        chatmath.help: true
        chatmath.answer.*: true
        chatmath.getanswer.*: true
        chatmath.startnew.*: true
        chatmath.bypassratelimits.*: true
        chatmath.reload: true
      
    chatmath.help:
      description: Prints out all commands
      default: true
      
    chatmath.answer.*:
      description: Allows player to answer on any challenge/get answer for any challenge.
      children: 
        chatmath.answer.solveexpression: true
        chatmath.answer.guessthenumber: true
        
    chatmath.answer.solveexpression:
        ChatMath.answer.SolveExpression: true
        ChatMath.answer.GuessTheNumber: true
    ChatMath.answer.SolveExpression:
      description: Allows player to answer on SolveExpression challenge.
        
    chatmath.answer.guesstheNumber:
      description: Allows player to answer on GuessTheNumber challenge.
      
    chatmath.getanswer.*:
      description: Allows player to get answer for any challenge.
      children:
        chatmath.getanswer.solveexpression: true
        chatmath.getanswer.guessthenumber: true
        
    chatmath.getanswer.solveexpression:
        ChatMath.getAnswer.SolveExpression: true
        ChatMath.getAnswer.GuessTheNumber: true
    ChatMath.getAnswer.SolveExpression:
      description: Allows player to get an answer for SolveExpression challenge.
        
    chatmath.getanswer.guessthenumber:
      description: Allows player to get an answer for GuessTheNumber challenge.
      
    chatmath.startnew.*:
      description: Allows player to start any (or random) challenge.
      children:
        chatmath.startnew.solveexpression: true
        chatmath.startnew.guessthenumber: true
        
    chatMath.startnew.solveexpression:
      description: Allows player to start SolveExpression challenge.
      
    chatmath.startnew.guessthenumber:
      description: Allows player to start GuessTheNumber challenge.
        
    chatmath.bypassratelimits:
      description: ALlows player to bypass rate limits for SolveExpression.
    
    chatmath.reload:
    ChatMath.getAnswer.GuessTheNumber:
      description: Allows player to get an answer for GuessTheNumber challenge.
      
    ChatMath.startNew.*:
      description: Allows player to start any (or random) challenge.
      children:
        ChatMath.startNew.SolveExpression: true
        ChatMath.startNew.GuessTheNumber: true
        
    ChatMath.startNew.SolverExpression:
      description: Allows player to start SolveExpression challenge.
    ChatMath.startNew.GuessTheNumber:
      description: Allows player to start GuessTheNumber challenge.
      
    ChatMath.reload:
      description: Allows player to reload plugin.
      