name: NameChanger
version: 1.0
description: Change your name
load: POSTWORLD
author: Maxi
main: de.maxi.namechanger.Main

commands:
  name:
    description: Ändere deinen Namen
    usage: /<command> <name>
    aliases: nick
    permission: namechanger.command

permissions:
  namechanger.*:
    description: All Permissions
    default: false
    children:
      namechanger.command: true
      namechanger.help: true
      namechanger.reload: true
      namechanger.set.*: true
      namechanger.clear.*: true
      namechanger.real.*: true
      namechanger.version.*: true

  namechanger.command:
    description: Is needed for every Command
    default: true
  namechanger.help:
    description: See the Help-Page with /name help
    default: true
  namechanger.reload:
    description: Reload the config and Files
    default: op

  namechanger.set.*:
    description: Acess to all set-Permissions
    default: false
    children:
      namechanger.set.name: true
      namechanger.set.other: true
  namechanger.set.name:
    description: Be allowd to use /name set <name>
    default: true
  namechanger.set.other:
    description: Be able to set other players name with /name set <player> <nmae>
    default: op
    children:
      namechanger.set.name: true

  namechanger.clear.*:
    description: Access to all clear-Permissions
    default: false
    children:
      namechanger.clear.name: true
      namechanger.clear.other: true
  namechanger.clear.name:
    description: Clear the name to default with /name clear
    default: true
  namechanger.clear.other:
    description: Clear others name with /name clear <player>
    default: op
    children:
      namechanger.clear.name: true

  namechanger.real.*:
    description: Access to all real-Permissions
    default: false
    children:
      namechanger.real.name: true
      namechanger.real.other: true
  namechanger.real.name:
    description: See your original username with /name real
    default: true
  namechanger.real.other:
    description: See others real username with /name real <player>
    default: op
    children:
      namechanger.real.name: true

  namechanger.version.*:
    description: Access to all update-Permissions
    default: false
    children:
      namechanger.version.check: true
      namechanger.version.notify: true
  namechanger.version.check:
    description: Check for new Plugin-Versions /name version
    default: op
  namechanger.version.notify:
    description: See a notification about new versions on join
    default: op
