Register

Pinned chat message

An Add-on Module for Foundry Virtual Tabletop

Author: Jideon Project Source: Project URL Versions 9+ (Verified 11.301) Last Updated 3 months, 3 weeks ago

This modules duplicate the chat tab, one with all messages and the second with pinned messages.

Allow user to pinned a chat message from the chat tab to be shown in the pinned message tab.

Allow user to unpinned a chat message.

image

 

By default, you can only pinned message that you owned if you're are not GM. But it can be change in the settings

API

The expose 3 methods by api : game.modules.get('pinned-chat-message').api.methodXXX

pinnedMessage

game.modules.get('pinned-chat-message').api.pinnedMessage(inputChatMessage) 

Pinned the input message.

The input message can be a chat message or his id

unpinnedMessage

game.modules.get('pinned-chat-message').api.pinnedMessage(unpinnedMessage) 

Unpinned the input message.

The input message can be a chat message or his id

togglePinnedMessage

game.modules.get('pinned-chat-message').api.togglePinnedMessage(inputChatMessage) 

Pinned an unpinned input message and unpinned a pinned input message.

The input message can be a chat message or his id

Categories

Available Versions

  1. Version 1.5.0

    Compatibility: 9+ (Verified 11.301) Installation Link: Manifest URL Update Notes: Read Notes
  2. Version 1.4.0

    Compatibility: 9+ (Verified 11.301) Installation Link: Manifest URL Update Notes: Read Notes
  3. Version 1.3.0

    Compatibility: 9+ (Verified 10.291) Installation Link: Manifest URL Update Notes: Read Notes
  4. Version 1.2.0

    Compatibility: 9 - 10 (Verified 10.291) Installation Link: Manifest URL Update Notes: Read Notes