[core] handle differences between options/actions/setups in plugin.c