Results 1 to 3 of 3
  1. #1
    Join Date
    April 2014

    [Lua] Run other plugins command with lua

    Hello Community!
    On my project's teamspeak server i'm running 4 music bots with the soundboard plugin (/soundboard stream http://domain.tld/stream) over a root server.
    Sometimes the streams are stopping.
    I wrote in lua this script (when the client stops talking, it sends a message)
    PHP Code:
    local function onTalkStatusChangeEvent(serverConnectionHandlerIDstatusisReceivedWhisperclientID)
    status == 0 then
    .requestSendPrivateTextMsg(serverConnectionHandlerID"/soundboard stream url"clientID)
    It sends /soundboard stream url in raw output to the chat:
    Name:  8lv9H.png
Views: 733
Size:  9.4 KB
    Is it possible threw lua to execute another plugin's command?

  2. #2
    Join Date
    April 2014
    I found this:
    PHP Code:
    local function onTextMessageEvent(serverConnectionHandlerIDtargetModetoIDfromIDfromNamefromUniqueIdentifiermessageffIgnored)
    ts3.sendPluginCommand(serverConnectionHandlerID"soundboard stream http://domain.tld/stream.mp3"targetModetargetIDsArray)

  3. #3
    Join Date
    March 2015
    Is possible send a plugin command from php api?

    I found this command sendPluginCmd but I dont have any doc how it work.

    someone can help me?
    Last edited by Hansz; April 26th, 2015 at 09:38 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 5
    Last Post: January 24th, 2019, 01:47 PM
  2. Vst plugins
    By bugmenot in forum Client Plugins / Lua Scripts
    Replies: 4
    Last Post: January 13th, 2015, 10:58 PM
  3. New to TeamSpeak plugins, looking for MULTIPLE plugins :)!
    By Mycelus in forum Client Plugins / Lua Scripts
    Replies: 3
    Last Post: February 5th, 2014, 08:01 PM
  4. Replies: 1
    Last Post: April 8th, 2013, 01:49 PM
  5. Replies: 4
    Last Post: February 28th, 2012, 10:48 AM

Posting Permissions

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