[HL2:DM] join to Teamspeak

A place for requesting new Source.Python plugins to be made for your server.

Please request only one plugin per thread.
User avatar
Painkiller
Senior Member
Posts: 242
Joined: Sun Mar 01, 2015 8:09 am
Contact:

[HL2:DM] join to Teamspeak

Postby Painkiller » Mon Jan 09, 2017 2:25 pm

Hello,
There were formerly different plugins to join via a chat command in the game into teamspeak.

But for many years, nothing works.

Is there a solution as it might work again?

Thanks in advance
User avatar
Kill
Member
Posts: 76
Joined: Wed Aug 31, 2016 10:05 pm

Re: [HL2:DM] join to Teamspeak

Postby Kill » Mon Jan 09, 2017 3:12 pm

Launch Teamspeak with an ingame command? That sounds dangerous.
User avatar
Painkiller
Senior Member
Posts: 242
Joined: Sun Mar 01, 2015 8:09 am
Contact:

Re: [HL2:DM] join to Teamspeak

Postby Painkiller » Mon Jan 09, 2017 3:17 pm

Why does it sound dangerous?
User avatar
Kill
Member
Posts: 76
Joined: Wed Aug 31, 2016 10:05 pm

Re: [HL2:DM] join to Teamspeak

Postby Kill » Mon Jan 09, 2017 6:05 pm

Painkiller wrote:Why does it sound dangerous?

Because simply with a command, You have the ability to launch an external application.
decompile
Senior Member
Posts: 306
Joined: Sat Oct 10, 2015 10:37 am
Location: Germany
Contact:

Re: [HL2:DM] join to Teamspeak

Postby decompile » Mon Jan 09, 2017 6:06 pm

You were able to do that back in the days, mostly to connect to another server with 1 click through the steambrowser. AFAIK its completly blocked now.
User avatar
Painkiller
Senior Member
Posts: 242
Joined: Sun Mar 01, 2015 8:09 am
Contact:

Re: [HL2:DM] join to Teamspeak

Postby Painkiller » Mon Jan 09, 2017 7:29 pm

Would it be feasible via webshortcut?
User avatar
La Muerte
Administrator
Posts: 173
Joined: Sun Jul 15, 2012 1:48 pm
Location: Belgium
Contact:

Re: [HL2:DM] join to Teamspeak

Postby La Muerte » Tue Jan 10, 2017 12:13 am

Its pretty much 99.9% certain this won't work but feel free to try it out anyhow (after replacing <IP> with your ts3 IP).

Syntax: Select all

from messages import VGUIMenu
from commands.say import SayCommand

def motd(index, title, site, show=True):
name = 'info'
subkeys = {'title': title, 'type': '2', 'msg': site}

VGUIMenu(name, subkeys=subkeys, show=show).send(index)

@SayCommand('!ts3')
def _rules_say_command(command, index, team):
motd(index, 'rules', 'ts3server://<IP>')


In fact, I sort of hope this sort of thing isn't possible, before people start sending eachother torrents through magnet links hehe.
User avatar
Painkiller
Senior Member
Posts: 242
Joined: Sun Mar 01, 2015 8:09 am
Contact:

Re: [HL2:DM] join to Teamspeak

Postby Painkiller » Tue Jan 10, 2017 9:30 am

Unfortunately, nothing happens, there are no errors in the log.

Syntax: Select all

@SayCommand('!ts')
def _rules_say_command(command, index, team):
motd(index, 'rules', 'ts3server://ts.rocks-clan.de')
decompile
Senior Member
Posts: 306
Joined: Sat Oct 10, 2015 10:37 am
Location: Germany
Contact:

Re: [HL2:DM] join to Teamspeak

Postby decompile » Tue Jan 10, 2017 7:52 pm

Good to know that server operators can't do fishy stuff on their users anymore.

So theres pretty much nothing left than letting your users know about your teamspeak with a simple chat message. They need to manually connect to your teamspeak or paste the "open teamspeak url and connect" into their browser.

Return to “Plugin Requests”

Who is online

Users browsing this forum: No registered users and 1 guest