/MoonbouncePlus

Tweaks to Moonbounce!

Primary LanguageJavaScript

Moonbounce Plus

A userscript that adds a few features to the Moonbounce website and experience.

Features | Installation | Side Features | Known Issues | To-Do | Changelog

Features

Moonbounce Portal

Chat

  • OSRS chat effects! Use most of the chat effects you're familiar with from OldSchool RuneScape!
  • YouTube videos embedded in chat!
  • Chat Notifications when the main window is not in focus
    • Settings for controlling who to receive notifications from

Inputs

  • Quick access buttons to the Marketplace, Inventory, and Directory pages
  • Open/Close Chat keybind (default: \ for opening, Esc for closing)
    • Opening the chat will focus the chat input box
  • Remap movement keys (default: WASD for movement)
    • WASD inputs are disabled when a text input is focused
    • Both keybinds can be changed in the settings

Moonbounce Site

Abilities

  • Ponder for potential new crafting opportunities based on your inventory
  • Appraise the value of your inventory, as well as how many items are contained within (both total and unique)
  • Sort your inventory by Name, ID, Rarity, Type, Item Value, Quantity, Stack Value
  • A link to the Moonbounce Wiki page for the currently selected item in your inventory
  • A link to the Moonbounce Wiki page for the currently selected item's Sources

Data

  • Items that are missing MB+ data are highlighted with a golden background
    Please submit it if the golden background is there for more than a few hours! Note, if it's a Daily Reward, I'll likely get to it naturally.
  • Copy the info from the currently selected item to your clipboard (for data collection, such as for the Moonbounce Wiki)
    • Click on the item's image to copy the item data
    • Ctrl+Right Click on the item's image download the image with its name formatted for the wiki
  • Copy the info for the Marketplace page you're currently on to your clipboard

Utilities

  • Auto-refresh on Application Error (which happens both naturally, and due to the script)

Settings

The settings page for MoonbouncePlus is located at https://moonbounce.gg/u/@me/settings?moonbounceplus, or on the badge below.

It "takes over" the existing settings page in a way it doesn't expect, so you will see an Application Error when navigating away from it, but it should auto-refresh and behave normally from there.

Installation

  1. Install a userscript manager for your browser. I recommend Tampermonkey.
  2. Install the script by clicking
  3. After a refresh, the script should now be active on the Moonbounce website!

Side Features

This repo also contains a Python script to help generate wiki page template code. It will output a .txt file for every item in the data file into a newly created wiki folder, organised by type.

Known Issues

  • Sometimes the script fails to download the data file before you click on something, causing the script to not work properly. If this happens, simply refresh the page and try again.
  • The script may not work properly if the Moonbounce website is updated and the script is not updated to match it. If this happens, please open an issue on this repo.
  • If XHR requests are blocked by your browser, the script will not work properly. Please ensure that XHR requests are enabled for the Moonbounce website.
  • Some sites block parts of the script from running. So far I've noticed:
    • Twitter (blocks MB+ logo from appearing in the action bar)
    • Twitter (blocks YouTube videos from being embedded in chat)

To-Do

  • Add a toggle for horizontal/vertical Moonbounce Portal button layout
  • Add transparent mode to the Moonbounce Portal (ie: buttons and chat)
  • Add transparency and/or size options to the item drop notification

Changelog

Check the top of the script for the latest version and changes.