MoI discussion forum
MoI discussion forum

Full Version: installing plugins in new beta

From: wimverbe
30 Apr   [#1]
how can I make it a bit easier when a new beta is installed? I always have to search for the folders of the plugins and copy/paste every one of them again into the commands folder. is there a script or so to do this automatically, or migrate from the previous beta to the new one?
... yes I know..., but I'm old and slow ;-) sorry
From: Zooen
30 Apr   [#2] In reply to [#1]
MoI plug-in scripts usually come as a .zip file, where the .zip file contains 2 files, an .htm file and a .js file. To install the plug-in you need to unzip it and then copy those 2 files into MoI's commands folder.

Starting with MoI v4, MoI will now look for commands in 2 places, the commands folder inside the MoI application and also in the appdata Moi commands folder. It is recommended to copy plugins to the appdata folder so that new versions of MoI that you install will find them without needing any additional copying.

On Windows you can find the Moi appdata folder by typing Win+R to bring up the Windows "Run" dialog and then type in:
%AppData%\Moi\commands.

The link to MoiWiki:
https://moi3d.com/FAQ

This might not be very clear. On my Windows 11 system, I have a “Moi” folder located at: user/AppData/Romaning/
Inside the “Moi” folder, I have a “Commands” folder where all the scripts are stored.Below is a selection of my scripts

Image Attachments:
Capture d'écran 2026-04-30 183101.png 


From: Michael Gibson
30 Apr   [#3] In reply to [#1]
Hi Wim,

re:
> how can I make it a bit easier when a new beta is installed?

Just to summarize - copy your commands into the Moi appdata commands folder instead of into the install folder.

If you put them there a new version will find them in that centralized location and you won't need to copy them around anymore.

- Michael
From: wimverbe
24 Jul   [#4] In reply to [#3]
still having issues with scripts/commands installed in the commands folder.

I have always, for the last 14 years, copied the .js and .htm files into the commands folder, as instructed by Michael, but everytime I install an update of MoI, I have to reinstall the files and redefine the shortcuts in the options/shortcut keys menu.

could it be that the upgrade version finding it there is not working properly on mac (tahoe 26.5)?

also, I still have to give permission in a popup window to read/write from/to any folder, although I gave permission in the preferences. this is new since the last beta version, maybe also the before last.
must be me doing something wrong I guess, since nobody else is complaining about this in this forum.

thanks,

Wim
From: Michael Gibson
24 Jul   [#5] In reply to [#4]
Hi Wim, re:

> still having issues with scripts/commands installed in the commands folder

Can please you show the full path of the commands folder you are referring to here?


> I have always, for the last 14 years, copied the .js and .htm files into
> the commands folder, as instructed by Michael

The instructions changed with new capabilities that were set up in version 4 to solve this exact problem.

If you're still following the instructions from version 2.5 or version 3 then you'll keep running into the same problem.

The updated instructions are on the FAQ here.


I investigated the repeated permissions thing on Tahoe, I'll track that down shortly.

- Michael
From: Michael Gibson
24 Jul   [#6] In reply to [#4]
Hi Wim,

for this part:
> also, I still have to give permission in a popup window to read/write from/to any
> folder, although I gave permission in the preferences.

There is some discussion on this one here:
https://moi3d.com/forum/index.php?webtag=MOI&msg=11975.1

If you download it again it should be fixed.

- Michael
From: wimverbe
25 Jul   [#7] In reply to [#5]
Michael,

the full path is:
Macintosh HD ›Applications ›Mol v5 beta Apr-27-2026.app ›Contents ›Resources ›commands

edit: I am sorry, I must have missed the instruction to put plugins and scripts in the command folder in the library when 4.0 came out. Got that now! thanks

kr
wim
From: pressure (PEER)
26 Jul   [#8] In reply to [#7]
Hi Wim,

That's not the best place to put plugins: they won't carry over to a new version. A different location exists that survives across versions.

On Mac from a Finder window, go to the menu and pick Go > "Go to folder" and type in:
~/Library/Application Support/Moi/commands

- Peer