# The Toaster will take over minecraft as we know it today ;)
name: Toaster
prefix: Toaster
description: Toast everythin' | the Toaster made real in minecraft!

# thats me :>
author: FlailoftheLord
website: https://www.github.com/FlailoftheLord

# plugin depends on vault Economy for some features to work, 
# it can optionally work without vault.
# so add it as a soft-depend
main: me.flail.Toaster.Toaster
version: 1.6.6
api-version: 1.14
softdepend: [Vault]

commands:

  toaster:
    usage: /toaster [reload]
    description: main toaster command
    aliases: [cook, smelt, oven, roast]
    
    
permissions:

  # this basically gives you access to everything, its a very dangerous permission. >:)
  toaster.op:
    description: permission for everything
    default: false
    children:
      toaster.cook: true
      toaster.smelt: true
      toaster.oven: true
      toaster.roast: true
      toaster.toast: true
      toaster.reload: true 
      toaster.friend: true    
      # allows you to bypass the money spending limit in the config.yml 
      toaster.bypasslimits: true
      toaster.bypasscost: true
      toaster.item.all: true
      
  toaster.cook:
    description: permission to use /cook
    default: true
    
  toaster.smelt:
    description: permission to use /smelt
    default: op
    
  toaster.oven:
    description: permission to use the oven gui (/oven)
    default: op
    
  toaster.reload:
    description: permission to do /toaster reload
    default: op
    
  toaster.roast:
    description: permission to do /roast
    default: false
    
  toaster.toast:
    description: permission to do /toast
    default: false
    
  toaster.friend:
    description: permission to cook friends
    default: op
    children:
      # permission to cook players with /cook [player]
      toaster.friend.cook: true
      # Permission to bypass the timer on how often you can cook players.
      toaster.friend.bypasscooldown: true
      
  toaster.command:
    description: is necessary to use /toaster reload
    default: true
    
  toaster.item.all:
    description: gives access to smelt & cook practically everything!
    default: false
    children:
      toaster.item.*: true
    
    
    
    
    