• Hey Guest, we're evolving the future of TeaSpeak.
    You're invited to join the discussion here!

Release TS3 Audio Bot installer Script

BIOS

TeaSpeak Team
Staff member
TeaTeam
an little Shot script to install the Audiobot

Code:
#!/bin/bash


r="\033[31m"
gr="\033[32m"
w="\033[37m"

echo ""
echo -e "\e[1mScript coded by BIOS - \e[93mTeaspeak.de \e[0m"
sleep 1
echo -e "\e[1mWebsite:\e[0m \e[96mhttps://teaspeak.de \e[0m"
sleep 1.5
clear

echo "packts will installed..."
sleep 2
apt-get install sudo git
clear

if [ ! '/usr/bin/screen' ]; then
  echo "packts will installed..."
  sleep 2
  clear
  apt-get install screen -y
  clear

fi

if [ ! '/usr/bin/unzip' ]; then
  echo "packts will installed..."
  sleep 2
  clear
  apt-get install unzip -y
  clear

fi

if [ ! '/etc/sudo' ]; then
  echo "packts will installed..."
  sleep 2
  clear
  apt-get install sudo -y
  clear

fi



wget -O- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.asc.gpg
sudo mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/
wget https://packages.microsoft.com/config/debian/10/prod.list
sudo mv prod.list /etc/apt/sources.list.d/microsoft-prod.list
sudo chown root:root /etc/apt/trusted.gpg.d/microsoft.asc.gpg
sudo chown root:root /etc/apt/sources.list.d/microsoft-prod.list

sudo apt-get update
sudo apt-get install apt-transport-https -y
sudo apt-get update
sudo apt-get install dotnet-sdk-3.1 -y

sudo apt-get update
sudo apt-get install apt-transport-https -y
sudo apt-get update
sudo apt-get install aspnetcore-runtime-3.1 -y

sudo apt-get update
sudo apt-get install apt-transport-https -y
sudo apt-get update
sudo apt-get install dotnet-runtime-3.1 -y

sleep 1
clear

echo "
echo #########################################
echo #          TS3AudioBot Installer        #
echo #            Version 1.0                #
echo #              by BIOS                    #
echo #########################################
echo #   1. TS3AudioBot install                 #
echo #########################################
"
read -p "choose an number: " opt1


if [ "$opt1" = "1" ]; then
  clear
  sudo apt-get install libopus-dev ffmpeg -y
  echo "which pfad install the bot?"
  echo -e "\e[1m\e[92mexample: /home/TS3AudioBot\e[0m"
  echo ""
  read -p "choose an folder: " ordner

  mkdir $ordner
  cd $ordner
  cd $ordner
  echo -e "\e[1m\e[92mfolder was created. start download...\e[0m"
  sleep 1

wget https://github.com/Splamy/TS3AudioBot/archive/master.zip
unzip master.zip
cd TS3AudioBot
dotnet build --framework netcoreapp2.2 --configuration Release TS3AudioBot

wget https://github.com/Splamy/TS3AudioBot/releases/download/0.11.0/TS3AudioBot_dotnet_core_3.1.zip
unzip TS3AudioBot_dotnet_core_3.1.zip
screen -mdS ts3ab dotnet TS3AudioBot.dll

  clear
  sleep 2
  echo -e "\e[1m\e[92mBot was installed and started.\e[0m"
  echo "your bot pfad: $ordner"
  echo ""

sleep 10
echo -e "$gr login screen:"
clear
figlet 5
sleep 1
clear
figlet 4
sleep 1
clear
figlet 3
sleep 1
clear
figlet 2
sleep 1
clear
figlet 1
sleep 1
clear
figlet 0

echo -e"$w"
screen -x ts3ab

fi
 
Last edited: