add resource for plugin.