Language

Simple Rich Discord Presence

Simple Rich Discord Presence

Modrinth

Simple Discord Rich Presence

5.3M downloads 82 followers updated 2mo ago
latest v26.1.2.1 Modrinth
Fabric Forge Neoforge 1.14.4 – 26.1.2 SocialUtility

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

Versions

Release
26.1.2.1
fabric · 26.1, 26.1.1, 26.1.2 · 2mo ago
## [26.1.2.1] ### Changed - Remove dependency on `ClothConfig` in preference for `Nanite Library` - Fixed issues with the last update for 26.1
4.8k
Release
26.1.2.1
neoforge · 26.1, 26.1.1, 26.1.2 · 2mo ago
## [26.1.2.1] ### Changed - Remove dependency on `ClothConfig` in preference for `Nanite Library` - Fixed issues with the last update for 26.1
295
Release
99.0.0
fabric · 26.1 · 2mo ago
# Changelog Ported to 26.1
661
Release
99.0.0
neoforge · 26.1 · 2mo ago
# Changelog Ported to 26.1
31
Release
98.0.1
fabric · 1.21.11 · 4mo ago
## 98.0.1 ### Fixed - The discord RPC should now shutdown properly when exiting the game.
10.9k
Release
98.0.1
neoforge · 1.21.11 · 4mo ago
## 98.0.1 ### Fixed - The discord RPC should now shutdown properly when exiting the game.
388
Release
88.0.1
fabric · 1.21.1, 1.21.2, 1.21.3 · 4mo ago
## 88.0.1 ### Fixed - The discord RPC should now shutdown properly when exiting the game.
5.7k
Release
88.0.1
fabric · 1.21.1, 1.21.2, 1.21.3 · 4mo ago
## 88.0.1 ### Fixed - The discord RPC should now shutdown properly when exiting the game.
34
Release
88.0.1
neoforge · 1.21.1, 1.21.2, 1.21.3 · 4mo ago
## 88.0.1 ### Fixed - The discord RPC should now shutdown properly when exiting the game.
28.9k
Release
98.0.0
neoforge · 1.21.11 · 5mo ago
## 98.0.0 ### Changed - Ported to MC 1.12.11 - Disabled KubeJS support for a while until it's updated to support newer MC versions.
118
Release
98.0.0
fabric · 1.21.11 · 5mo ago
## 98.0.0 ### Changed - Ported to MC 1.12.11 - Disabled KubeJS support for a while until it's updated to support newer MC versions.
1.9k
Release
97.0.0
neoforge · 1.21.9, 1.21.10 · 5mo ago
## 97.0.0 ### Changed - Ported to MC 1.21.9 + 1.21.10 - Disabled KubeJS support for a while until it's updated to support newer MC versions.
106

Comments 0

No comments yet. Be the first to share your thoughts.

Download Simple Rich Discord Presence

R 26.1.2.1 26.1, 26.1.1, 26.1.2 fabric 75 KB R 26.1.2.1 26.1, 26.1.1, 26.1.2 neoforge 75 KB R 99.0.0 26.1 fabric 71 KB R 99.0.0 26.1 neoforge 44 KB R 98.0.1 1.21.11 fabric 74 KB R 98.0.1 1.21.11 neoforge 78 KB R 88.0.1 1.21.1, 1.21.2, 1.21.3 fabric 74 KB R 88.0.1 1.21.1, 1.21.2, 1.21.3 fabric 74 KB R 88.0.1 1.21.1, 1.21.2, 1.21.3 neoforge 78 KB R 98.0.0 1.21.11 neoforge 78 KB R 98.0.0 1.21.11 fabric 74 KB R 97.0.0 1.21.9, 1.21.10 neoforge 78 KB R 97.0.0 1.21.9, 1.21.10 fabric 74 KB R 88.0.0 1.21.1, 1.21.2, 1.21.3 fabric 74 KB R 88.0.0 1.21.1, 1.21.2, 1.21.3 neoforge 78 KB R 91.0.0 1.21.4 neoforge 1.1 MB R 91.0.0 1.21.4 fabric 1.1 MB R 87.0.1 1.21 neoforge 1.1 MB R 87.0.1 1.21 fabric 1.1 MB R 87.0.0 1.21 fabric 1.1 MB R 87.0.0 1.21 neoforge 1.1 MB R 86.0.1 1.20.6 neoforge 1.1 MB R 86.0.1 1.20.6 fabric 1.1 MB R 6.0.2 1.20.4 neoforge 1.1 MB R 6.0.2 1.20.4 forge 1.1 MB R 6.0.2 1.20.4 fabric 1.1 MB R 6.0.1 1.20.4 neoforge 1.1 MB R 6.0.1 1.20.4 forge 1.1 MB R 6.0.1 1.20.4 fabric 1.1 MB R 86.0.0 1.20.6 neoforge 1.1 MB R 86.0.0 1.20.6 fabric 1.1 MB R 7.0.0 1.20.5 neoforge 1.1 MB R 7.0.0 1.20.5 fabric 1.1 MB R 6.0.0 1.20.4 neoforge 1.1 MB R 6.0.0 1.20.4 forge 1.1 MB R 6.0.0 1.20.4 fabric 1.1 MB R 5.0.0 1.20.2 neoforge 1.1 MB R 5.0.0 1.20.2 fabric 1.1 MB R 5.0.0 1.20.2 forge 1.1 MB R 4.0.3 1.20.1 forge 1.1 MB R 4.0.3 1.20.1 fabric 1.1 MB R 3.0.6 1.19.2 forge 1.1 MB R 3.0.6 1.19.2 fabric 1.1 MB R 3.0.5-build.37+mc1.19.2 1.19.2 forge 503 KB R 4.0.2 1.20.1 fabric 1.1 MB R 4.0.2 1.20.1 forge 1.1 MB R build.13+mc1.19 1.19 forge 500 KB R 1.0.0 1.14.4 forge 118 KB R 1.0.1 1.14.4 forge 118 KB R 1.0.2 1.14.4 forge 119 KB

Files are served directly from the original source. Modgrid does not host or modify them.