jacobwojoski / dice-stats

A Module for Foundry VTT that tracks and displays dice stats
MIT License
7 stars 6 forks source link

Dice Stats

A foundry vtt module to view dice stats (Number of each roll in a Chart! See Below)
Currently stats are stored by parsing chat. If the user joins the game late after rolls were made
they will only get data from that point on unless Auto DB Setting is enabled. Original Idea was from Catan Online end-of-game dice stats screen and wanted something similar to let players look at during or the end of a session.

Used Google Charts as a charting library. (MIT License) Used Roll Tracker Module(MIT License) as a starting point but
Wanted the ability to track multiple dice types. This Basically lead to a full rewrite as I wanted a more OOP appreach for data storage.

MISC Design Settings

DESIGN PHILOSOPHY

The original design philosophy was a way to view SESSION stats. Rolls will always avg out over long periods of time so personaly I only wanted to look at per session data. Because of this the implementation resets stats when leaving in joining. There is now a DB setting if you would like stats to stay between sessions

DEPENDENCIES

socketlib | socketlib Foundry Page Socketlib needs to be active to allow GM to tell other users to push blind rolls.

CONTRIBUTIONS

SVG IMAGES - CREATIVE COMMONS V3.0

INCOMPATABILITIES (Add an Issue for any System Requests)

Features

Form Info and Features (Individual)

Form Info and Features (Global)

Dice Types Supported

Tracks multiple dice types. Currently supporting types are:

Module Settings (Not All are Implemented Yet)

[Def: XX] = Default value for setting
(Global) & (Local) = setting scope
Global Settings are restricted to GM only by default

Install

If prerelease version is desired the user can add to module folder by hand by placing it in

$/PATH_TO_FOUNDRY_DATA(Prolly AppData foulder on windows)/Sources/Modules

Usage

PLAYER ICONS

PF2E Specific Settings

OTHER FEATURES

FORM PHOTOS

Player Comparison Screen

Comparison Screen

Player D20

PL D20

Player D20 BLIND

PL D20 B

GLOBAL D20 BLIND

GLB D20 B

CHECKBOXES

CHK

Global Clear Local Data Button

GLB CLR