Skip to content

Latest commit

 

History

History
46 lines (37 loc) · 3.05 KB

README.md

File metadata and controls

46 lines (37 loc) · 3.05 KB

This repository is unmaintained, contact me via Discord at RigidStudios#6315 if you wish to maintain it, this does not mean that the code does not work.

This repository is now being maintained by Error-Cezar

To Note: This current version is now deprecated, a new version is being rewritten (as of 06/14/2023)

roblox-discord-presence

A plugin/local http server pair which connects to your discord client and sets your development status.

Feel free to contribute code, README contributions must be substantial.

Examples

My own Rich Presence A friend's Rich Presence alt text

Features

  • Customizable Text.
  • Script context variables:
    • $SCRIPT_NAME - Name of the script currently being edited.
    • $SCRIPT_LINES - Count of the script's lines.
    • $SCRIPT_PARENT - Name of the script's parent.
    • $ACTIVITY:... - Activity status (Idle/Away) or if a script is actively being edited, selects text after the :.
    • $WORKSPACE - Place name/File name.
    • $PLACE_ID - Place name/"0".
    • $PLACE_PUBLISHED:...:... - If place published then first option otherwise second option.
    • (More to come, feel free to add your own)
  • Supports buttons (2 max.)
  • In-Studio configuration UI.
  • Toggleable.

Installation

  • The plugin is available here (DRPC_client), and here (direct plugin).
  • The server is slightly more complicated to set up:
    • To begin, you'll need an installation of Node.
    • Next, download the DRPC_server, extract the files from the zip into a new folder.
    • Launch the command prompt in that file.
    • Run npm i followed by node index.js (The latter will be your startup command whenever you need it running).
    • As of right now, you'll be required to launch it at startup yourself until I make it a windows service, and you'll also have to keep the command prompt open.
  • Once the plugin and server are running on a place at the same time, you should see your rich presence change as long as your discord settings are correct: User Settings > Game Activity > Display currently running game as a status message -> Enabled.

If it doesn't work and you've correctly followed the steps, either contribute to this very barebones installation guide to fix it for others, or submit an issue.

Special Thanks to

@BaileyEatsPizza - Scripting

@va1kio - UI Design/Scripting

@Kunal0004 - Testing