Posted October 12, 2024 by Casper Gaming
Hi all, today this plugin received an update to version 1.4.0!
This update adds JavaScript show and enable conditions for your menu commands, so you can now use custom JS code to determine if the command displays (show) and is selectable (enabled).
This update also changed how the original js command parameter works internally in the code. As a result, you will need to go in and edit your js command parameter to ensure it keeps working. It will most likely show as a json encoded string, so it will start and end with quotation marks which should not be there, and new lines may have been converted into the \n symbol among other things. Before updating, you should back up your existing JS commands so you do not lose anything and can paste them into the new parameter type.
Important: When updating, you will need to let these new parameters initialize to their defaults. You should also back up your existing commands js so you can easily copy and paste it back into the new parameter type.
Version 1.4.0