Skip to content

Version 3.4.0 Discord Webhooks

Compare
Choose a tag to compare
@Smudgge Smudgge released this 03 Aug 19:47
· 136 commits to main since this release
- Added Alert Message Command Type.
- Added Discord Webhook option for Alert AlertMessage Report Chat Command Types.
- Added Discord Webhook option for all Events
- Added new event types Player Leave Player Chat
- Fixed custom model data inventory option.

Discord Webhook Configuration

discord_webhook:
  url: "url"
  message:
    username: "<player>"
     avatar: "https://crafatar.com/avatars/<uuid>?overlay"
     message: "Hello there!"
  embed:
    color: 0x00FF00
    title:
      message: "Title"
      url: "url"
    description: "Description"
    footer:
      message: "Footer"
      icon: "url"
    author:
      name: "Smudge"
      iconUrl: "url"
      url: "url"
    imageUrl: "url"
    thumbnailUrl: "url"

Player Chat Event
Example of discord webhook:

playerchat:
  type: "playerchat"
  discord_webhook:
    url: "url"
    message:
      username: "<player>"
      avatar: "https://crafatar.com/avatars/<uuid>?overlay"
      message: "%message%"

Installing

How to install

  • Download the Leaf-3.4.0.jar and drag it into your proxy server's plugin folder.
  • Restart the server.

Optional dependencies
https://builtbybit.com/resources/leaf-velocity-plugin.26200/field?field=dependencies

For admins updating from 2.X
See version 3.0.0 for migration details from 2.X to 3.X