name: Taxes
main: com.enderslair.mc.Taxes.TaxesPlugin
version: 8.0
api-version: 1.17
description: Collects taxes based on balances like player, towny, etc.
author: EnderSandman
prefix: Taxes
depend: [Vault]
softdepend: [Towny]

commands:
    taxes:
        description: Displays command help for the Taxes plugin.
        aliases: [tax, taxes-help, tax-help]
        permission: taxes.player.help
        permission-message: §6You need permission §5<permission> §6to run this command.
        usage: §6Command Usage Error! Correct Usage is §5/<command>
    taxes-collect:
        description: Collects taxes for the specified tax. This command ignores whether the tax is enabled or not. Get tax names from the /tax-listall command.
        aliases: [tax-collect]
        permission: taxes.admin.collect
        permission-message: §6You need permission §5<permission> §6to run this command.
        usage: §6Command Usage Error! Correct Usage is §5/<command> <TaxName>
    taxes-collectall:
        description: Collects taxes for the all the taxes. This command ignores whether the tax is enabled or not.
        aliases: [tax-collectall]
        permission: taxes.admin.collectall
        permission-message: §6You need permission §5<permission> §6to run this command.
        usage: §6Command Usage Error! Correct Usage is §5/<command>
    taxes-list:
        description: List all the applicable taxes by name for the player.
        aliases: [tax-list]
        permission: taxes.player.list
        permission-message: §6You need permission §5<permission> §6to run this command.
        usage: §6Command Usage Error! Correct Usage is §5/<command>
    taxes-listall:
        description: List all taxes in the config by name. This is used for admins.
        aliases: [tax-listall]
        permission: taxes.admin.listall
        permission-message: §6You need permission §5<permission> §6to run this command.
        usage: §6Command Usage Error! Correct Usage is §5/<command>
    taxes-info:
        description: Displays detailed information for the specified tax name for the player. Get tax names from the /tax-list command.
        aliases: [tax-info]
        permission: taxes.player.info
        permission-message: §6You need permission §5<permission> §6to run this command.
        usage: §6Command Usage Error! Correct Usage is §5/<command> <TaxName>
    taxes-infoall:
        description: Displays all the detailed information for the specified tax name. This is for admins to view config settings in-game. Get tax names from the /tax-listall command.
        aliases: [tax-infoall]
        permission: taxes.admin.infoall
        permission-message: §6You need permission §5<permission> §6to run this command.
        usage: §6Command Usage Error! Correct Usage is §5/<command> <TaxName>
    taxes-reload:
        description: Reloads the the Taxes configuration data.
        aliases: [tax-reload]
        permission: taxes.admin.reload
        permission-message: §6You need permission §5<permission> §6to run this command.
        usage: §6Command Usage Error! Correct Usage is §5/<command>

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

    taxes.player:
        description: Gives access to all Player permissions.
        default: op
        children:
            taxes.player.help: true
            taxes.player.list: true
            taxes.player.info: true
            
    taxes.admin:
        description: Gives access to all Admin permissions.
        default: op
        children:
            taxes.admin.reload: true
            taxes.admin.collect: true
            taxes.admin.collectall: true
            taxes.admin.listall: true
            taxes.admin.infoall: true
            
    taxes.bypass.*:
        description: Gives access to all bypass permissions.
        default: false
        children:
            taxes.bypass.playerbalancetax: true
            taxes.bypass.nationtax: true
            taxes.bypass.towntax: true
    
    taxes.player.help:
        description: Give access to the /taxes command.
        default: op
                    
    taxes.player.list:
        description: Give access to the /taxes-list command.
        default: op
                    
    taxes.player.info:
        description: Give access to the /taxes-info command.
        default: op
                    
    taxes.admin.reload:
        description: Give access to the /taxes-reload command.
        default: op

    taxes.admin.collect:
        description: Give access to the /taxes-collect command.
        default: op

    taxes.admin.collectall:
        description: Give access to the /taxes-collectall command.
        default: op

    taxes.admin.listall:
        description: Give access to the /taxes-listall command.
        default: op
                    
    taxes.admin.infoall:
        description: Give access to the /taxes-infoall command.
        default: op

    taxes.bypass.playerbalancetax:
        description: Player Balance Tax will not be collected from players with this permission.
        default: false
        
    taxes.bypass.nationtax:
        description: Towny Nation Tax will not be collected from players with this permission.
        default: false
        
    taxes.bypass.towntax:
        description: Towny Town Tax will not be collected from players with this permission.
        default: false
        
