Terminal v1.3.5


changes

  • (experimental) Terminal can be opened through a macro instead of token movement
  • support for multiple GMs
  • many bug fixes

macro

running Terminal from a macro is likely not desired from many but I generally want to support any features people request

How to run from a macro

keep in mind this is different from the recommended route of having a token “walk” onto the tile. This requires more configuration and definitely is aimed at the more tech savy GMs who like to tinker with things.

In order to use the macro you can follow these steps:

  1. Upgrade to latest
  2. Open your compendium and you should see a new entry for “Terminal Macros”

image.png

  1. open context menu (right click windows or two finger click on mac) on either an individual macro or on the compendium itself and import macros
  2. I recommend using “Monk’s Active Tile” module to supply either macro with arguments.
  3. You will need to pick if you want to open the Terminal for all users, or for a specific user. They both are their own macro. So, in Monk’s Active Tile menu select the appropriate one.
  4. Fully configure a Terminal tile in the scene. (There is a requirement that all users and GM are viewing the scene which this will happen in)
  5. Take the Tile ID and supply it as the first argument.
  6. (optional if using a macro for a single user) as a second argument (Monk’s Active Tiles expects arguments to be separated by spaces) provide a User’s ID
  7. Activate the tile, which runs the macro

image.png

I’m going to edit my previous comment that contained an example macro since one is now included in the module.

Changelog

Version 1.3.5

Bugs squashed

  • a couple quick tile form hot fixes, form changes should all apply immediately and not require a “save” button press.

Version 1.3.4

Features

  • Allow for Terminals to be opened through macros
    • included two macros in a compendium, one for opening a Terminal for 1 user, another for opening for all. I do recommend using the included macro and not the one I posted in an Itch.io comment since the compendium macro has lots of nice validation and error handling
    • this can be used with the Monk’s Active Tiles module to allow for more use cases outside of token movement based opening
  • fix issue of the close button not being visable when an error occured with a Terminal
  • major internal code changes, switched over to using a Handlebars render template instead of just a large html string
  • give a warning when deleting a style that is in use in the current scene
  • better error messages when a tile is misconfigured

Bugs squashed

  • some validation which was causing bugs and was removed is now fixed and brought back in
  • wasn’t performing a check on if a Terminal is already open in some cases. That’s been fixed
  • rolled back accordian functionality and other of tile settings changes. The form changes brought in 1.3.0 are not up to standards. Best to keep things simple here.
  • will now check if a permission change needs to occur right before instead of right when the Terminal opens. This would have occurred if multiple people had the Terminal open and someone updated the default ownership before another closed the Terminal.
    • this allowed me to remove the need to provide the journal permission up front

Version 1.3.3

  • add an experimental way to run Terminal through Macros

Version 1.3.2

  • hotfix for bugs introduced with 1.3.1
  • form validation completely failed to interact with the form fix I brought in 1.3.1

Version 1.3.1

Deprecation: I am deprecating the entry and exit macros and fully removing them in release version 2.0.0. See here for more info.

Features

  • 🧑‍🤝‍🧑 support multiple GMs
    • I’ve known that there would be bugs surrounding multiple GMs. So, I finally gave a full look over.
    • generally a random GM is chosen and will have them used as the proxy to authenticate any API call
    • has better error handling for if no GM is connected
  • Form better clarifies who runs macros

Bugs squashed

  • fixed a form issue with the Tile settings from the known issues in last version

Get Foundry Terminal

Buy Now$4.99 USD or more

Comments

Log in with itch.io to leave a comment.

I’ve found a bug in how macros are ran which prevents them from running. I will push out a new version 1.3.6 soon 🙇