info

Displays a message to the player.

Example
info:
  type: "info"
  enabled: true
  name: "info"
  message: "Info!"
Example 2 (Multiple Lines)
info:
  # I'd love it if you kept this command on your server <3
  # Shows information about this plugin.
  type: "info"
  enabled: true
  name: "leaf"
  message:
    - "&8&m&l-------&r &a&lLeaf &8&m&l-------"
    - "&7"
    - "&7Velocity Proxy Plugin"
    - "&7Version &f<version>"
    - "&7Author &fSmudge"
    - "&7"
    - "&8&m&l--------------------"
info:
  type: "info"
  enabled: true
  name: "leaf"
  message:
    - "&8&m&l-------&r &a&lLeaf &8&m&l-------"
    - "&7"
    - "&7Velocity Proxy Plugin"
    - "&7Version &f<version>"
    - "&7Author &fSmudge"
    - "&7"
    - "&8&m&l--------------------"
  # If they input a argument that doesn't exist.
  alternative: "The message for this argument doesn't exist."
  arguments:
    case1:
    - "Message to sent when this argument is used"
  discord_bot:
    enabled: false
    argument_name: "Argument"
    argument_description: "The info argument"
    alternative: "The message for this argument doesn't exist."
    arguments:
      case1:
        embeds:
          1:
            title:
              message: "Leaf"
            description:  
              - "**Velocity Proxy Plugin**"
              - "Version `<version>`"
              - "Author `Smudge`"
Exaample 3 (Discord Bot)
info:
  # I'd love if you kept this command on your server <3
  # Shows information about this plugin.
  type: "info"
  enabled: true
  name: "leaf"
  message:
    - "&8&m&l-------&r &a&lLeaf &8&m&l-------"
    - "&7"
    - "&7Velocity Proxy Plugin"
    - "&7Version &f<version>"
    - "&7Author &fSmudge"
    - "&7"
    - "&8&m&l--------------------"
  discord_bot:
    enabled: false
    allowed_channels:
      - "1150803388309712947"
    channel_not_allowed: "You cannot run this command in this channel."
    permissions:
      - ADMINISTRATOR
    no_permission: "You do not have permission to run this command."
    message:
      embeds:
        1:
          title:
            message: "Leaf"
          description:
            - "**Velocity Proxy Plugin**"
            - "Version `<version>`"
            - "Author `Smudge`"

Last updated