name: CSM
version: 2.0.2
main: me.csm.csm.Main
api-version: 1.16
authors: [superabdo]
description: Advanced Chat Plugin
website: https://www.spigotmc.org/resources/player-server-join-messages.66239/
softdepend: [PlaceholderAPI]

commands:
  csm:
    description: Main command.
  mutechat:
    description: Mute the chat
  broadcast:
    description: Send broadcast message to all players on server.
    aliases:
      - bc
  swear:
    description: Show all swear words
  clearchat:
    description: Clear the chat of all players
    aliases:
      - cc
      - chatclear
  rules:
    aliases:
      - rule
      - rul
    description: Show rules of the server


permissions:
  csm.*:
    description: allow player to use all csm permissions
    default: op
    children:
      csm.use: true
      csm.reload: true
      csm.chat.color: true
      csm.chat.placeholders: true
      csm.chat.hexcolor: true
  csm.use:
    default: op
    description: allow to use csm commands
  csm.reload:
    default: op
    description: allow player to reload csm files!
  csm.chat.color:
    default: op
    description: allow player to chat with color codes
  csm.chat.placeholders:
    default: op
    description: allow player to use placeholders in chat
  csm.chat.hexcolor:
    default: op
    description: allow player yo use hex color in chat