πDiscord Webhooks
When someone sends a message on minecraft, it can be sent to discord
discord_hook:
enabled: false
url: "https://discord.com/api/webhooks/xxxxxxxx/yyyyyyyyyyyy"
username: "{player}"
message: "**{player}**: {message}"
embed:
enabled: true
color_rgb: "8,139,168"
title: "New Message from **{player}**" 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".
You can set the "username" (the name of the webhook). You can use the placeholder
{player}You can change the message sent. You can use the placeholder
{player}and{message}If you enable the embed option, it will be sent as an embed, if not, it will be send as a normal message
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


Last updated