Deprecated: Use of "parent" in callables is deprecated in /var/www/html/forum/src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php on line 431
  • If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.
Advanced Client Info

TS3 Advanced Client Info 1.3.1

No permission to download
Required SinusBot Version
1.0
Compatible Backends
  1. TeamSpeak 3
Version 1.3.1 - ES6 - requires at least Sinusbot Version 1.0 - Download
Version 1.2.0 - ES5 - requires at least Sinusbot Version 0.9.21 (up to 0.14.3) - Download
Older versions can no longer be downloaded, sorry.

If you're running an old version of this script on an old sinusbot instance please bear in mind that I can't provide support.
Only the newest version is officially supported.

This script executes after a 10-second delay controlled by a simple setTimeout.
That is why it's functions will not be available directly after you enabled it.
Check your Instance Log to see when it becomes available (a info message will be logged).

Why?
When this script gets loaded it checks if the ServerGroup-ID entered in the Script Settings is a valid, existing ID on the current Teamspeak Server. This is important for the !ainfo command.
In earlier versions of this script where no delay was implemented, this test used to fail quite often although the ID entered was in fact an existing and valid ID on the Server. The result was that the !ainfo command could not be used even though the group assigned to it existed.
Apparently the sinusbot loads scripts before the backend is 100% ready and calls to it during that time are voided / return false values. Therefore it's not possible to do a reliable check during this period, so we wait a few more seconds before doing it.
An alternative solution could be binding the script load to an event once the backend is ready but I figured a timeout does the job and doesn't add unnecessary code to the script. I don't see a problem with having to wait 10 seconds after enabling the script until you can use the commands.
Should this architecture problem get fixed someday I'll happily remove the timeout.

[ENGLISH]

Hey there!

This small script was made to quickly obtain useful data about a User on the Teamspeak.

It's especially useful for those who don't use Addons like ECI but still need to get Client UID's etc. from time to time.

The configuration of the Script contains an Enable Switch (Yes or No) and a textinput for a ServerGroup-ID.

The script extends the bots features by 2 commands:

Code:
 !uinfo <username>

and

Code:
 !ainfo <username>

The !uinfo command can be used by everyone on the Teamspeak who is able to somehow contact the Bot (Server Chat, Channel Chat, Private Chat). It requires the Username of the Client (spelling is important!) and will display the UID and all Servergroups the user is part of (with ID's) in return (data that is publicly accessible).

The !ainfo command can only be used by the in the script settings configured Servergroup. It also requires the exact username (must be online) of the Client and will display advanced information (UID, DBID, IP, Total Connections and more) in return.

The Bot will always answer your request in Private Chat.

If you want to use the !ainfo command but don't know your Servergroup-ID, you can use

!uinfo <yourusername>
e.g.: !uinfo Fabeyy

to get your Servergroup-ID. After saving that ID in the Script Settings you will be able to use the !ainfo command.

The Script will always log what it's doing. If a command isn't working or similar problems occur, please check your Instance-Log before contacting me. Most of the time you will be able to solve it by reconfiguring.

If you found a bug or got any suggestions for the script, please tell me under 'Discussion' or 'Reviews'.

[GERMAN]

Moin,

mit diesem kleinen Script lassen sich schnell nützliche Informationen über die Nutzer eures Teamspeaks erfahren.


Wenn ihr (wie ich) keine Addons wie ECI benutzt aber trotzdem hin und wieder die UID oder DBID eines Nutzers braucht, ist dieses Script hilfreich.

In den Konfigurationseinstellungen findet ihr eine Select Auswahl zum aktivieren und deaktivieren des Scripts, sowie ein Eingabefeld für eine Servergruppen-ID.
Sobald ihr das Script installiert habt stehen euch 2 Befehle zur Verfügung:

Code:
 !uinfo <benutzername>

und

Code:
 !ainfo <benutzername>

Der !uinfo Befehl kann von jedem Nutzer verwendet werden, der die Möglichkeit hat Nachrichten an den Bot zu senden (Server Chat, Channel Chat, Privater Chat). Der Befehl benötigt lediglich den Benutzernamen eines Clients (auf richtige Schreibweise achten!) und gibt euch dann die UID und alle Servergruppen (mit ID's) dieses Benutzers zurück. Da diese Informationen sowieso öffentlich einsehbar sind, kann diesen Befehl jeder benutzen.

Der !ainfo Befehl kann nur von dem in den Script Einstellungen festgelegten Servergruppe verwendet werden. Auch hier wird der Benutzername eines Clients benötigt (muss online sein). Als Antwort gibt der Bot jede Menge gesammelte Daten über den Benutzer aus, unter anderem die UID, DBID, IP und vieles mehr.

Der Bot antwortet immer im Private Chat (damit keine Admin-Daten im Channel für jeden sichtbar stehen).

Falls ihr den !ainfo command benutzen wollt, ihr aber eure Servergruppen-ID's nicht wisst, könnt ihr einfach

!uinfo <euerbenutzername> verwenden.
Zum Beispiel: !uinfo Fabeyy

Als Antwort bekommt ihr dann eure UID und alle Servergruppen + ID's in denen ihr seid. Nachdem ihr eine Servergruppen-ID in den Script Einstellungen eingetragen habt, könnt ihr auch den !ainfo Befehl nutzen (Jeder der Teil der eingetragenen Servergruppe ist).

Das Script logt immer alles mit was es macht. Sollte ein Problem auftreten, wie ein nicht funktionierender Befehl, checkt bitte den Instanz-Log bevor ihr mich kontaktiert. In den meisten Fällen können solche Probleme durch eine neu-Konfiguration behoben werden.

Falls ihr noch irgendwelche Verbesserungsvorschläge oder Bugs habt, sagt mir gerne bescheid.

  1. Download .js File
  2. Go to your sinusbot directory
  3. Copy the File to the 'scripts' folder
  4. Restart your Sinusbot (Not the instance but the whole service)
  5. Open your webinterface
  6. Go to Settings -> Scripts and enable 'Advanced Client Info'
  7. Choose 'Yes' in the 'Enable the script functions?' dropdown
  8. If you want to use the !ainfo command, enter a ServerGroup-ID of a Servergroup that you're part of
  9. Save the settings
  10. Done, you can now use the two commands on your bot (after 10 seconds)

Last description update: 24.04.2019 - Reason: Changes because of 1.3.1 release (approved @ 24.04.19)
Author
Fabeyy
Downloads
465
Views
4,905
First release
Last update
Rating
4.50 star(s) 4 ratings

Latest updates

  1. Changes in Version 1.3.1 (Bugfix)

    Note: Please update your script, version 1.3.0 is not working correctly and has been removed...
  2. Changes in Version 1.3.0 (ES6 Update)

    ES6 features are here! 🎉 Note: This update is aimed at the new Sinusbot 1.0 beta release...
  3. Changes in Version 1.2.0

    New: Added type-safe equality operators Changed: Raised script execution delay to 10 seconds...

Latest reviews

Nice Mod
While the script works, I don't like how you can't customize it. Like how the message is displayed and what is included in the command. It also would be nice to be able to customize the command itself (like say I can change it to !info only) and allow the setting of disabling one or the other.
Fabeyy
Fabeyy
It was originally meant to be a really small script that only displays UID and DBID for people who don't use ECI, I just added additional info's because it got requested. It's too small of a script to make it ultra customizable, you can still do that yourself though if that's important for you, should be really easy. Also !info can't be used because that's a custom command already used by Sinusbot itself, it displays Infos about Sinusbot. Otherwise I would've made it !info obviously :)
1A! Dankeschön :-)
Danke für das Update, echt gut das man jetzt die Servergruppen angeben kann. Nur das mit der ID hättest du so machen können, das man mehrere Servergruppen hinzufügen kann und das die ID bleibt, d.h. das z.B. geheime Benutzer ohne die Servergruppe auch die Berechtigung dazu haben könnten. Habe trotzdem 5 Sterne gegeben, so ein Update wäre dann aber das Sahnehäubchen. :) LG
Fabeyy
Fabeyy
Danke für das Feedback! Kannst ja auch einfach eine extra Servergruppe machen, die du nur Personen gibst die Befehle nutzen dürfen. Seh keinen Grund dafür "geheime Benutzer" zu haben bei so einem Script, kann aber die Admin UID auch wieder reinmachen im nächsten Update, ist ja eine Kleinigkeit =)
Echt gutes Script, aber es wäre gut wenn man Servergruppen-IDs angeben kann. :)
Fabeyy
Fabeyy
Ist jetzt mit Version 1.1.0 möglich :)
Top