Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/datkat21/roblox-rpc

Roblox rich presence client
https://github.com/datkat21/roblox-rpc

Last synced: 7 days ago
JSON representation

Roblox rich presence client

Awesome Lists containing this project

README

        

# Roblox Discord Rich Presence

Shows the game you're playing inside Roblox.

## Preview

Member list

![](screenshots/rpc.png)

User popout (provides a link to the user's profile)

![](screenshots/popout.png)

In-game (avatar thumbnail switches to headshot and provides a link to the game)

![](screenshots/in_game.png)

## ⚠️ Important Notice

This program is kind of unstable and can crash sometimes due to the API timing out randomly. I'm unsure how to fix it, so I am just warning you that this can happen.

## Setup

You will need to provide your roblox cookie in order to use it. Follow these steps to add your cookie and start using the presence:

1. Make sure the repository is cloned locally
2. Create the `.env` file and enter your [.ROBLOSECURITY cookie](https://roblox.fandom.com/wiki/.ROBLOSECURITY), like this:
```
ROBLOX_COOKIE=Your_Roblox_Cookie_Here
```
**Side note: Do not share the cookie with anyone, keep it only to this .env file, as it is basically your account session which means anyone could access it if they have the cookie!**
4. Run the script using `npm start`.

## Configuration

You can configure some parts of the script in the `config.js` file. This includes the API polling interval, how detailed the presence should be, and what links to show.