name: BlockProtection
main: com.epiccraft.blockprotection.BlockProtection
version: 1.1-beta
author: EpicCraft
api-version: 1.19

commands:
  bp:
    description: Toggle BlockProtection on/off
    usage: /<command>
  bpadd:
    description: Add a player to your friends list
    usage: /<command>     
  bpadmin:
    description: Toggle BlockProtection bypass on/off
    usage: /<command>
  bpclear:
    description: Clears your entire friends list
    usage: /<command>    
  bplist:
    description: List all players from your friends list
    usage: /<command>    
  bpreload:
    description: Reloads settings from config.yml
    usage: /<command>
  bpremove:
    description: Remove a player from friends list
    usage: /<command>
  bptool:
    description: Gives the player 1 of the utilitytool
    usage: /<command>
  bpsave:
    description: Saves the database
    usage: /<command>
  bpgive:
    description: Gives Block
    usage: /<command>
  bptransfer:
    description: Transfer Block
    usage: /<command>
  bpclean:
    description: Cleans the selected area from any protections.
    usage: /bpclean
  bpuse:
    description: Select whitelist or blacklist
    usage: /bpuse <command>
    children:
      whitelist
      blacklist
    
permissions:
    bp.*:
        description: Gives access to all BlockProtection features
        children:
            bp.admin: true
            bp.friend: true
            bp.reload: true
            bp.user: true
    bp.admin:
        description: Allows players to bypass BlockProtection, add blocks manually, and get the utility tool
        default: op
    bp.friend:
        description: Allows access to all friends list features
        default: true 
    bp.reload:
        description: Allows access to reload settings from the config.yml
        default: op        
    bp.user:
        description: Allows players to view a blocks owner, and have their blocks protected
        default: true 
    bp.giveblock:
        description: Allows give block
        default: true
    bp.transfer:
        description: Transfer blocks from WorldEdit selected region
        default: op
    bp.use:
        description: Change the method of checking, if is whitelist or backlist
        default: op
         