Benutzer-Werkzeuge

Webseiten-Werkzeuge


ts3bot

TS3Bot

  • TS3Bot - A Teamspeak 3 Server Bot in Python.

Installation auf Ubuntu 20.04 LTS:

root@linux:~# apt install python2 postfix
root@linux:~# useradd -m -s /bin/bash musikbot
root@linux:~# passwd musikbot
root@linux:~# su - musikbot
musikbot@linux:~$ unzip -L ts3bot-prealpha0.0.2.zip

Start, laut Dokumentation:

musikbot@linux:~$ python2 ~/ts3bot/TS3Bot/start.py &

Konfiguration (Benutzernamen und E-Mail-Adresse eintragen):

musikbot@linux:~$ vi ~/ts3bot/TS3Bot/settings.py
...
ADMINS = (
    ('Admin', 'musikbot@linux.lan'),
)
...

alternativer Start:

musikbot@linux:~$ screen -dmS musikbot2 python2 ~/ts3bot/TS3Bot/start.py

Kontrolle:

root@linux:~# netstat -antp | fgrep 10010
tcp        0      0 0.0.0.0:10010           0.0.0.0:*               LISTEN      9607/python2

Wie man sieht, läuft er… :-)

Jetzt öffnen wir die Web-Oberfläche zum Musik-Bot:

musikbot@linux:~$ links http://0.0.0.0:10010/

                               TS3Bot Webinterface                               TS3Bot Admin - Login

  Login

   Username: admin___________
   Password: admin___________

   [ Login ]
/home/http/wiki/data/pages/ts3bot.txt · Zuletzt geändert: von manfred