module

Chat Commander

Endorsements
0
Installs
12.33%
Comments
0
Latest version2.0.2
Minimum Core11.299
Compatible Core12.324
File size19.42 KB
Last updated5 months ago
Created3 years ago
Authors
Languages Deutsch
English
Polski
Systems All systems
Project source Project URL
Report bugs Bug tracker URL
Read-me Readme URL
Changelog Changelog URL
License License URL

This module provides sophisticated autocompletion capabilities for commands and their parameters. It is meant to be used by other modules to keep a tidy (and conflict free) list of chat commands.

Features

  • Global command list with configurable autocompletion
  • Core command autocompletion
  • Command aliases
  • Conflict handling with aliases and namespacing
  • Role based command access
  • Asynchronous commands
  • Autocompletion for registered commands (including asynchronous autocompletion)
  • Command hook to react to invocations and modify the resulting message

Core commands

While this module's primary purpose is to provide centralized command handling for other modules, it does implement autocompletion for existing FoundryVTT commands.

Whisper

For the core whisper command, you can type @ to quickly initiate a private message. Autocompleting a user name will insert the full whisper syntax (also respecting spaces in the user's name).

When you then type a comma (,), you can append additional users. Again, the module will adjust the syntax as needed.

Keep in mind that @ is only a convenience for autocompletion and not a known FoundryVTT command. Pasting something like @GM How are you? into the chat will not send a private message.

Whisper example

Roll

For rolling dice, the module provides some syntax guidelines. The level of detail depends on the amount of maximum entries in your (per user) configuration.

It also tracks your 5 recent rolls and suggests them proactively. This is independent of the roll mode (e.g. blind or public).

Roll example

Developing commands

Please check the module's developer documentation for details and examples to add and autocomplete your own commands.

 
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x