A crazy experiment of using _Discord_ as a backend for Multiplayer Piano
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Lamp 0a290c4c10
Update README.md
4 years ago
README.md Update README.md 4 years ago
mpvd.user.js fix userset, store token in localStorage 4 years ago

README.md

MPP via Discord

A crazy experiment of using Discord as a backend for Multiplayer Piano. Using a Discord client, MPP's JSON data is sent to and received from a Discord server across multiple channels. Participants are based on members online. Supports notes, cursors, chat, and name changes.

Instructions

  1. Install Tampermonkey if you don't already have a userscript manager.
  2. Install the userscript.
  3. Join the Discord server.
  4. On your Developer Portal, create an app with a bot user.
  5. Invite it to the Discord server by generating an OAuth2 URL with the 'bot' scope and pasting it into your browser.
  6. Navigate to http://www.multiplayerpiano.com/mpp-via-discord and the script should activate.
  7. Paste the bot's token when prompted. This token will be stored in localStorage.token. You can change it with the local storage inspector of your developer tools.

Screenshot

Screenshot