Register

Geano's Secret Rolls

An Add-on Module for Foundry Virtual Tabletop

Author: GeanoFee Project Source Foundry Versions 12+ (Verified 12) Last Updated 1 day, 1 hour ago

This package contains art, text, or software code produced using generative AI.

This module was developed using an iterative, human-led design process supported by Generative AI.

Geano's Secret Rolls

Geano's Secret Rolls is a Foundry VTT module that adds a true "Secret Roll" option to the roll mode menu.

Unlike the standard "Blind GM Roll" (which hides results from everyone but uses a placeholder card) or "Private GM Roll" (which shows a gray box to players), a Secret Roll is completely invisible to all other players. It appears only to the person who rolled it and the Game Masters.

Features

How to Use

  1. Select Secret Roll from the roll mode dropdown at the bottom of the chat log.
  2. Make your roll (attack, ability check, or /r 1d20).
  3. The result will be whispered to you and all GMs.

Technical Details

This module uses a "Ghost Roll" technique:

  1. It intercepts the preCreateChatMessage hook.
  2. If the mode is "Secret", it cancels the original system message.
  3. It manually renders the system's chat card and dice HTML.
  4. It creates a new, purely cosmetic WHISPER message containing that HTML.

This ensures that the Game System (e.g., dnd5e) cannot interfere or try to "sanitize" the roll for other players, guaranteeing total privacy.

🚀 Installation


License

This module is licensed under the MIT License.

Categories

Available Versions

  1. Version 1.0.0

    1 day, 1 hour ago
    Foundry Version 12+ (Verified 12) Manifest URL