Closed qeekus closed 6 years ago
Hey @qeekus , from the help page:
help use
Usage: use [sid={serverID}] [port={serverPort}] [-virtual] [client_nickname={nickname}]
use {serverID} [-virtual] [client_nickname={nickname}]
Permissions:
b_virtualserver_select
Description:
Selects the virtual server specified with sid or port to allow further
interaction. The ServerQuery client will appear on the virtual server and
acts like a real TeamSpeak 3 Client, except it's unable to send or receive
voice data.
If your database contains multiple virtual servers using the same UDP port,
use will select a random virtual server using the specified port.
Example:
use sid=1
error id=0 msg=ok
Via the telnet
/ ssh
connection, you can use it like this:
use port=9987 client_nickname=qeekus
I'm not sure yet, but I think it's just an addition to clientupdate
:
help clientupdate
Usage: clientupdate [client_properties...]
Permissions:
Description:
Change your ServerQuery clients settings using given properties.
For detailed information, see Client Properties.
Example:
clientupdate client_nickname=ScP\s(query)
error id=0 msg=ok
error id=0 msg=ok
Just a shorter solution. Before, you had to execute clientupdate
and afterwards use
. Now, you can simply define both in a single use
command.
Using the planetteamspeak/ts3phpframework, it should be already automatically done by defining the required option client_name
in the URI:
serverquery://127.0.0.1:10011/?server_port=9987&client_name=ScP
@ronindesign or @svenpaulsen may know more about it and can confirm or correct my statement. :)
Perfect! Thanks for such a helpful and FAST response! 💯
how to do it "allows setting the nickname of query clients before they become visible on the server"??