Links
Tags
Creators
Details
1.3.0
Compatibility
Changes
Release v1.3.0 - Discord Webhook Enhancement
The Discord webhook system has been enhanced with richer embed capabilities including player avatars, platform detection, configurable colors, and image/GIF support. The webhook operates asynchronously to prevent server lag.
ChannelExtractor has been centralized to handle both channel extraction and platform detection from stream URLs.
Main Features:
- Player avatar (Minecraft skin head) as embed thumbnail
- Automatic platform detection from URL (Twitch, YouTube, Kick, TikTok)
- Platform-specific embed colors (configurable)
- Configurable pre-embed text message with variables
- Optional @everyone mention toggle
- Static image and animated GIF support in embed body
- Formatted local timestamp in footer
Configuration Example:
discord:
enabled: true
webhook-url: "https://discord.com/api/webhooks/your-webhook-here"
mention-everyone: true
message: "{player} is live on {platform}!"
platform-colors:
twitch: 9519747
youtube: 16711680
kick: 5502200
embed:
title: "{player} is live!"
description: "Platform: {platform}\n\nJoin now!\n{link}"
author: "New Live Stream"
footer: "LiveAnnounce • {timestamp}"
image-url: "https://i.imgur.com/TDf945M.jpeg"
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:aSFzWgc2:VBs2nvKV"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:aSFzWgc2:VBs2nvKV"
}

