name: WeatherRestrictions
main: com.tux2mc.weatherrestrictions.WeatherRestrictions
version: 3.1
description: Configurable semi-random weather
api-version: 1.13
author: Tux2
commands:
   rain:
      description: Makes it rain in the current world (if enabled).
      usage: |
       /rain <world>
   rainclear:
      description: Stops all weather in the current world.
      usage: |
       /rainclear <world>
   clearrain:
      description: Stops all weather in the current world.
      usage: |
       /clearrain <world>
   thunder:
      description: Starts a lightning storm (independent of weather, and if enabled).
      usage: |
       /thunder <world>
   weatherstats:
      description: Gives you information on the current storm status in all worlds.
      usage: |
       /weatherstats
   lightning:
      description: Strikes a random location within 20 blocks of you
      usage: |
       /lightning
   wr:
      description: long, alternate constructor for commands
      usage: |
       /wr rain [world] - Make it rain
       /wr clear [world] - clear all the weather
       /wr thunder [world] - add thunder to the current storm
       /wr lightning - send a lightning bolt near you
       /wr stats - gives you the current weather in all your worlds
       /wr reload - reloads the configuration
       
# SuperPerms data
permissions:
    weatherrestrictions.*:
        default: op
        description: Gives access to all commands
        children:
            weatherrestrictions.rain: true
            weatherrestrictions.thunder: true
            weatherrestrictions.clear: true
            weatherrestrictions.stats: true
            weatherrestrictions.lightning: true
            weatherrestrictions.reload: true
    weatherrestrictions.rain:
        description: Allows you to make it rain.
        default: op
        command: "/wr rain [world]"
    weatherrestrictions.thunder:
        description: Allows you to make the current rainstorm a thunderstorm.
        default: op
        command: "/wr thunder [world]"
    weatherrestrictions.clear:
        description: Clear the skies and make it sunny.
        default: op
        command: "/wr clear [world]"
    weatherrestrictions.stats:
        description: Allows you to get the current weather in all worlds.
        default: op
        command: "/wr stats"
    weatherrestrictions.lightning:
        description: Allows you to call down lightning bolts.
        default: op
        command: "/wr lightning"
    weatherrestrictions.reload:
        description: Allows you to reload the configuration file.
        default: op
        command: "/wr reload"