Скачать Simple Rich Discord Presence
Simple Discord Rich Presence
Моды
5 043 577 загрузок
0 подписок
Описание
Simple Discord Rich Presence
Config:
clientId: "Your Discord App ID"
enable: "If you wish to disable Discord Rich Presence, set this to false."
screenEvent: If set to false, it disables the build in screenEvent, which is used to tell when we are on the main menu."
clientJoinEvent: If set to false, it disables the build in clientJoinEvent, which is used to tell when the player is joining a world and changing Dimension."
KubeJS Integration
Functions:
SDRP.setState( String message, String imageName, String imageKey )
message: message to show under the packname aka "In Overworld" or "In Nether", can be passed a string with the text to show or a lang key.
imageName: the text to show when hovering over the small image aka "Overworld" or "Nether", can be passed a string with the text to show or a lang key.
imageKey : the name Rich Present Art Asset to show, like loading, overworld, menu and so on.
SDRP.getCurrentState()
Gets the current state the client is set to.
Examples:
Update state on dimension change and joining world.
kubejs/startup_script/sdrp.js
onForgeEvent(
"net.minecraftforge.event.entity.EntityJoinWorldEvent",
(event) => {
if (event.getEntity().type === "entity.minecraft.player") {
if (event.getWorld().isClientSide()) {
const dimPath = event.getWorld().dimension().location().getPath();
SDRP.setState(`sdrp.${dimPath}.in`, `sdrp.${dimPath}`, "dimPath");
}
}
}
);
Image keys for if you are using your own Rich Presence Application. (Images used on the default Rich Presence Application can be found HERE)
logo
loading
menu
For dimensions, the key will be the registry name path of the dimension like:
overworld
the_nether
the_end
yamda_dim
For the message (stuff like "In Overworld") is done via lang keys "sdrp..in"
For imageName (stuff like "Overworld" when hovering over the small image) is done via lang keys "sdrp."
Lang keys can be modified and added via data packs and using mods like KubeJS
Версии и скачивания
12 последних версий26.1.2.1
2 824 загрузок
· release
· SimpleDiscordRichPresence-fabric-26.1.2.1.jar
fabric
26.1
26.1.1
26.1.2
26.1.2.1
182 загрузок
· release
· SimpleDiscordRichPresence-neoforge-26.1.2.1.jar
neoforge
26.1
26.1.1
26.1.2
99.0.0
654 загрузок
· release
· SimpleDiscordRichPresence-fabric-99.0.0-build.57+mc26.1.jar
fabric
26.1
99.0.0
27 загрузок
· release
· SimpleDiscordRichPresence-neoforge-99.0.0-build.57+mc26.1.jar
neoforge
26.1
98.0.1
9 598 загрузок
· release
· SimpleDiscordRichPresence-fabric-98.0.1-build.55+mc1.21.11.jar
fabric
1.21.11
98.0.1
353 загрузок
· release
· SimpleDiscordRichPresence-neoforge-98.0.1-build.55+mc1.21.11.jar
neoforge
1.21.11
88.0.1
5 047 загрузок
· release
· SimpleDiscordRichPresence-fabric-88.0.1-build.54+mc1.21.1.jar
fabric
1.21.1
1.21.2
1.21.3
1.21.4
1.21.5
1.21.6
1.21.7
1.21.8
88.0.1
26 загрузок
· release
· SimpleDiscordRichPresence-fabric-88.0.1-build.54+mc1.21.1.jar
fabric
1.21.1
1.21.2
1.21.3
1.21.4
1.21.5
1.21.6
1.21.7
1.21.8
88.0.1
20 606 загрузок
· release
· SimpleDiscordRichPresence-neoforge-88.0.1-build.54+mc1.21.1.jar
neoforge
1.21.1
1.21.2
1.21.3
1.21.4
1.21.5
1.21.6
1.21.7
1.21.8
98.0.0
110 загрузок
· release
· SimpleDiscordRichPresence-neoforge-98.0.0-build.53+mc1.21.11.jar
neoforge
1.21.11
98.0.0
1 860 загрузок
· release
· SimpleDiscordRichPresence-fabric-98.0.0-build.53+mc1.21.11.jar
fabric
1.21.11
97.0.0
100 загрузок
· release
· SimpleDiscordRichPresence-neoforge-97.0.0-build.52+mc1.21.10.jar
neoforge
1.21.9
1.21.10
Проверка и источник
Обновлено
2026-04-20T22:55:29.546823Z
Метрики и версии читаются из публичного API без записи в внешний каталог.
Категории
social
utility