
Matthiesen Core Webhooks
A Server-side library mod for Matthiesen Lib projects that want to be able to send discord webhooks easily!
- Загрузки
- 121
- Подписчики
- 1
- Обновлён
- 11 августа 2026 г.
- Лицензия
- MIT
Опубликован 28 мая 2026 г.
Matthiesen Core Webhooks
This is a server-side library mod for Matthiesen Core that provides Discord webhook functionality. It allows other mods to send messages to Discord channels via the Matthiesen Core webhook service.
import dev.matthiesen.matthiesen_core.common.api.discord.WebhookNotifierInstance;
import dev.matthiesen.matthiesen_core.common.core.MatthiesenCoreCommon;
public class ExampleWebHook {
private WebhookNotifierInstance webhookNotifierInstance;
public ExampleWebHook() {
var webhookNotifierService = MatthiesenCoreCommon.INSTANCE.getWebhookService();
if (!webhookNotifierService.isAvailable()) {
throw new IllegalStateException("Webhook service is not available");
}
webhookNotifierInstance = webhookNotifierService.makeInstance("https://discord.com/api/webhooks/your-webhook-url");
}
public void sendMessage(String message) {
webhookNotifierInstance.sendMessage(builder -> builder.withContent(message));
}
}
Requirements
Version Compatibility
| Minecraft Version | Mod Version |
|---|---|
| 1.21.1 | 1.x.x |
License
MIT - see LICENSE.
Ченджлог
1.2.0Релиз1.21.1 · 11 августа 2026 г.
What's Changed
- Migrate to Matthiesen Core by @Adammatthiesen in https://github.com/Matthiesen-dev/matthiesen-core-webhooks/pull/3
Full Changelog: https://github.com/Matthiesen-dev/matthiesen-core-webhooks/compare/v1.1.0...v1.2.0
1.2.0Релиз1.21.1 · 11 августа 2026 г.
What's Changed
- Migrate to Matthiesen Core by @Adammatthiesen in https://github.com/Matthiesen-dev/matthiesen-core-webhooks/pull/3
Full Changelog: https://github.com/Matthiesen-dev/matthiesen-core-webhooks/compare/v1.1.0...v1.2.0
1.1.0Релиз1.21.1 · 11 июня 2026 г.
What's Changed
- Refactor dependency management and update Discord webhook imports by @Adammatthiesen in https://github.com/Matthiesen-dev/matthiesen-lib-webhooks/pull/2
New Requirements
- Matthiesen Lib Api 1.6.0+ is now required to be installed as well (Available from Github/Modrinth)
Full Changelog: https://github.com/Matthiesen-dev/matthiesen-lib-webhooks/compare/v1.0.0...v1.1.0
1.1.0Релиз1.21.1 · 11 июня 2026 г.
What's Changed
- Refactor dependency management and update Discord webhook imports by @Adammatthiesen in https://github.com/Matthiesen-dev/matthiesen-lib-webhooks/pull/2
New Requirements
- Matthiesen Lib Api 1.6.0+ is now required to be installed as well (Available from Github/Modrinth)
Full Changelog: https://github.com/Matthiesen-dev/matthiesen-lib-webhooks/compare/v1.0.0...v1.1.0
1.0.0Релиз1.21.1 · 29 мая 2026 г.
What's Changed
- Initial Release by @Adammatthiesen in https://github.com/Matthiesen-dev/matthiesen-lib-webhooks/pull/1
Full Changelog: https://github.com/Matthiesen-dev/matthiesen-lib-webhooks/commits/v1.0.0
1.0.0Релиз1.21.1 · 29 мая 2026 г.
What's Changed
- Initial Release by @Adammatthiesen in https://github.com/Matthiesen-dev/matthiesen-lib-webhooks/pull/1
Full Changelog: https://github.com/Matthiesen-dev/matthiesen-lib-webhooks/commits/v1.0.0
Комментарии
Загружаем…