So i figured i can easily migrate this plugin by simply copying the folder from the the user preferences. However, if i try making .xsiaddon (plugin manager>package addon) this doesnt work. When i install the addon i have created, all the buttons in the toolbar are greyed out. I think it doesnt register custom commands so the buttons execute non-existing ones.
Im totally confused by this, to be honest. I thought when you pack the addon via a plugin manager, it collects all the necessary data but this doesnt seem to be the case.