• 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.
Resource icon

TS3 SinusChat 0.0.1

No permission to download
Required SinusBot Version
0.14.0
What is the "SinusChat"?
The SinusChat allows you to connect the Channel Chat of multiple Sinusbots (even when they run on completely different TeamSpeak Servers together, the chat communicates via TCP/IP so it does not matter where the Server you connect to runs on.

Basic Commands for SinusChat:
!sc <text> Sends a message to the Chat
!sclist Gets a list of connected Server and Clients which are listening


Commands for SinusChatServer (Admin only):
!scconnected Gets a list with connected Servers and their IDs
!scbans Lists all bans
!scban <serverid> <reason> Bans a Server with the given reason
!scunban <serverid> Unbans a Server



Installation Instructions

in your config.ini you will need to add these 2 lines:
Code:
[Scripts.Privileges]
  SinusSocket = ["net", "ws"]

If you only want to connect to a Chat Server then you do not need to upload the file SinusChatServer.js
You will need to get the URL from the Hoster which hosts the Sinusbot Chat Server

Here is the URL of a Test Server you can connect to
wss://sinusbot.multivitamin.wtf/api/v1/b/05748d0a-8823-4f5e-9fc2-5052375c5d6b/i/ccca6f3b-c159-4e3e-b42e-c355cd107e6f/ws


Instructions for the SinusChatServer.js
due to a bug in the close event there will be multiple errors with echo: http: response.WriteHeader on hijacked connection ignore them for now

If you use an Reverse Proxy you may need to change a few things in order to be able to connect with a WebSocket, i can not provide an example on how to use with Apache2 since I only use Nginx

inside the location / { block you need to add these lines:

Code:
proxy_set_header            Host $host;
proxy_set_header            X-Real-IP $remote_addr;
proxy_set_header            X-Forwarded-Proto $scheme;
proxy_pass_request_headers  on;

proxy_http_version          1.1;
proxy_set_header            Upgrade $http_upgrade;
proxy_set_header            Connection "upgrade";

To get the URL of your SinusChatServer you need to edit the Configuration in your Sinusbot Webinterface, after hitting save there should be a popup which gives you the connection string, if you are not fast enough with copying it, it will also get logged inside the Instance Log where you can just copy and paste it!



For Bugs, Feature Requests please dont send PMs use the official thread for it!
Author
Multivitamin
Downloads
124
Views
2,504
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Multivitamin

Top