πŸ“˜Discord Webhooks

Some features allows you to send messages to a discord channel

config.yml
discord_hook:
    enabled: false
    url: https://discord.com/api/webhooks/xxxxxxxx/yyyyyyyyyyyy
    avatar: https://www.spigotmc.org/data/resource_icons/123/123517.jpg?1742847968
    username: VelocityUtils
    color_rgb: 240,43,20
    title: Message title
    message: |
        πŸ“’ **Line 1**
        πŸ‘€ **Line 2**
        πŸ“„ **Line 3**
        🌍 **Line 4**

To use this feature, enable it in the features you want

You have to create a discord webhook first. Go into a discord server, right-click on a channel > edit channel. Then, you go to the integrations section > webhooks > New webhook. It will create a new webhook, and you have to copy the webhook URL.

  • Now on the plugin config, you have to paste that URL into the option "url".

  • On "avatar", you can set an image for the webhook author

  • You can set the "username" (the name of the webhook)

  • You can set the rgb of the message on "color_rgb". You can use this page to select a color, and copy the rgb

  • You can set the "title" of the message

  • And you can customize the message! Each feature has his owns placeholders (for example {player} that are replaced)

Last updated