sk1mble / whisperbox Goto Github PK
View Code? Open in Web Editor NEWA small module for Foundry VTT that adds the ability to create a dedicated box for whispering to a specific player.
A small module for Foundry VTT that adds the ability to create a dedicated box for whispering to a specific player.
the text in the dialog is showing plain with no highlights or anything like that.
this makes it difficult to read and to understand what msgs where posted by who.
I should suggest to add some theming to the the dialog so that it's more readable. Some examples:
ENHANCEMENT: Another enhancement idea -> Allow the GM/User to set up a standard sound file or screen 'flash' to notify the user that they have a Whisper. The intent is to make sure that they quickly see a whispered message if they happen to be off of the Chat window (in combat or something.) Either there could be one standard sound, or each user could create a sound that was played when someone received a whispered message from them. #enhancement
Hi,
I have this warning when I start my foundry server:
module "WhisperBox" contains "system" which is deprecated in favor of "relationships.systems"
May you can fix it ?
Thank
ENHANCEMENT: It would be awesome for the box color to correspond to the User color when the target of the Whisper is a single person. It's useful for that added security of making sure you know who you are whispering. And/or the addition of their Chat picture could also server as that visual cue that you are Whispering to the wrong person.
While the latest version may be compatible with the new v12 Prototype, it cannot be installed from the addon page within Foundry in the stable release version (v11 build 315 currently). Doing so results in an error that a "more modern foundry version is required". Running a still unstable version is obviously not feasible for most parties, especially when other modules haven't been ported yet.
Hi there,
since I updated my game, whisperbox seems to be broken. I already checked, if it's depending on another module, but even when I disable all of them, the problem persists. I can't estimate, if the module itself got an update last few days, but I know, that I updated some of them plus my game system.
-- The Problem:
There is no history in the box, nor are incoming or outgoing messages displayed in there. But I can type in the messagefield and they are being sent, just in the normal Foundry-Chat and not in the box.
The box looks like this all the time in size and without text. I can adjust the size, but normally it appeared a lot smaller before.
-- The troubleshooting
I deactivated all modules (except Whisperbox and module-modules as well as the core-module), but still the whisperbox does not, what it should.
[WhisperBox] The module "WhisperBox" contains "dependencies" which is deprecated in favor of "relationships.requires"
[WhisperBox] module "WhisperBox" contains "system" which is deprecated in favor of "relationships.systems"
[WhisperBox] The module "WhisperBox" is using "name" which is deprecated in favor of "id"
[WhisperBox] The module "WhisperBox" is using the old flat core compatibility fields which are deprecated in favor of the new "compatibility" object
Plugin Version: 3.0.1
Foundry Version: 10 - Build 291
Can players open a whisper box? They cannot select each other's token, but they can target them. Perhaps they can target another player's token and open a whisper dialog that way.
I am using .7.8 version of Foundry, and have this module enabled, but the option does not seem to available. Is there something besides enabling the module that needs to be done? Thanks!
Just to let you know that Whisper Box doesn't work as intended with that module.
Attack Roll Check uses whispers to give the results to the DM, so the Whisper Box will get filled with messages during combat.
On top of that, the messages include information that the DM may not wish to share, such as the enemy's AC that the player will be able to see when checking their whisper history with the DM.
I'm also posting about the issue on Attack Roll Check's github: ElfFriend-DnD/foundryvtt-attack-roll-check-5e#8
Hey, I tried installed this today and got this error message:
Installation Failed: Whisper Box module version 2.0.0 requires a more modern Foundry VTT core version of 10.260 or greater
As it it right now, the whisper box is a nifty looking box to PM players on the sly.
It would be nice to have that :
Hello,
I love the idea of this mod.
I'm running into an issue though when we have the automatic pop up box enabled where whenever anyone whispers to anyone else, everyone's whisper boxes open.
I'm running the latest foundry 11 + whisperbox version
Hi,
Can you create a compatible version for the v9 ? The v10 it's in beta and will need time for all modules will be compatible for it.
Thanks
Inconveniently, if you are in the middle of typing a chat message while you have a whisper box open- if someone else hits enter to submit a roll or chat it switches the currently focused text entry to an open whisperbox.
Being able to whisper each player individually with this dialogue is very useful. Something that could improve it would be to be able to have all whispers which individual players on a centralized place.
Imagine a tabbed dialogue where each time is one player and the GM (or other players?) can switch between tabs to se and whisper with the different players.
Associated with this, it would be also nice to have an icon near the standard chat that would be used to open this "tabbed dialogue".
So, for full clarity, I opened the macro file you have and copied this:
//This code works with WhisperBox. Save it as a macro to give yourself an alternative method
//of launching a WhisperBox that will also work for players.
var users = game.users.contents;
var selectOptions = ""
users.forEach(user => selectOptions+=<option value = "${user.id}">${user.name}</option>\n
);
var dp = {
title:"Create a WhisperBox",
content:Pick a user:<select id="users" name="users">${selectOptions}</select>
,
//default:"whisper",
buttons:{
whisper:{
label:"Whisper", callback:() => {
let uid=document.getElementById("users").value;
console.log(uid);
let user = game.users.find(user => user.id===uid);
let name = user.name;
let opt = Dialog.defaultOptions;
opt.resizable=false;
opt.title=Whispering to ${name}
;
opt.width=400;
opt.height="auto";
opt.minimizable=true;
opt.resizable=true;
var target=uid;
var whisperbox = new WhisperBox (opt, data, target);
whisperbox.render(true);
whisperbox.getHistory();
var data = user;
Hooks.on('renderChatMessage', function(html, data){
whisperbox.getHistory();
});
}}
}
}
let d = new Dialog(dp);
d.render(true);
Then I pasted that into a macro on the hotbar, set it to script instead of chat, and tried it. I get a syntax error every time. Any advice or better instructions would be appreciated. Or, could you make the "button" to send a message to someone moved down to the bottom left player roster? and make it where dm's and players can all use it. It is very useful for players, but instead it's kind of odd to use it and doesn't really make for an obvious usage.
ENHANCEMENT: Another idea to add to a great module. It would be great if when a WhisperBox opened it could check to see if another WhisperBox was open, then just create a new tab in the current WhisperBox so that the user could easily keep the WhisperBox open, and simply tab between the different Whisper streams. #Enhancement
Would be nice to allow players to create whisperbox with other player (currently they can create a whisperbox with themselves, for permission reasons on targetting I guess) and especially with GM. Also you could use left bottom menu to open chat boxes, that solve the problem to whisp GM and actor with no token in the scene.
When I try to resize the whisper dialog, I can only do so horizontally.
Vertically doesn't work
Whenever anyone rolls a die in my game, the text within Whisper Box's text entry area gets wiped. The game I'm in is using Dice so Nice! (https://gitlab.com/riccisi/foundryvtt-dice-so-nice), but even blind GM rolls that don't display a die model for the roll wipe the text field.
Action: type text into Whisper Box instance, have someone roll a die
Expected: text entered into the Whisper Box text entry field is not wiped
Result: text entered into the Whisper Box text entry is wiped when the die is rolled
Description: Sometimes, the GM wants to secretly send message to multiple players. Sometimes you want all players to believe that the message was unique to them.
Currently when there are more than one checkbox marked, the name of all recipients are shown to EVERYONE.
Recommended solution: a Privacy checkbox (I'd recommend enabled by default) that allows each recipient to see that the message is only between the GM and them. Also recommended that this checkbox is only available from gm/gmhelper sides.
The picture below is the UNwanted behaviour:
with this enhancement, if the "privacy checkbox" is enabled, each recipient will see the message as follows, as if addressed to them only, regardless of who else is addressed:
[Sender}
To: [this_ReceiverX]
"this is a message only for u"
[Sender}
To: [other_ReceiverY]
"this is a message only for u"
Hello, is there a way for the GM to have an access to all the whisper box?
To keep track of what was said, not to spy on ;-)
Just tried to install the module and the following message appears:
Error: Whisper Box module version 1.1.1 requires a more modern Foundry VTT core version of 0.8.0 or greater
Intended or just a version needed to install mixup? On latest stable (0.7.9)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.