Skip to content

olmac116/StudioRPC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image

Made by olmac116
This is a Discord Rich Presence integration for Roblox Studio. It shows your current workspace, active script, and editing status directly in Discord!


Overview

StudioRPC is a lightweight local server and a Roblox Studio plugin that connects your Roblox Studio activity to Discord Rich Presence. It updates your Discord status with details like the current project, active script name, line count, and more in real-time.


Features

  • Displays real-time Roblox Studio workspace and script info on Discord
  • Modular Roblox Studio plugin with customizable activity info
  • Quick setup

Getting Started

Note

The local server scripts currently only support Windows (as that's all I have to test on). If you have coding knowledge for other operating systems, feel free to make your own operating system supported version!

Important

All Python scripts were made with Python 3.12. Other versions have not been tested and may cause instability and issues

Requirements

Installation

  1. Download the assets

  2. Install Python
    You can download Python from the Microsoft Store or at python.org

  3. Install Python dependencies:

    pip install flask pypresence pystray pillow pywin32 colorama
    • If that command does not work, try this:
      python -m pip install flask pypresence pystray pillow pywin32 colorama
  4. Run the server:

    cd PATH\TO\STUDIORPC # Change this to the file location of where you saved StudioRPC
    python StudioRPC.py

    Do not close the opened command prompt otherwise the local server process will be terminated.

    To kill the process/stop the connection, press CTRL + C with the command prompt window selected, or Right click "StudioRPC" in your System tray > Quit StudioRPC



    If you want StudioRPC to start automatically when you turn your computer on, run this command:

    cd PATH\TO\STUDIORPC # Change this to the file location of where you saved StudioRPC
    python StudioRPC_autostart.py

    When prompted "Do you want to add StudioRPC to startup?", type "yes" or "y" then press ENTER to confirm

  5. Add the plugin

    Open Roblox Studio, click the "Plugins" button on the upper ribbon, click "Open Plugins Folder" then drag and drop the StudioRPC.rbxmx file you downloaded previously into the opened folder

  6. Setup plugin

    • New Roblox Studio UI

      Navigate to the "Plugins" button on the upper ribbon, select "StudioRPC" then click "StudioRPC" once again.

    • Old Roblox Studio UI

      Navigate to the "Plugins" tab on the upper ribbon, locate the "StudioRPC" plugin button and click it.

    Follow the steps on the plugin window If you have made no changes to the StudioRPC.py file, you can simply press the "Skip" button at the bottom of the window.

    Otherwise, input the new Address of the hosted server (or leave blank to use default if you haven't changed it), and input the Port that the requests should use (leave blank to use the default).

Warning

The plugin limits what ports you can set to between 1024 and 65535 not only for stability and conflicts reasons, but also to avoid commonly used system ports or services.


Usage

  • The Flask server listens on http://127.0.0.1:52341 (http://localhost:52341) by default.

  • The Roblox plugin sends updates to this local server. This updates your Discord Rich Presence.

  • Your Discord profile will show your Roblox Studio status, including active script and workspace info.

Troubleshooting

  • Make sure the Discord desktop app is running.

    • This plugin will not work if you are using the Browser version of Discord.
  • Ensure there’s no firewall or antivirus blocking local port 52341 or the port you set.

  • If updates fail, restart the Flask server and Roblox Studio.

  • Check the console for error messages.

Contributing

Contributions are always welcome! Feel free to:

  • Report bugs or issues
  • Suggest improvements or new features
  • Submit pull requests
    • Please follow the existing code style and provide clear commit messages.
  • Create other operating system support

License

This project is open source and available under the MIT License.

Contact

Created by olmac116

About

Intergrate Discord Rich Presence with your Roblox Studio activity!

Resources

License

Stars

Watchers

Forks