name: API-C
main: io.github.NateTheCodeWizard.api.APIPlugin
version: 1.0
softdepend: [ProtocolLib]
commands:
    api:
        description: The api command
        usage: /api data
    skin:
        description: Choose your skin
        usage: /skin
    nickname:
        description: Choose a nickname
        usage: /nickname
        aliases: [nick]
permissions:
    api.*:
        description: ALL THE POWER!
        default: op
        children:
            api.skin.*: true
            api.nickname.*: true
            api.file.*: true
    
    api.command:
        default: true
        description: Use the /api command.
    
    api.skin.*:
        default: false
        description: Complete control over lots of skins
        children:
            api.skin: true
            api.skin.save: true
            api.skin.clearcache: true
            api.skin.other: true
    api.skin:
        default: false
        description: Set a skin
    api.skin.save:
        default: false
        description: Save a skin
    api.skin.clearcache:
        default: false
        description: Clear the skin cache
    api.skin.other:
        default: false
        description: Set another's skin
        
    api.nickname.*:
        default: false
        description: Complete control over lots of nicknames
        children:
            api.nickname: true
            api.nickname.other: true
    api.nickname:
        default: false
        description: Set a nickname
    api.nickname.other:
        default: false
        description: Set another's nickname
        
    api.file.*:
        default: false
        description: Access file serring from in game. Using this is not advised.
        children:
            api.file.set: true
            api.file.givebook: true
            api.file.color: true
            api.file.datatype.all: true
            api.file.plugin.all: true
            api.file.object: true
            api.file.object.all: true
            api.file.player: true
            api.file.player.all: true
            api.file: true
            api.file.get: true
    api.file:
        default: false
        description: Use data commands
    api.file.get:
        default: false
        description: Use data commands
    api.file.datatype.all:
        default: false
        description: Use all data types
    api.file.set:
        default: false
        description: Set file data
    api.file.datatype.boolean:
        default: false
        description: Set a boolean in a file.
    api.file.datatype.string:
        default: false
        description: Set a string in a file.
    api.file.datatype.int:
        default: false
        description: Set an int in a file.
    api.file.datatype.long:
        default: false
        description: Set a long in a file.
    api.file.plugin.all:
        default: false
        description: Set data for all plugins.
    api.file.player:
        default: false
        description: Set data for a player.
    api.file.player.all:
        default: false
        description: Set data for all players.
    api.file.object:
        default: false
        description: Set data for an object.
    api.file.object.all:
        default: false
        description: Set data for all objects.