name: easyMessages
version: 1.0.0
description: Easily change join/leave messages ingame!
author: Lee Tzilantonis 

main: com.leetzilantonis.Main
database: false

commands:
  joinmessage:
    description: base command for customising join messages.
    permission: royalessentials.joinmessage
    usage: /joinmessage <enable/disable/set/reset/check/help/reload>
  leavemessage:
    description: base command for customising leave messages.
    permission: royalessentials.leavemessage
    usage: /joinmessage <enable/disable/set/reset/check/help/reload>

permissions:
  easymessages.*:
    description: Gives access to all Easy Messages commands
    default: op
    children:
      easymessages.joinmessage.*: true
      easymessages.leavemessage.*: true
      easymessages.reload: true
  easymessages.joinmessage.*:
    description: Gives access to all features in /joinmessage
    default: op
    children:
      easymessages.joinmessage.toggle: true
      easymessages.joinmessage.set: true
      easymessages.joinmessage.reset: true
      easymessages.joinmessage.check: true
      easymessages.joinmessage: true
      easymessages.reload: true
  easymessages.leavemessage.*:
    description: Gives access to all features in /leavemessage
    default: op
    children:
      easymessages.leavemessage.toggle: true
      easymessages.leavemessage.set: true
      easymessages.leavemessage.reset: true
      easymessages.leavemessage.check: true
      easymessages.leavemessage: true
      easymessages.reload: true
  easymessages.joinmessage.toggle:
    description: Allows you to enable/disable join messages
    default: op
  easymessages.joinmessage.set:
    description: Allows you to set the join message
    default: op
  easymessages.joinmessage.reset:
    description: Allows you to reset the join message
    default: op
  easymessages.joinmessage.check:
    description: Allows you to check the current join message
    default: op
  easymessages.joinmessage:
    description: Required to use the join message command
    default: op
  easymessages.leavemessage.toggle:
    description: Allows you to enable/disable leave messages
    default: op
  easymessages.leavemessage.set:
    description: Allows you to set the leave message
    default: op
  easymessages.leavemessage.reset:
    description: Allows you to reset the leave message
    default: op
  easymessages.leavemessage.check:
    description: Allows you to check the current leave message
    default: op
  easymessages.leavemessage:
    description: Required to use the leave message command
    default: op
  easymessages.reload:
    description: Allows you to reload the configurations in-game
    default: op