name: SimpleCommands
version: 1.0
main: me.thenesko.simplecommands.Main
author: The_Nesko
description: Plugin that makes an owners life easier!

commands:
     sc:
         usage: /<command>
         description: Displays help page for plugin!
     gm:
         usage: /<command>
         description: Changes gamemode of player ! 
     day:
         usage: /<command>
         description: Changes time to day!   
     night:
         usage: /<command>
         description: Changes time to night!   
     dawn:
         usage: /<command>
         description: Changes time to dawn!             
     dusk:
         usage: /<command>
         description: Changes time to dusk!      
     sun:
         usage: /<command>
         description: Sets weather to sun!          
     rain:
         usage: /<command>
         description: Sets weather to rain!
     storm:
         usage: /<command>
         description: Sets weather to storm!                                                      
     tpa:
         usage: /<command>
         description: Request tp to a player!          
     tpaccept:
         usage: /<command>
         description: Accepts a tp from player!   
     tpdeny:
         usage: /<command>
         description: Refuses a tp from player!  
     tpahere:
         usage: /<command>
         description: Request player to be tp to your location!        
     tptoggle:
         usage: /<command>
         description: Enables or disables a tp!   

permissions:
    scommands.*:
       description: Use all commands form SimpleCommands plugin.
       children:
           scommands.gm: true
           scommands.time: true
           scommands.weather: true
           scommands.tpa: true
       default: op
    scommands.gm.*:
        description: Gives permission to change gamemode.
        children:
           scommands.gm.selfonly: true
        default: op
    scommands.gm.selfonly:
        description: Gives permission to change gamemode.
        default: op   
    scommands.time.*:
        description: Allows player to change time.
        children:
           scommands.time.day: true
           scommands.time.night: true
           scommands.time.dawn: true
           scommands.time.dusk: true
        default: op  
    scommands.time.day:
        description: Allows player to change time.
        default: op 
    scommands.time.night:
        description: Allows player to change time.
        default: op                                         
    scommands.time.dawn:
        description: Allows player to change time.
        default: op     
    scommands.time.dusk:
        description: Allows player to change time.
        default: op 
    scommands.weather.*:
        description: Allows player to change weather.
        children:
           scommands.weather.sun: true
           scommands.weather.rain: true
           scommands.weather.storm: true
        default: op     
    scommands.weather.sun:
        description: Allows player to change weather.
        default: op     
    scommands.weather.rain:
        description: Allows player to change weather.
        default: op     
    scommands.weather.storm:
        description: Allows player to change weather.
        default: op     
    scommands.tpa.*:
        description: Allows player to use tp commands.
        children:
           scommands.tpa.tpa: true
           scommands.tpa.tptoggle: true
        default: op        
    scommands.tpa.tpa:
        description: Allows player to use tp commands.
        default: true            
    scommands.tpa.tptoggle:
        description: Allows player to use tp commands.
        default: op        