Cobblemon 刷怪通知 Discord 集成
Cobblemon Spawn Notification Discord Integration 是 tmetcalfe89 所开发的原版 Cobblemon Spawn Notification Mod 的附加组件/扩展,为多种 Discord 集成模组添加了 Discord 集成支持。


目前支持的 Discord 集成模组
*仅限 1.21.1
如何启用
适用于 0.3 及以上版本
现在无需在 spawn_notification.json 中进行任何更改。默认情况下它即可正常工作,但如果您希望它尊重 spawn_notification.json 中的 announceCrossDimensions 设置,请参阅配置部分。
适用于 0.2 及以下版本
目前,仅当 spawn_notification.json 中 announceCrossDimensions 设置为 true 时,该模组才能工作,因为我认为这样最为合理。
要启用它:
- 打开
config/ 文件夹内的 spawn_notification.json。
- 将
"announceCrossDimensions" 设置为 true。
适用于所有版本且使用 MC2Discord 的情况
- 打开
config/ 文件夹内的 mc2discord.toml。
- 将
"cobblemon_spawn_notification_discord" 添加到 subscriptions = [...] 部分。
例如:
[Channels]
[[Channels.Channel]]
id = 0
subscriptions = ["info", "chat", "command", "cobblemon_spawn_notification_discord"]
mode = "WEBHOOK"
配置
本模组的配置文件位于:
config/csn-discord-integration.json
-
bypassCrossDimension
如果设置为 true,这将忽略 spawn_notification.json 中的 announceCrossDimension 设置,始终向 Discord 广播公告。
如果设置为 false,它将遵循 announceCrossDimension 中的设置。
注意: 将此设置为 false 将实质上禁用该模组,除非 announceCrossDimension 也设置为 true。
默认值: true
⚠ 目前在 0.4 版本中不起作用
-
botName
设置 Webhook 的显示名称。
默认值: "Cobblemon Spawn Notification"
-
botAvatarUrl
设置 Webhook 的头像图片 URL。
命令
/csn-discord reload:重新加载配置
依赖项
Cobblemon
Cobblemon Spawn Notification
以下受支持的 Discord 集成模组之一:
致谢
本模组基于 tmetcalfe89 开发的 Cobblemon Spawn Notification 模组。完全归功于他们提供了基础实现。此外,本模组利用了各种 Discord 集成 API 和功能,包括但不限于;ErdbeerbaerLP、DenisD3D、Xujiayao、RiriFa。感谢这些开发者为使此功能成为可能所做的工作。
特别感谢 tmetcalfe89 对本模组的宝贵意见,并允许我使用该模组原始名称作为本模组的名称。
Cobblemon Spawn Notification Discord Integration
Cobblemon Spawn Notification Discord Integration is an addon/extension for the original Cobblemon Spawn Notification Mod by tmetcalfe89, adding Discord integration to various Discord Integration Mods.


Currently Supported Discord Integration Mods
*1.21.1 only
How to Enable
For versions 0.3 and above
No need to change anything in spawn_notification.json now. It should work by default but if you want to it to respect announceCrossDimensions setting from spawn_notification.json, refer to the config section.
For versions 0.2 and below
Currently, the mod only works when announceCrossDimensions is set to true in spawn_notification.json as I thought that would make the most sense.
To enable it:
- Open
spawn_notification.json inside the config/ folder.
- Set
"announceCrossDimensions" to true.
For all versions and using MC2Discord
- Open
mc2discord.toml inside the config/ folder.
- Add
"cobblemon_spawn_notification_discord" to the subscriptions = [...] section.
For example:
[Channels]
[[Channels.Channel]]
id = 0
subscriptions = ["info", "chat", "command", "cobblemon_spawn_notification_discord"]
mode = "WEBHOOK"
Config
The config file for this mod can be found at:
config/csn-discord-integration.json
-
bypassCrossDimension
If set to true, this will ignore the announceCrossDimension setting from spawn_notification.json will always broadcast announcements to discord.
If set to false, it will follow whatever is set in announceCrossDimension.
Note: Setting this to false will effectively disable the mod unless announceCrossDimension is also set to true.
Default: true
⚠ Currently doesn't do anything in version 0.4
-
botName
Sets the display name of the webhook.
Default: "Cobblemon Spawn Notification"
-
botAvatarUrl
Sets the avatar image URL of the webhook.
Commands
/csn-discord reload: Reloads the config
Dependencies
Cobblemon
Cobblemon Spawn Notification
One of the various supported Discord Integration Mods
Credits
This mod is based on the Cobblemon Spawn Notification mod by tmetcalfe89. Full credit to them for the base implementation. Additionally, this mod utilizes various Discord Integration APIs and functions, not limited to; ErdbeerbaerLP, DenisD3D, Xujiayao, RiriFa. Thanks to the developers for their work in making this functionality possible.
Special thanks to tmetcalfe89 for their valuable input towards the mod and allowing me to use their original mod's name for this mod.
评论 0
登录后参与评分
还没有评论,来抢沙发吧