mouse0270 / Beyonds-Toolbox

MIT License
23 stars 6 forks source link

Beyond's D&D Toolbox

Beyond's D&D Toolbox is a chrome extension I built to add some specific functionality to D&D Beyond's website that I really wanted for my games. It currently include's a varity of modules that are either indepentdent or rely on one another. These modules and their features are listed below.

Features

Notes

The toolbox includes a custom area that allows you to create and track individual notes. This is a very basic note taking feature is really only an textarea that lets you write quick simple notes. This was added, because I hate the DM notes section of on Beyonds website, because it seems complicated to use, so this allows me to quickly create different note tabs and take notes on any page.

Initiative Builder

Probably the reason you are here, The initiative tracker allows you to track players and monsters initiative during combat. You can add players either from a campaign or create custom players and add them. Monsters are added by first building encounters. These encounters can be added to the initiative tracker. You can add more than one encounter at a time to the initiative.

Initiative Round Tracker

Add the ability to track rounds showing a round number and the estimated time elasped based off the round.

Campaign / Custom Player Selection

This area of the toolbox allows you to select players from any of your campaigns and add them to the initiative order. You are also able to create custom characters for players or NPC's that may not exist inside on D&D Beyond's system. Custom Players include a link, incase your characters are on another system and you would like to quickly view that page by clicking on the "View" button in the initiative order.

Async Dice Roller

Previously referred to as the Predictive Dice Roller, and was renamed, well because it is my plugin and I liked the sound of Async Dice Roller more. This feature scans the page for anything that looks like a dice roll and makes it a clickable link, once you click on the link you will get a popup that will show you the roll with each individual rolls and a total value for all rolles. The popup even includes an option to reroll the dice so that you can easily reroll the results.

Options Page

You should now be able to turn on or off each individual portion of the extension. Don't like the notes section, flip it off. Don't like the async dice roller, turn it off. Don't like the creators being highlighted in the forums, turn it off.

Dice Roller

This is a very simple dice roller built into the toolbox. It allows you to choose the number of dice you would like, the number of sides and a modifier. If you want to roll multiple dice at a time, you simple hit the add dice option in the bar and it will add more dice. When you have multiple dice available you will get a new button that says roll all. I personally use this feature to roll for (dis)advantage by adding two dice rolls that are both 1d20 plus my modifier and hit "Roll All". It will give me the result for both rolls and I can choose which one to use.

Content Sync **

This is currently a feature in testing and may be removed at a later time. This feature causes the toolbox to update with changes made on other tabs when you change tabs. Meaning if you have multiple tabs open and change something in the toolbox on one tab and then switch to another page, the toolbox well have the updated information. So if you modify the health of a monster on one page, it will be updated on the other page when you switch tabs. Cool feature right? Well it comes with an annoying setback, currently it basically rebuilds the entire toolbox, meaning besides the main collapsible's will save their stat but everything else will default to closed. Test it out and let me know what you think.

Character Sheet Roller **

This is probably one of the simplest dice rollers that could it exist. it uses the form of XdX+X . Meaning you can roll a 2d6 with a +3 modifier or you can roll 1d9 with a -5 modifier. It does no checking to verify the sides of dice you choose is an actual die, it just lets you have free range on anything you want.

Please note that features with a double astricks are not currently implemented, they are either planned features or features that have not made the conversion to open source code yet. These features are still being worked on.

Compatibility with other plugins

This is just a small note I would like to point out, there are currently two other plugins for Beyond's website that I am aware of D&D Beyond Interaction by BitsInBytes and Beyond Help by Kabalistus. Both of these plugins are great additions to Beyonds website. I do try to make sure my plugin works well with Beyond Help however, as I don't use D&D Beyond Interaction due to our plugins covering very similar things (Dice rolling for Monsters and Players) there may be incompatibilties.

Todo

  1. Content Sync
  2. Character Sheet Roller
  3. Update Encounters
  4. Toolbox Dice Roller

Changelog