Cobblemon Spawn Notification Discord Integration
This addon extends the functionality of the original Cobblemon Spawn Notification mod created by tmetcalfe89 by adding integration with popular Discord clients for pokemon spawn alerts.
Image shows an example of integration working in the game
Demonstration of how notifications appear in Discord
Supported Discord Mods
Currently the module is compatible with the following Discord integration solutions:
- Discord Integration by ErdbeerbaerLP
- MC2Discord by developer DenisD3D
- Discord-MC-Chat by Xujiayao
- Fabricord by RiriFa (works only with version 1.21.1)
Module Activation
For versions 0.3 and above
No changes needed in the spawn_notification.json file. The module works by default. However, if you want the settings to respect the announceCrossDimensions parameter, refer to the configuration section.
For versions 0.2 and below
In these versions, the module functions only when the announceCrossDimensions parameter is set to true in the spawn_notification.json file, as this configuration seems most logical.
Activation process:
- Open the
spawn_notification.jsonfile in theconfig/folder - Set the
"announceCrossDimensions"parameter totrue
Specifics for MC2Discord
For all versions when using MC2Discord, it's necessary:
- Open the
mc2discord.tomlfile in theconfig/directory - Add
"cobblemon_spawn_notification_discord"to thesubscriptions = [...]section
Configuration example:
[Channels]
[[Channels.Channel]]
id = 0
subscriptions = ["info", "chat", "command", "cobblemon_spawn_notification_discord"]
mode = "WEBHOOK"
Configuration
The mod's settings file is located at:\
config/csn-discord-integration.json
Main parameters:
-
bypassCrossDimension\ When set totrue, ignores theannounceCrossDimensionsetting fromspawn_notification.jsonand always sends notifications to Discord.\ If set tofalse, follows whatever is specified inannounceCrossDimension.\ Important: setting tofalsedeactivates the mod untilannounceCrossDimensionis also set totrue.\ Default:true -
botName\ Defines the display name of the webhook.\ Default:"Cobblemon Spawn Notification" -
botAvatarUrl\ Sets the image URL for the webhook avatar.
Commands
/csn-discord reload— reloads configuration files
Required Dependencies
Necessary for operation:
- Main Cobblemon mod
- Cobblemon Spawn Notification addon
- One of the supported Discord clients:
- Discord Integration
- MC2Discord
- Discord-MC-Chat
- Fabricord
Acknowledgements
This project is based on the original Cobblemon Spawn Notification mod by tmetcalfe89. Full credit goes to the author for the basic implementation. The mod also uses features and interfaces of various Discord solutions, including ErdbeerbaerLP, DenisD3D, Xujiayao, RiriFa — thanks to all developers for enabling this functionality. Special mention to tmetcalfe89 for valuable recommendations and permission to use the original mod's name.