name: MCLogger
version: '1.0.0'
main: de.simolzimol.mclogger.paper.PaperLoggerPlugin
api-version: '1.20'
description: Minecraft event logger
author: SimolZimol

softdepend:
  - LuckPerms

commands:
  mclogger:
    description: MCLogger admin command
    usage: /mclogger <help|reload|status|chat|commands|deaths|sessions|blocks|perms>
    permission: mclogger.use
    aliases:
      - mcl
      - mlog

permissions:
  mclogger.use:
    description: Access to MCLogger commands
    default: op
    children:
      mclogger.admin: true
      mclogger.view.chat: true
      mclogger.view.commands: true
      mclogger.view.deaths: true
      mclogger.view.sessions: true
      mclogger.view.blocks: true
      mclogger.view.perms: true

  mclogger.admin:
    description: Full access to MCLogger (reload, status)
    default: op

  mclogger.view.chat:
    description: View chat logs in-game
    default: op

  mclogger.view.commands:
    description: View command logs in-game
    default: op

  mclogger.view.deaths:
    description: View death logs in-game
    default: op

  mclogger.view.sessions:
    description: View session logs in-game
    default: op

  mclogger.view.blocks:
    description: View block logs in-game
    default: op

  mclogger.view.perms:
    description: View LuckPerms permission changes in-game
    default: op
