Giter Club home page Giter Club logo

roblox-discord-presence's Introduction

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.

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.