Add MythicMobs, MMDiscordNotifs (and DiscordSRV) to your plugins folder.
Restart your server
Setup
DiscordSRV: To use DiscordSRV, add mythicmob channel to your DiscordSRV's config.
Code (YAML):
# Channel links from game to Discord # syntax is Channels: {"in-game channel name from Minecraft": "numerical channel ID from Discord", "another in-game channel name from Minecraft": "another numerical channel ID from Discord"} # Channels: {"global": "000000000000000000",
"mythicmob": "000000000000000000"}
Replace all 0s with your desired channel Id.
Discord Webhook:
To use Webhook paste the webhook url in the plugins/MMDiscordNotifs/config.yml
Code (YAML):
webhookUrl: ""# The webhook URL to send notifications to discord channel.
# Variables:
# {mob} - The name of the mob.
# {health} - The health of the mob.
# {damage} - The damage of the mob.
# {armor} - The armor of the mob.
# {world} - The world of the mob.
# {x} - The x coordinate of the mob.
# {y} - The y coordinate of the mob.
# {z} - The z coordinate of the mob.
# {newline} - A new line.
discordMessage:
text: "Discord Text Here" # The text to send in the discord message.
embed: # The embed to send in the discord message.
enabled: false # Whether to send an embed in the discord message.
title: "EmbedTitle" # The title of the embed.
description: "EmbedDescription" # The description of the embed.
color: "#58b9ff" # The color of the embed. Hex color code.
image: # The image of the embed.
enabled: true # Whether to send an image in the embed.
url: "https://i.ibb.co/Z2SwTH1/MMDiscord-Notifs.png" # The URL of the image.
timestamp: true # Whether to show the timestamp in the embed.