name: EnderSnow
main: com.enderslair.mc.EnderSnow.EnderSnowPlugin
version: 5.6
description: Particle snow plugin.
author: EnderSandman
prefix: EnderSnow
softdepend: [WorldGuard, WorldEdit]

commands:
    snow-help:
        description: Display command help for the plugin.
        permission: snow.help
        permission-message: §6You need permission §5<permission> §6to run this command.
        usage: §6Correct Usage is §5/<command>

    snow-toggle:
        description: Toggles displaying snow flakes on and off for the player.
        permission: snow.player.toggle
        permission-message: §6You need permission §5<permission> §6to run this command.
        usage: §6Correct Usage is §5/<command>

    snow-reload:
        description: Reloads the the Snow configuration data.
        permission: snow.admin.reload
        permission-message: §6You need permission §5<permission> §6to run this command.
        usage: §6Correct Usage is §5/<command>

    snow-amount:
        description: Sets the amount of snow to spawn at each interval.
        permission: snow.admin.set.amount
        permission-message: §6You need permission §5<permission> §6to run this command.
        usage: §6Correct Usage is §5/<command> {Amount}

    snow-interval:
        description: Sets the interval between the spawn of each snow flake.
        permission: snow.admin.set.interval
        permission-message: §6You need permission §5<permission> §6to run this command.
        usage: §6Correct Usage is §5/<command> {Interval}

    snow-radius:
        description: Sets the radius around the player inwhich snow flakes will spawn.
        permission: snow.admin.set.radius
        permission-message: §6You need permission §5<permission> §6to run this command.
        usage: §6Correct Usage is §5/<command> {HorizontalRadius} {VerticalRadius}

    snow-particle:
        description: Sets the particle to be used for snow flakes. Find particle names at https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Particle.html
        permission: snow.admin.set.particle
        permission-message: §6You need permission §5<permission> §6to run this command.
        usage: §6Correct Usage is §5/<command> {ParticleName}

    snow-speed:
        description: Sets the snow flake fall speed.
        permission: snow.admin.set.speed
        permission-message: §6You need permission §5<permission> §6to run this command.
        usage: §6Correct Usage is §5/<command> {Speed}

    snow-block:
        description: Sets if snow flakes can spawn if there is a block above the spawn location.
        permission: snow.admin.set.block
        permission-message: §6You need permission §5<permission> §6to run this command.
        usage: §6Correct Usage is §5/<command> {true/false}

    snow-spawntype:
        description: Sets the spawn type. Can be set to either PLAYER(snow always spawns around player) or PLAYER_REGION(snow only spawns around players when in specified world/regions).
        permission: snow.admin.set.spawn
        permission-message: §6You need permission §5<permission> §6to run this command.
        usage: §6Correct Usage is §5/<command> {PLAYER or PLAYER_REGION}

    snow-create-region:
        description: Creates an snow region with a World Guard region or an area selected by World Edit for snow to spawn around players.
        permission: snow.admin.region.create
        permission-message: §6You need permission §5<permission> §6to run this command.
        usage: §6Correct Usage is §5/<command> {Snow Region Name} {Snow Region Type (AREA or WG)}

    snow-region-list:
        description: Displays the list of current snow regions by name.
        permission: snow.admin.region.list
        permission-message: §6You need permission §5<permission> §6to run this command.
        usage: §6Correct Usage is §5/<command>

    snow-remove-region:
        description: Removes a region for the list of snow regions. Use /snow-region-list to see snow regions.
        aliases: [snow-delete-region]
        permission: snow.admin.region.remove
        permission-message: §6You need permission §5<permission> §6to run this command.
        usage: §6Correct Usage is §5/<command> {Snow Region Name}

permissions:
    snow.*:
        description: Gives all permissions for this plugin.
        default: op
        children:
            snow.admin: true
            snow.player: true

    snow.player:
        description: Gives access to all Player permissions.
        default: op
        children:
            snow.player.toggle: true
            snow.help: true
            
    snow.admin:
        description: Gives access to all Admin permissions.
        default: op
        children:
            snow.admin.reload: true
            snow.admin.set: true
            snow.admin.region: true
            snow.help: true
            
    snow.admin.set:
        description: Gives access to all Admin Set command permissions.
        default: op
        children:
            snow.admin.set.amount: true
            snow.admin.set.interval: true
            snow.admin.set.radius: true
            snow.admin.set.particle: true
            snow.admin.set.speed: true
            snow.admin.set.block: true
            snow.admin.set.spawntype: true

    snow.admin.region:
        description: Gives access to all Admin Region command permissions.
        default: op
        children:
            snow.admin.region.create: true
            snow.admin.region.list: true
            snow.admin.region.remove: true
            
    snow.help:
        description: Give access to the /snow-help command.
        default: op

    snow.player.toggle:
        description: Give access to the /snow-toggle command.
        default: op

    snow.admin.reload:
        description: Give access to the /snow-reload command.
        default: op

    snow.admin.set.amount:
        description: Give access to the /snow-amount command.
        default: op

    snow.admin.set.interval:
        description: Give access to the /snow-interval command.
        default: op

    snow.admin.set.radius:
        description: Give access to the /snow-radius command.
        default: op

    snow.admin.set.particle:
        description: Give access to the /snow-particle command.
        default: op

    snow.admin.set.speed:
        description: Give access to the /snow-speed command.
        default: op

    snow.admin.set.block:
        description: Give access to the /snow-block command.
        default: op

    snow.admin.set.spawntype:
        description: Give access to the /snow-spawntype command.
        default: op

    snow.admin.region.create:
        description: Give access to the /snow-create-region command.
        default: op

    snow.admin.region.list:
        description: Give access to the /snow-region-list command.
        default: op

    snow.admin.region.remove:
        description: Give access to the /snow-remove-region command.
        default: op

