Coder Social home page Coder Social logo

whisperbox's People

Contributors

linkedfluuuush avatar sk1mble avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

whisperbox's Issues

[Suggestion] Improve dialog UX

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:

  • Make the name of the the user/actor BOLD
  • make it have a similar look to the day to day msg apps that everyone use (like messenger, and discord)
  • Use the colour of the players to help highlight the msgs of each player
  • etc...

Enhancement: Notice (Sound/Flash)

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

Color code box

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.

Latest version cannot be installed in Foundry v11

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.

grafik

Since Update: Whisperbox is broken

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.
image
image

-- 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.
image
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.
image

Several warnings in console

[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

Player to player whispers

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.

Option not appearing

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!

Incompatible with Attack Roll Check D&D5e module

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.
image

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

Installation issue

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

Reply to PMs, player shortcut to PMs

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 :

  • when a player receives a PM, a popup dialog box appears that looks like the DMs, where they can carry on the convo
  • might be an oversight, but if I (DM) have the whisper box module enabled, the players do too, but when they click it, they message themselves. And it makes sense - the object querries the current selected player. But could it be instead smth like : if role=player, whisper to DM else whisper to selected player ?...

v9 compatiblity

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

[Suggestion] expand the dialogue functionality & UX

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".

I copied the macro into a foundry macro and can not get it to function.

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.

Modal / Tabbed WhisperBox

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

[Suggestion] Allow players to create whisperbox too

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.

Text entry in Whisper Box is wiped whenever anyone rolls a die

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

Whisperbox completely broken

Whisperbox after an update completely broken with a JS Error in the console:

Whisperbox-Bug

Not rendering any message, but appears in the Chat.

[Enhancement] Make recipient unaware of other recipients

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:
image

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"

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.