DragonFlagon Chat Enhancements
Multiple improvements to the chat system feature set. Brings a new Chat Archive that lets you save your current chat log to an archive and keep the chat clean between sessions. Gives an option to replace the Roll Type dropdown menu with a set of 4 buttons. This makes switching rolls much more efficient and provides a better visual indicator for what roll you’re in.
If you want to support me or just help me buy doggy treats! Also, you can keep up to date on what I’m working on. I will be announcing any new modules or pre-releases there for anyone wanting to help me test things out!
You can now enable the Adventure Log feature for easy in-game event tracking. This feature adds the new chat command
/log that allows you to quickly add a note about something that has just happened. This command will save the event message as an entry in a designated journal. It will be formatted with a timestamp, and who made the entry.
Access the config through the settings, or by entering
/log config into the chat window. This is where you can set the target Journal for Adventure Log entries. It also gives you an option to erase the contents of the Journal. Either way, it will add a new section with a header label “Adventure Log” and will contain the logged entries.
It is NOT recommended for you to change anything in the section between the header and the horizontal line that denotes the end of the log
Log Command Help
At any time you can simply enter
/log into the chat to display the help dialog
||Logs a simple event message to the adventure log.|
||Adds an entry Quote of the “Source”.|
GM Only Log
For any of the above commands, you can use
/gmlog instead and the event/quote will be sent to the GM Only Adventure Log instead.
Right-Click Add to Log
You can right-click chat messages to add their contents as an Event or as a Quote. When adding as a quote, it will use the original message’s sender as the Quote Source
You do not need to add quotes around the Source Name, unless there are spaces in the name. Such as the following:
/log q Bobby McFerrin Don't worry, be happy! Will output into the log
[2021-02-12 4:35PM] (Susan) Bobby said: “McFerrin Don’t worry, be happy!”
Instead if you add quotes around the name, it will allow the spaces.
/log q "Bobby McFerrin" Don't worry, be happy! Will output into the log
[2021-02-12 4:35PM] (Susan) Bobby McFerrin said: “Don’t worry, be happy!”
You can post messages to the Adventure Logs using a custom Macro. To do so, simply use the following:
// Log an Event to the Adventure Log AdventureLog.event("Something happened!") // (GM Only) Log an Event to the GM Adventure Log AdventureLog.gmevent("The players did something!") // Log a Quote to the Adventure Log AdventureLog.quote("Bob", "Don't worry, be happy!") // (GM Only) Log a Quote to the GM Adventure Log AdventureLog.gmquote("Bob", "Don't worry, be happy!") // If you want the event/quote posted to the chat, add "true" to the call AdventureLog.event("Something happened!", true) AdventureLog.quote("Bob", "Don't worry, be happy!", true) // (GM Only) GM logs will be whispered to yourself AdventureLog.gmevent("The players did something!", true) AdventureLog.gmquote("Bob", "Don't worry, be happy!", true)
Roll Selector Buttons
|Private GM Rolls|
|Blind GM Rolls|
The chat archive is a large component of this module. It allows you to save either all of your current messages, or a selected date range of messages. When you save the messages, you can choose to have them automatically deleted from the chat log. Once you have an archive, you can go to the settings tab and click the new “Manage Chat Archive” button to see your archives. Simply click any archive and it will open a viewer window where you can see the old chats!
To create an archive, simply click the new “Archive chat log” button that is now beside the “save” and “delete” buttons in the chat sidebar.
Create Chat Archive Window
|All chats||Date range of chats|
The windows is fairly self explanatory, you can select all the current chat messages for archiving, or you can select a local date range.
Manage Chat Archives
You can view and delete archives from the archive manager. You’ll find the button in the sidebar settings tab. You can also see which ones are visible to your players
Edit Archive Name
GMs will see a simple Pencil icon next to the Archive’s name. Clicking this will open the name editing dialog.
GMs will see the typical Trash Can button on archived messages that allows them to delete them individually.
When viewing a Chat Archive, GMs will see a Merge button in the top right corner. This button presents a Dialog where you can select one of your other archives which can be merged into the one currently being viewed. It also gives a checkbox that if checked will delete the other archive that is being merged into the currently viewed one.
|Manage Archives||View Archive||Edit Archive Name||Archive Merge|
Edit Sent Messages
You will now see a little edit button in the top right of messages you are allowed to edit. Clicking this will display a dialog that lets you change the contents of the message. It will also add the “(edited)” flavour to the message to show that it has been modified.
Edit Last Message Keyboard Shortcut
A keyboard shortcut has now been added to allow you to quickly edit your most recent message you sent. While in the chat box, simply press
[Shift]+[Up] on the keyboard. An edit message dialog will immediately appear for the most recent message you sent.
Better Chat Log Scrolling
Currently in Foundry if you scroll up through the chat log, it will automatically jump back down as soon as someone posts a message or makes a roll. This can be frustrating if you’re trying to find something mid-game.
This feature prevents that auto-scroll and instead will give you a “Scroll To Bottom” button that you can click to quickly get back down. Also, if new messages are posted to the chat, the button will pulse and say “New Message!” on it.
|Scroll To Bottom Button||Scroll To Bottom with New Message|
Chat Message Merging
You will now be able to have messages merged in the chat. There are various settings for customizing the look and feel of the chat merges.
|Chat Merging GM||Chat Merging PC|
By default, the message headers of merged messages are hidden (except for the top message). These headers contain the delete button for GMs, the timestamp for the message, and (if you have it enabled) the edit button for the message. By default, the headers will not be shown in order to keep things more compact. But there is an option to show the headers in the module settings. When headers are hidden, GMs will still be able to see the Delete button for messages, it will just be shifted down and the message content given a small padding on the right.
There is an option for merged messages to display a thin divider between them. This adopts the border colour of the messages.
|With Divider||Without Divider|
Merged Messages are set to display a faint shadow when you hover over them. I recommend you keep this on if you have the Message Divider feature disabled.
Rolls can be merged in an independent way. You have three choices, No Merging, Merge with other Rolls, and Merge With Any. Below demonstrates the visual differences between the three options:
|No Merging||Merge with other Rolls||Merge With Any|
Whisper Recipient List Truncation
Now when you whisper a message to a list of users, the Recipient List at the top of the message is truncated if it is too long. There are some games that have many GM users and hitting up
/w gm ... can make a very massive chat message. Instead it will truncate the list and say how many more names there are. You simply have to hover your mouse over the visible names and the rest will show in the mouse-over hint bubble.
Formatted Message Text Selectable
Core Foundry prevents the selection of text in ANY part of Foundry. This means sections need to be re-enabled for user text selection. Messages currently allow it, but only for the plain text part. If you attempt to select “formatted” or stylized text such as this:
"Hello, my name is <b>Bob</b>". The
<b> makes the text “Bob” bold, and cannot be selected. DF Chat Enhancements makes it possible to select any and all text within a regular message (any message that is not a Roll).
- Chat Log and Messaging
- Overhauls or Feature Suites
- Journals and Notes