GithubHelp home page GithubHelp logo

mclemente / fvtt-chat-tabs Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 8.39 MB

Splits the Chatlog into In Character (per scene), Rolls (per scene), and Out of Character (global).

License: GNU General Public License v3.0

CSS 1.38% JavaScript 93.30% Handlebars 5.32%

fvtt-chat-tabs's Introduction

Welcome :octocat:

mclemente github stats

Top Langs

fvtt-chat-tabs's People

Contributors

cs96and avatar cswendrowski avatar david-zvekic avatar elespike avatar elizeuangelo avatar hmqgg avatar jbblily avatar lozalojo avatar lozanoje avatar mclemente avatar talaren avatar toon324 avatar zeteticl avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

kai-nashi

fvtt-chat-tabs's Issues

Creating Secret Messages Tab

Hello,
I'm running into an issue trying to figure out how to make a secret chat tab so my co-dm and me can chat back and forth.

In the "Secret GM" tab I have permissions for players as None. I've tried multiple different options for the message type. I've also tried the "Tab-exclusive message" option.

What is happening, is even though the players cannot see the "Secret GM" tab, any messages posted there gets put into their OOC tab.

I'm running Foundry v11
Thank you!

Settings tab won't open (syntax issue?)

Current environment:
Foundry Virtual Tabletop: Version 11 Stable, 11.308
Game System: dnd5e, 2.3.1

Bug: when attempting to edit the settings, the configuration window doesn't open and the console spits out a message.

Uncaught TypeError: Cannot read properties of undefined (reading 'role')
at settings.js:176:39
at Array.filter ()
at settings.js:176:6
at Array.forEach ()
at TabbedChatTabSettings.init (settings.js:168:26)
at new TabbedChatTabSettings (settings.js:135:8)
at MonksSettingsConfig.onClickSubmenuWrapper (colorSetting.js:22:25)
at 🎁call_wrapper [as call_wrapper] (libWrapper-wrapper.js:591:14)
at 🎁SettingsConfig.prototype._onClickSubmenu#0 (libWrapper-wrapper.js:189:20)
at HTMLButtonElement.dispatch (jquery.min.js:2:43184)
at y.handle (jquery.min.js:2:41168)

This can be bypassed by removing the following lines from Settings.js:

Object.keys(this.tabs[key].permissions.users)
.filter((id) => game.users.get(id).role !== CONST.USER_ROLES.GAMEMASTER)
.forEach((id) => {
this.tabs[key].permissions.users[id] = {
label: game.users.get(id).name,
value: this.tabs[key].permissions.users[id] ?? RW_PERMISSIONS.EMPTY,
};
});

Unfortunately I'm a not a coder, so I can't offer a proper fix. I'm not sure what problems could occur from running in this state, so I'm not certain if this is big issue or not. Either way, thanks for your time!

Chat Tab settings not visible in v11

I looked around the Configure Settings and couldn't find this mod. I even made a test world and enabled just this mod and it still wouldn't show up.

I'm not sure how am I suppose to make the custom tabs.

Suggestion: flag game.combats.active.id

Heya! I would love if we could have a custom tab for "Combat rolls"
to do so, all this module would need is to keep track when an Encounter have started
there is a flag for game.combats.active.id. i was wondering if you could hook it in!
Lots of love! ^^

Roll is disappearing when no scene is active

Hello

When the foundry does not have an active scene and the setting "Split In Character and Rolls per Scene" is checked, the roll result disappears after a few minutes or is never shown if you are in another tab.

You may disable any scene through the following macro:

const updates = game.scenes.map(s => ({_id:s.id, active: false}));
Scene.updateDocuments(updates)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.