COWMODSКаталог модов

Simple Rich Discord Presence

Simple Discord Rich Presence

Автор: Sunekaer7,7 млн97обновлён 19 сент. 2026 г.
ОбщениеУтилиты

Описание

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

Последние версии

Все версии →
release

SimpleDiscordRichPresense Fabric 26.3.0.1

26.3.0.1
19 сент. 2026 г.5,8 тыс.Minecraft: 26.3fabric
Скачать
Что нового
No changelog data found
release

SimpleDiscordRichPresense Neoforge 26.3.0.1

26.3.0.1
19 сент. 2026 г.386Minecraft: 26.3neoforge
Скачать
Что нового
No changelog data found
release

SimpleDiscordRichPresense Fabric 26.2.0.1

26.2.0.1
22 июн. 2026 г.12,3 тыс.Minecraft: 26.2fabric
Скачать
Что нового
No changelog data found
release

SimpleDiscordRichPresense Neoforge 26.2.0.1

26.2.0.1
22 июн. 2026 г.1,5 тыс.Minecraft: 26.2neoforge
Скачать
Что нового
No changelog data found
release

SimpleDiscordRichPresense Fabric 26.1.2.1

26.1.2.1
20 апр. 2026 г.8,9 тыс.Minecraft: 26.1, 26.1.1, 26.1.2fabric
Скачать
Что нового
## [26.1.2.1] ### Changed - Remove dependency on `ClothConfig` in preference for `Nanite Library` - Fixed issues with the last update for 26.1
release

SimpleDiscordRichPresense Neoforge 26.1.2.1

26.1.2.1
20 апр. 2026 г.986Minecraft: 26.1, 26.1.1, 26.1.2neoforge
Скачать
Что нового
## [26.1.2.1] ### Changed - Remove dependency on `ClothConfig` in preference for `Nanite Library` - Fixed issues with the last update for 26.1
release

[FABRIC][26.1] SimpleDiscordRichPresence 99.0.0

99.0.0
28 мар. 2026 г.732Minecraft: 26.1fabric
Скачать
Что нового
# Changelog Ported to 26.1
release

[NEOFORGE][26.1] SimpleDiscordRichPresence 99.0.0

99.0.0
28 мар. 2026 г.74Minecraft: 26.1neoforge
Скачать
Что нового
# Changelog Ported to 26.1
release

[FABRIC][1.21.11] SimpleDiscordRichPresence 98.0.1

98.0.1
22 янв. 2026 г.21,6 тыс.Minecraft: 1.21.11fabric
Скачать
Что нового
## 98.0.1 ### Fixed - The discord RPC should now shutdown properly when exiting the game.
release

[NEOFORGE][1.21.11] SimpleDiscordRichPresence 98.0.1

98.0.1
22 янв. 2026 г.686Minecraft: 1.21.11neoforge
Скачать
Что нового
## 98.0.1 ### Fixed - The discord RPC should now shutdown properly when exiting the game.