In my opinion it's not possible to disable menus by default (if I overlooked that, please correct me).
Some thoughts:
The only moment, I know, that my menus are created, is after the function ts3plugin_initMenus was called.
Of course, I could check, if that function already was called and disable the menus manually in another function (or work with another thread), but that seems to be a bit dirty.
My suggestion is, to add a member to the PluginMenuItem-Struct, which determines, if the menu is enabled.
Like this:
Code:struct PluginMenuItem { enum PluginMenuType type; int id; char text[PLUGIN_MENU_BUFSZ]; char icon[PLUGIN_MENU_BUFSZ]; bool enabled; };