All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Simple Rich Discord Presence

Simple Rich Discord Presence

by Sunekaer • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3
Fabric
2d ago 1
26.3
Neoforge
2d ago 1
26.2
Fabric
2d ago 1
26.2
Neoforge
2d ago 1
26.1.x
Fabric
2d ago 1
26.1.x
Neoforge
2d ago 1
26.1
Fabric
2d ago 1
26.1
Neoforge
2d ago 1
1.21.11
Fabric
2d ago 1
1.21.11
Neoforge
2d ago 1
1.21.x
Fabric
2d ago 1
1.21.x
Fabric
2d ago 1
1.21.x
Neoforge
2d ago 1
1.21.11
Neoforge
2d ago 1
1.21.11
Fabric
2d ago 1
1.21.x
Neoforge
2d ago 1
1.21.x
Fabric
2d ago 1
1.21.x
Fabric
2d ago 1
1.21.x
Neoforge
2d ago 1
1.21.4
Neoforge
2d ago 1
1.21.4
Fabric
2d ago 1
1.21
Neoforge
2d ago 1
1.21
Fabric
2d ago 1
1.21
Fabric
2d ago 1
1.21
Neoforge
2d ago 1
1.20.6
Neoforge
2d ago 1
1.20.6
Fabric
2d ago 1
1.20.4
Neoforge
2d ago 1
1.20.4
Forge
2d ago 1
1.20.4
Fabric
2d ago 1
1.20.4
Neoforge
2d ago 1
1.20.4
Forge
2d ago 1
1.20.4
Fabric
2d ago 1
1.20.6
Neoforge
2d ago 1
1.20.6
Fabric
2d ago 1
1.20.5
Neoforge
2d ago 1
1.20.5
Fabric
2d ago 1
1.20.4
Neoforge
2d ago 1
1.20.4
Forge
2d ago 1
1.20.4
Fabric
2d ago 1
1.20.2
Neoforge
2d ago 1
1.20.2
Fabric
2d ago 1
1.20.2
Forge
2d ago 1
1.20.1
Forge
2d ago 1
1.20.1
Fabric
2d ago 1
1.19.2
Forge
2d ago 1
1.19.2
Fabric
2d ago 1
1.19.2
Forge
2d ago 1
1.20.1
Fabric
2d ago 1
1.20.1
Forge
2d ago 1
1.19
Forge
2d ago 1
1.14.4
Forge
2d ago 1
1.14.4
Forge
2d ago 1
1.14.4
Forge
2d ago 1
1.14.4
Forge
2d ago 1
1.15
Forge
2d ago 1
1.15.1
Forge
2d ago 1
1.15.2
Forge
2d ago 1
1.15.2
Forge
2d ago 1
1.15.2
Forge
2d ago 1
1.16.1
Forge
2d ago 1
1.15.2
Forge
2d ago 1
1.16.1
Forge
2d ago 1
1.16.2
Forge
2d ago 1
1.16.3
Forge
2d ago 1
1.16.x
Forge
2d ago 1
1.16.5
Forge
2d ago 1
1.18
Forge
2d ago 1
1.18.x
Forge
2d ago 1
1.19
Forge
2d ago 1
1.19
Fabric
2d ago 1
1.18.2
Fabric
2d ago 1
1.18.2
Forge
2d ago 1
1.18.2
Fabric
2d ago 1
1.18.2
Forge
2d ago 1
1.19
Fabric
2d ago 1
1.19
Forge
2d ago 1
1.19.x
Fabric
2d ago 1
1.19.x
Forge
2d ago 1
1.18.2
Fabric
2d ago 1
1.18.2
Forge
2d ago 1
1.18.2
Fabric
2d ago 1
1.18.2
Forge
2d ago 1
1.19.2
Fabric
2d ago 1
1.19.2
Forge
2d ago 1
1.19.2
Fabric
2d ago 1
1.19.2
Forge
2d ago 1
1.18.2
Fabric
2d ago 1
1.18.2
Forge
2d ago 1
1.19.2
Fabric
2d ago 1
1.19.2
Forge
2d ago 1
1.19.2
Fabric
2d ago 1
1.19.2
Forge
2d ago 1
1.18.2
Fabric
2d ago 1
1.18.2
Forge
2d ago 1
1.18.2
Fabric
2d ago 1
1.18.2
Forge
2d ago 1
1.19.x
Fabric
2d ago 1
1.19.x
Forge
2d ago 1
1.20
Fabric
2d ago 1
1.20
Forge
2d ago 1
1.20.1
Fabric
2d ago 1
1.20.1
Forge
2d ago 1
1.20.1
Forge
2d ago 1
1.20.1
Fabric
2d ago 1
No changelog data found
No changelog data found
No changelog data found
No changelog data found
## [26.1.2.1]

### Changed

  • Remove dependency on ClothConfig in preference for Nanite Library
  • Fixed issues with the last update for 26.1
## [26.1.2.1]

### Changed

  • Remove dependency on ClothConfig in preference for Nanite Library
  • Fixed issues with the last update for 26.1
# Changelog

Ported to 26.1
# Changelog

Ported to 26.1
## 98.0.1

### Fixed

  • The discord RPC should now shutdown properly when exiting the game.

## 98.0.1

### Fixed

  • The discord RPC should now shutdown properly when exiting the game.

## 88.0.1

### Fixed

  • The discord RPC should now shutdown properly when exiting the game.

## 88.0.1

### Fixed

  • The discord RPC should now shutdown properly when exiting the game.

## 88.0.1

### Fixed

  • The discord RPC should now shutdown properly when exiting the game.

## 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.

## 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.

## 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.

## 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.

## 88.0.0

### BREAKING!

  • The config system has moved over to json5! Please make sure to update your config files before updating your modpacks to this version!
  • The config is now commented and the dimension system has been reworked!

### Added

  • Json5 config for comments and better structure
  • New dimension matching system that allows for more complex dimensions to support modded dimensions better

### Fixed

  • Fixed issues with KubeJS integration

### Changed

  • Reduced the jar size significantly by forking the IPC library and migrating core features to minecraft compatible libraries. We've also fixed up that library and improved it.

## 88.0.0

### BREAKING!

  • The config system has moved over to json5! Please make sure to update your config files before updating your modpacks to this version!
  • The config is now commented and the dimension system has been reworked!

### Added

  • Json5 config for comments and better structure
  • New dimension matching system that allows for more complex dimensions to support modded dimensions better

### Fixed

  • Fixed issues with KubeJS integration

### Changed

  • Reduced the jar size significantly by forking the IPC library and migrating core features to minecraft compatible libraries. We've also fixed up that library and improved it.

## 91.0.0

### Added

  • Ported to 1.21.4

### Changed

  • Removed KubeJS support in preference for configs.

## 91.0.0

### Added

  • Ported to 1.21.4

### Changed

  • Removed KubeJS support in preference for configs.

## 87.0.1

### Added

  • Added KubeJS Support back to the NeoForge version

## 87.0.1

### Added

  • Added KubeJS Support back to the NeoForge version

## 87.0.0
Update to 1.21

## 86.0.1

### Changed

Buttons can be added by adding the following to the mods config file. You can have up to 2 buttons. Each button can have a label up to 32 characters long.

If you do not want to have buttons, you can leave the buttons array empty.

``json
{
"buttons": [
{
"label": "Google",
"url": "https://www.google.com"
},
{
"label": "Yahoo",
"url": "https://www.yahoo.com"
}
]
}
``

## 87.0.0
Update to 1.21

## 86.0.1

### Changed

Buttons can be added by adding the following to the mods config file. You can have up to 2 buttons. Each button can have a label up to 32 characters long.

If you do not want to have buttons, you can leave the buttons array empty.

``json
{
"buttons": [
{
"label": "Google",
"url": "https://www.google.com"
},
{
"label": "Yahoo",
"url": "https://www.yahoo.com"
}
]
}
``

## 86.0.1

### Changed

Buttons can be added by adding the following to the mods config file. You can have up to 2 buttons. Each button can have a label up to 32 characters long.

If you do not want to have buttons, you can leave the buttons array empty.

``json
{
"buttons": [
{
"label": "Google",
"url": "https://www.google.com"
},
{
"label": "Yahoo",
"url": "https://www.yahoo.com"
}
]
}
``

## 86.0.1

### Changed

Buttons can be added by adding the following to the mods config file. You can have up to 2 buttons. Each button can have a label up to 32 characters long.

If you do not want to have buttons, you can leave the buttons array empty.

``json
{
"buttons": [
{
"label": "Google",
"url": "https://www.google.com"
},
{
"label": "Yahoo",
"url": "https://www.yahoo.com"
}
]
}
``

## 6.0.2

### Added

  • Added support for custom buttons

Buttons can be added by adding the following to the mods config file. You can have up to 2 buttons. Each button can have a label up to 32 characters long.

If you do not want to have buttons, you can leave the buttons array empty.

``json
{
"buttons": [
{
"label": "Google",
"url": "https://www.google.com"
},
{
"label": "Yahoo",
"url": "https://www.yahoo.com"
}
]
}
``

### Fixed

  • Fixed the borked reimplementation of KubeJS support. This should now work correctly.

## 6.0.2

### Added

  • Added support for custom buttons

Buttons can be added by adding the following to the mods config file. You can have up to 2 buttons. Each button can have a label up to 32 characters long.

If you do not want to have buttons, you can leave the buttons array empty.

``json
{
"buttons": [
{
"label": "Google",
"url": "https://www.google.com"
},
{
"label": "Yahoo",
"url": "https://www.yahoo.com"
}
]
}
``

### Fixed

  • Fixed the borked reimplementation of KubeJS support. This should now work correctly.

## 6.0.2

### Added

  • Added support for custom buttons

Buttons can be added by adding the following to the mods config file. You can have up to 2 buttons. Each button can have a label up to 32 characters long.

If you do not want to have buttons, you can leave the buttons array empty.

``json
{
"buttons": [
{
"label": "Google",
"url": "https://www.google.com"
},
{
"label": "Yahoo",
"url": "https://www.yahoo.com"
}
]
}
``

### Fixed

  • Fixed the borked reimplementation of KubeJS support. This should now work correctly.

Simple Rich Discord Presence Icon
Download Simple Rich Discord Presence
Select game version
Select platform