SDRP 是什么?
SDRP 是一个用于 Minecraft 的简易 Discord Rich Presence(丰富状态显示)客户端模组,允许你在 Discord 上展示你当前的 Minecraft 游戏状态。
如何使用 SDRP?
- 只需从 CurseForge 下载该模组并将其放入你的 mods 文件夹。这是一个仅客户端模组的模组,因此你无需在服务器上安装它。
- 接下来,你需要在 Discord 创建一个应用程序。你可以前往 Discord 开发者门户 并点击“New Application”(新建应用)。为其命名后点击“Create”(创建)。
- 在
General Information(常规信息)选项卡中为你的应用附加一张图片。当未处于 Minecraft 游戏状态时,这张图片将显示在 Discord 上。 - 前往
Rich Presence(丰富状态显示)选项卡并添加一张新图片。当处于 Minecraft 游戏状态时,这张图片将显示在 Discord 上。
- 在
- 创建好应用后,你需要附加具有正确名称的图片以使模组正常工作。
- 我们在
images文件夹中附带了示例图片。这些图片使用了模组开箱即用所需的正确名称。 - 正确的配置应如下所示:

- 如果你想自行设置图片,可以参考下一节。
- 我们在
注意事项
我们将始终尝试使用名为 loading 和 menu 的图片,分别对应游戏加载中和主菜单界面。如果你没有这些图片,模组将无法为这些状态显示图片。
menu当显示主菜单时loading当游戏正在加载时
使用自定义图片
如果你不使用 KubeJS 集成,则需要遵循我们的图片命名约定和语言键(Language Key)约定。具体规则如下:
- 名称:
sdrp.[DIMENSION_NAME](语言键) - 图片键(Image Key):
sdrp.[DIMENSION_NAME].in - 图片名称:
[DIMESNION_NAME]
因此,要使此功能生效,你需要在你希望支持的维度名称下,在 Discord 应用的 Rich Presence 设置中添加对应的图片。
例如,如果我想支持末地(The End)和主世界(Overworld),它们的名称分别为 minecraft:overworld 和 minecraft:the_end。我们忽略 minecraft: 部分,并将图片命名为 the_end 和 overworld。然后,我们需要在语言 JSON 文件中为 Image Key 和 Name 添加相应的语言键:
{
"sdrp.overworld": "Overworld",
"sdrp.overworld.in": "In the Overworld"
}
开箱即用的支持内容
维度
我们从维度名称中省略了 modid 而改用 name。因此 minecraft:overworld 变为 overworld。
overworldthe_netherthe_endcompact_worlddungeonspatial_storageothersideparadise_lostmining
并非所有这些维度在 images 文件夹中都附有示例图片
语言
{ "sdrp.logo": "Pack Logo", "sdrp.mainmenu": "Main Menu", "sdrp.overworld.in": "In Overworld", "sdrp.overworld": "Overworld", "sdrp.the_nether.in": "In Nether", "sdrp.the_nether": "Nether", "sdrp.the_end.in": "In The End", "sdrp.the_end": "The End", "sdrp.compact_world.in": "In Compact World", "sdrp.compact_world": "Compact World", "sdrp.dungeon.in": "In Dungeon World", "sdrp.dungeon": "Dungeon World", "sdrp.spatial_storage.in": "In Spatial Storage", "sdrp.spatial_storage": "Spatial Storage", "sdrp.otherside.in": "In Otherside", "sdrp.otherside": "Otherside", "sdrp.paradise_lost.in": "In Paradise Lost", "sdrp.paradise_lost": "Paradise Lost", "sdrp.mining": "Mining Dimension", "sdrp.mining.in": "In Mining dimension" }
配置
{ "clientId": 1000000000, // 你的 Discord 应用程序 ID "enabled": true, // 是否启用该模组 "screenEvent": false, // 禁用 `menu` 和 `loading` 图片 "clientJoinEvent": false, // 禁用等级加入事件,这将阻止模组显示你当前所在的等级 "logState": false, // 启用开发者日志,记录发送到 Discord 的状态 JSON }
What is SDRP?
SDRP is a simple Discord Rich Presence client for Minecraft that allows you to display your current Minecraft status on Discord.
How do I use SDRP?
- Simply download the mod from CurseForge and put it in your mods folder. This is a client-side only mod so you don't need to install it on your server.
- You will then need to create an application on Discord. You can do this by going to the Discord Developer Portal and clicking "New Application". Give it a name and click "Create".
- Attach an image to your app on the
General Informationtab. This will be the image that is displayed on Discord when the status is not playing Minecraft. - Go to the
Rich Presencetab and add a new image. This will be the image that is displayed on Discord when the status is playing Minecraft.
- Attach an image to your app on the
- Once you have made your application, you will need to attach images with the correct names for the mod to work.
- We've attached example images in the
imagesfolder. These have the correct names for the mod to work out of the box. - A correct configuration will look like this:

- If you want to setup your own images, you can follow the next section.
- We've attached example images in the
Caveats
We always will attempt to use an image called loading and an image called menu for when the game is loading or is on the main menu respectively. If you do not have these images, the mod will simply fail to display an image for these states.
menuWhen the main menu is showingloadingWhen the game is loading
Using custom images
If you are not using the KubeJS integration then you will need to follow the our convention for naming images and language keys. The convention is as follows:
- Name:
sdrp.[DIMENSION_NAME](Language key) - Image Key:
sdrp.[DIMENSION_NAME].in - Image Name:
[DIMESNION_NAME]
So for this to work, you'd need to have an image added to your Discord apps rich presents settings under the name of the dimension you want to support.
If I wanted to support the end and the overworld for example. Their names are as follows minecraft:overworld, minecraft:the_end. We ignore the minecraft: part and name the images the_end and overworld. We then add a language key to the language Json for both the Image Key and Name:
{
"sdrp.overworld": "Overworld",
"sdrp.overworld.in": "In the Overworld"
}
What we support out of the box
Dimensions
We omit the modid from the dimension name and use the name instead. So minecraft:overworld becomes overworld.
overworldthe_netherthe_endcompact_worlddungeonspatial_storageothersideparadise_lostmining
Not all of these dimensions have example images with-in the images folder
Languages
{ "sdrp.logo": "Pack Logo", "sdrp.mainmenu": "Main Menu", "sdrp.overworld.in": "In Overworld", "sdrp.overworld": "Overworld", "sdrp.the_nether.in": "In Nether", "sdrp.the_nether": "Nether", "sdrp.the_end.in": "In The End", "sdrp.the_end": "The End", "sdrp.compact_world.in": "In Compact World", "sdrp.compact_world": "Compact World", "sdrp.dungeon.in": "In Dungeon World", "sdrp.dungeon": "Dungeon World", "sdrp.spatial_storage.in": "In Spatial Storage", "sdrp.spatial_storage": "Spatial Storage", "sdrp.otherside.in": "In Otherside", "sdrp.otherside": "Otherside", "sdrp.paradise_lost.in": "In Paradise Lost", "sdrp.paradise_lost": "Paradise Lost", "sdrp.mining": "Mining Dimension", "sdrp.mining.in": "In Mining dimension" }
Config
{ "clientId": 1000000000, // Your Discord application ID "enabled": true, // Whether or not the mod is enabled "screenEvent": false, // Disables the `menu` and `loading` images "clientJoinEvent": false, // Disables the level join events which will prevent the mod from showing the level you are in "logState": false, // Enables developer logging of the state json being sent to Discord }
下载 Simple Discord Rich Presence (Forge / Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Discord Rich Presence (Forge / Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Discord Rich Presence (Forge / Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Discord Rich Presence (Forge / Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Discord Rich Presence (Forge / Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Discord Rich Presence (Forge / Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Discord Rich Presence (Forge / Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Discord Rich Presence (Forge / Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Discord Rich Presence (Forge / Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Simple Discord Rich Presence (Forge / Fabric)
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
未找到更新日志数据
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组





评论 0
登录后参与评分
还没有评论,来抢沙发吧