commander

Command launcher for Foundry VTT for running and registering commands executable solely by keyboard

OTHER License

Stars
4

Commander - FoundryVTT at your fingertips

Commander is a tool vaguely inspired by the likes of Launchy or Wox, and a similar feeling like SearchAnywhere, that lets you run commands from a shortcut-invoked prompt.

This module provides the command-line input and the API for registering new commands, and will provide some example and general-use commands.

Bundled Commands

  • Command info (info $command)
  • Show commands the current user can use (help)
  • Open tab (go $tab)
  • Open compendium (comp $title)
  • Run macro by name (m $name)
  • Open character sheet by Player name (player $name)
  • Open character sheet by Actor name (pc $name)
  • Open non-player character sheet by name (npc $name)
  • Apply active effect to selected tokens -just visual- (tae $effect)

It is not the intention of this module to provide commands specific to particular systems, but mostly the tooling and more generic commands applicable to anyone regardless of game system. If you have such a command that you want to share, don't be afraid to open a pull request!

For information on how to add new commands, please refer to The Wiki

Executing Commands

You can open the Commander widget by pressing (by default) Alt+Q. Shortcut is configurable ingame using the default keybinding menu.

Then you can start typing! Command suggestions will pop up as you type, you can auto-accept the selected suggestion with Tab/Enter, or select other suggestions using Up or Down. An Enter when no suggestion is selected sends the Command for execution, else it auto-fills that suggestion.

Licensing

This project is being developed under the terms of the LIMITED LICENSE AGREEMENT FOR MODULE DEVELOPMENT for Foundry Virtual Tabletop.

MIT - for more info please read the LICENSE file.

Badges
Extracted from project README
ko-fi