Notice to all users

We are migrating towards a new forum system located at, as such this forum will become read-only on January 29, 2020

Results 1 to 2 of 2
  1. #1
    Join Date
    November 2010

    LUA PLUGIN: Submenu for each active module loaded

    Hi all.

    I have an idea.
    Now we can create custom menus in your own plugin createMenus (moduleMenuItemID) function.

    local function createMenus(moduleMenuItemID)
    	testmodule_events.moduleMenuItemID = moduleMenuItemID
    	return {
    		{ts3defs.PluginMenuType.PLUGIN_MENU_TYPE_CLIENT,  testmodule_events.MenuIDs.MENU_ID_CLIENT_1,  "testmodule: Client item 1",  "../test_plugin/1.png"},
    		{ts3defs.PluginMenuType.PLUGIN_MENU_TYPE_CHANNEL, testmodule_events.MenuIDs.MENU_ID_CHANNEL_1, "testmodule: Channel item 1", "../test_plugin/1.png"},
    		{ts3defs.PluginMenuType.PLUGIN_MENU_TYPE_GLOBAL,  testmodule_events.MenuIDs.MENU_ID_GLOBAL_1,  "testmodule: Global item 1",  "../test_plugin/1.png"}
    We can also enable or disable the ability to click on it with
    ts3.setPluginMenuEnabled (menuID, 1) -- enable menu specifed by menuID
    ts3.setPluginMenuEnabled (menuID, 0) -- disable menu specifed by menuID
    Helped by the possibility of completely hide the menu options and the ability to create a submenu for each plugin (ex menu name = MODULE_NAME then each menu is submenu of MODULE_NAME menu)

  2. #2
    Join Date
    December 2014
    Any news how to do submenus on Lua or it's impossible?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. G15 - Plugin won't stay active
    By MatthewH12 in forum Windows
    Replies: 0
    Last Post: December 5th, 2010, 06:30 AM
  2. Plugin that lowers the sounds of all active applications except TeamSpeak 3
    By Artyom.Topchyan in forum Client Plugins / Lua Scripts
    Replies: 16
    Last Post: October 13th, 2010, 08:06 PM
  3. Whispering plugin or module?
    By TridentSWE in forum General Questions
    Replies: 0
    Last Post: September 23rd, 2010, 03:12 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts