Wondering what’s next for npm?Check out our public roadmap! »

    ts3

    1.0.1-1 • Public • Published

    node-ts3

    an abstracted teamspeak 3 server query client

    Documentation

    Install

    npm install ts3 -S

    Usage

    const TS3 = require('ts3')
     
    const ts = new TS3()
     
    ts.connect('127.0.0.1', 10011)
        .then(async () => {
            let auth = await ts.auth('serveradmin', 'supersecret', 1)
            console.log('authed', auth)
     
            ts.setName('node-ts3')
     
            ts.subscribe('server')
            ts.subscribe('channel', 1)
            ts.subscribe('textprivate')
        })
     
    ts.on('clientJoin', (ev) => {
        ev.client.message('Hello ' + ev.client.nick + '!')
    })

    See additional examples in the examples directory.

    Documentation

    Generated documentation is available from connormcf.com/node-ts3.

    Install

    npm i ts3

    DownloadsWeekly Downloads

    7

    Version

    1.0.1-1

    License

    MIT

    Unpacked Size

    30.9 kB

    Total Files

    24

    Last publish

    Collaborators

    • avatar