plugin util: add set_plugin_long function