Tags
Creators
Details
2.2.2
Compatibility
Changes
sSugarDrop v2.2.2 Patch - Discord Webhook Reminder Hotfix
This is a patched build of sSugarDrop v2.2.2.
This patch adds Discord webhook reminder support for upcoming drop events, allowing servers to notify players before a SugarDrop event starts.
Discord Webhook System
- Added Discord webhook support for SugarDrop event notifications.
- Added configurable Discord embeds through the main config.
- Added support for custom webhook titles, descriptions, colors, footers, and images.
- Added placeholder support inside Discord messages.
- Added support for drop name, world, coordinates, and remaining time placeholders.
Event Reminder Notifications
- Added a new reminder system to notify Discord before a drop event starts.
- Added configurable reminder time using
notify_before_seconds. - Server owners can now choose how many seconds before the event the Discord alert should be sent.
- The reminder is only sent when the event is close to starting and the required conditions are met.
- Added protection to avoid sending the same reminder multiple times for the same event cycle.
New Discord Config Options
- Added
discord.enabledto enable or disable Discord notifications. - Added
discord.webhook_urlto set the Discord webhook. - Added
discord.send_reminderto enable pre-event reminders. - Added
discord.notify_before_secondsto control how early the reminder is sent. - Added
discord.send_on_startfor optional start notifications. - Added
discord.send_on_completefor optional completion notifications. - Added
discord.reminder_embedfor custom pre-event embed messages.
New Placeholders
%drop_name%- Shows the SugarDrop event name.%world%- Shows the event world.%x%- Shows the X coordinate.%y%- Shows the Y coordinate.%z%- Shows the Z coordinate.%time%- Shows the remaining time before the event starts.
Recommended Config
Use this example to send a Discord alert 1 minute before the event starts:
discord:
enabled: true
webhook_url: "YOUR_DISCORD_WEBHOOK_HERE"
send_reminder: true
notify_before_seconds: 60
send_on_start: false
send_on_complete: false
reminder_embed:
title: "📦 DROP IN %time% | %drop_name%"
description: |
**Attention adventurers!**
The drop event **%drop_name%** will start in **%time%**.
Get ready for the reward rain.
📍 **Location:**
`%world%` - [X: %x%, Y: %y%, Z: %z%]
color: 65450
footer: "sSugarDrop - Powered by SpectStudio"
image_url: ""
Recommended After Updating
After installing this patched version, regenerate your Discord webhook if you previously shared it publicly, then update the config and reload the plugin:
/ssugardrop reload
This patch makes it easier to announce upcoming SugarDrop events directly in Discord before the event starts.
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:FPoxV9u5:OcZnhvtC"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:FPoxV9u5:OcZnhvtC"
}

