Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/datkat21/roblox-rpc
- Owner: datkat21
- Created: 2023-01-15T23:43:34.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-15T23:53:57.000Z (almost 2 years ago)
- Last Synced: 2024-04-28T06:06:51.569Z (8 months ago)
- Language: JavaScript
- Size: 120 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.