Simple Dice Roller

by yeeshue99
5
4
3
2
1
Score: 42/100

Description

Category: Note Enhancements

The Simple Dice Roller plugin is a convenient tool for Obsidian users who frequently work with dice formulas in their notes. With this plugin, you can easily simulate or average all dice formulas on your current page, without having to manually calculate them. Simply open the command palette and search for "Simple Dice Roller" to access the available commands. You can also assign shortcuts to these commands for quick access. The plugin is designed to be intuitive and easy to use, with clear screenshots illustrating its functionality. Whether you're a roleplayer or just need to calculate complex dice formulas, this plugin makes it simple to get the results you need.

Reviews

No reviews yet.

Stats

3
stars
6,507
downloads
0
forks
1,437
days
1,416
days
1,416
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
2
total issues
1
open issues
1
closed issues
0
commits

Latest Version

4 years ago

Changelog

Added functionality to simulation as well

README file from

Github

Simple Dice Roller

This is a simple, plug-and-play dice roller that searches the current, active leaf and will simulate or average all dice formulas, regardless of where they are.

How to use

  • Simply install the plugin, then open the command pallette (CTRL+P by default), and search up Simple Dice Roller to see all available commands.
  • You can assign shortcuts to the commands by going to Settings -> Hotkeys and then searching up Simple Dice Roller.
  • Ribbon icons are available in Settings -> Plugin Option -> Simple Dice Roller
  • Upon calling any of the commands, the plugin will search the current page for any dice formulas, defined as (XdY+Z). That is a number followed by a d followed by another number, and an optional +. There can be any number of dice. That is 1d10+2d6+4 is a valid formula, and will be calculated as a single formula.
  • If there are no dice, the plugin will simply exit, providing an appropriate alert error.

Screenshots

  • Average All Dice in action

Average Image

  • Simulate All Dice in action

Simulate Image

  • When no dice are on the current page

No Dice

Manually installing the plugin

  • Copy over main.js, styles.css, manifest.json to your vault VaultFolder/.obsidian/plugins/simple-dice-roller/.

LICENSE

This project is licensed under the MIT license.