MMDiscordNotifs icon

MMDiscordNotifs -----

A MythicMob Addon to send new Mob spawn notifications to Discord, Works with and without DiscordSRV



[​IMG]

Description

This simple plugin sends new MythicMob spawn Embed to Discord, You can use DiscordSRV or Discord's Webhooks as well.

Installation
  • Server must be running on Java16 or later.
  • 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.

[​IMG]

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.

[​IMG]

Commands and Permissions:

/mmdn reload

Permissions: mmdn.reload
Aliases: /mmdiscordnotifs reload
Description: Reloads the plugin


Example:

[​IMG]

Embed Config:

Code (Text):
# The message to send when a MythicMob spawns.

# 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.


[​IMG]
Resource Information
Author:
----------
Total Downloads: 135
First Release: Mar 20, 2023
Last Update: Mar 23, 2023
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings