MMDiscordNotifs

MMDiscordNotifs 1.1

Native Minecraft Version:
1.19
Tested Minecraft Versions:
1.19


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.



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.



Commands and Permissions:

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

Example:



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.
Author
Mined
Downloads
11
Views
50
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Mined

Top