English   German

Go Back   TeamSpeak Community Forums > TeamSpeak 3 Customization > Addons & Scripts

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1  
Old 27-12-2009, 21:51
/dev/null/'s Avatar
/dev/null/ /dev/null/ is offline
-= TeamSpeak Addict =-
 
Join Date: Aug 2008
Location: Whois
Posts: 599
/dev/null/ is on a distinguished road
Smile [BETA]Powerful Teamspeak3 Server Startscript for Linux with "AUTOMATIC"UPDATE!

Version 1.2


Hi folks!

I have created a powerful TeamSpeak3 Multistartscript.
Some threat's and script on this site give's me a inspiration to create it.

HOT-Function: "AUTOMATIC"UPDATE
(Without losing your Database! )

Functions overview:
~~~~~~~~~~~~~~
start|stop|restart|update|status|watch
Click image for larger version

Name:	TS3MultiStartscript.png
Views:	2556
Size:	29.3 KB
ID:	2055

Requirements packages:
~~~~~~~~~~~~~~~~~
AWK
Screen
Expect


Allowed:
~~~~~~
Change
Copy&Paste for own Scripts
Modifiy
To improve


NOT Allowed:
~~~~~~~~~
Delete the Headlines ( Copyleft )


~~ BUGLIST ~~

* Fixed a typing error

* Fixed a UpdateBug to beta-1X

* Fixed load PluginBUG


~~ IN DEVELOPMENT v 1.03~~

* EMail notification for Updates

* BackUp System for MySQL

* AutoSetup Cronjob under Debian Linux and compossible BS

* SQLite password receovery *finished*


[Troubleshooting]

Info for SuSE Linux:
http://www.gizmola.com/blog/archives...directory.html

Color problem?

Link sh to bash:
sudo rm /bin/sh && sudo ln -s bash /bin/sh
Unlink it:
sudo rm /bin/sh && sudo ln -s dash /bin/sh

You have problems with the update from beta-15 to beta-16?

Change this Line (240):
wget -O - $FTPPATH$(cat current)/ 2> /dev/null | grep -o -E $FILENAME[^\"]+tar.gz -o | tail -n1 > name

to this:

wget -O -
$FTPPATH$(cat current)/ 2>/dev/null | cut -d '"' -f 2 | grep linux | tail -n1 > name



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Thanks & Credits


Thanks Germeshausen.de for allowed use this.
Thanks Obbi for help me by grep out a information for the Updatefeature!
Thanks BlackScript, now the SuSE Users can run my Script to!
Thanks nickvergessen for report a BUG!
Thanks BizzWare for report a BUG!
Thanks CoolRunner for report a BUG!
Thanks Simeon for report a BUG!


Other nice and sense scripts:
[RELEASE] Client revision check - inform and inform/kick the client

A simple ts3 serveradmin password recovery script (win + linux)

TS3-PHPPear Mod ( Anti Recording, Anti Idle, Protect Nicks and Groups )
http://forum.teamspeak.com/showpost....55&postcount=3



DOWNLOAD IT NOW! --> "English" version now available!
This Script is tested under Linux version 2.6.26-2-686 (Debian 2.6.26-19lenny2)
Attached Files
File Type: zip TS3MultiStartscript.zip (4.1 KB, 1900 views)
File Type: zip TS3MultiStartscript-ENGLISH.zip (4.0 KB, 777 views)

Last edited by /dev/null/; 21-01-2010 at 18:33.
Reply With Quote
  #2  
Old 27-12-2009, 23:16
nickvergessen nickvergessen is offline
-= TeamSpeak User =-
 
Join Date: Dec 2009
Location: Germany
Posts: 7
nickvergessen is on a distinguished road
Code:
if [ ! -x /usr/bin/expectt ]; then 
  echo""
  echo -en "\E[31mFehler  \E[37m~~> Startscript kann nicht gestartet werden,";
  tput sgr0
  echo""
  echo -en "\E[31mFehler  \E[37m~~> da das Packet \E[25;44mEXPECT\E[37;40m \E[37;41mnicht installiert\E[37;40m ist!";
  tput sgr0
  echo""
  echo""
  echo -en "\E[32mTipp    \E[37m~~> Benutze \E[33;40mapt-get install expect\E[37;40m, oder installier das Packet 'expect'.";
  tput sgr0
  echo""
  echo""
  exit 1;
change to--->
Code:
if [ ! -x /usr/bin/expect ]; then 
  echo""
  echo -en "\E[31mFehler  \E[37m~~> Startscript kann nicht gestartet werden,";
  tput sgr0
  echo""
  echo -en "\E[31mFehler  \E[37m~~> da das Packet \E[25;44mEXPECT\E[37;40m \E[37;41mnicht installiert\E[37;40m ist!";
  tput sgr0
  echo""
  echo""
  echo -en "\E[32mTipp    \E[37m~~> Benutze \E[33;40mapt-get install expect\E[37;40m, oder installier das Packet 'expect'.";
  tput sgr0
  echo""
  echo""
  exit 1;
Reply With Quote
  #3  
Old 27-12-2009, 23:42
/dev/null/'s Avatar
/dev/null/ /dev/null/ is offline
-= TeamSpeak Addict =-
 
Join Date: Aug 2008
Location: Whois
Posts: 599
/dev/null/ is on a distinguished road
o.O Thanks for Feeback!

BUG Fixed
Reply With Quote
  #4  
Old 28-12-2009, 02:06
rafaelsartori rafaelsartori is offline
-= TeamSpeak User =-
 
Join Date: Dec 2009
Location: Brasil
Posts: 6
rafaelsartori is on a distinguished road
would be good if you put all in english, i got an error but can find what happens.
Reply With Quote
  #5  
Old 28-12-2009, 08:21
BizzWare BizzWare is offline
-= TeamSpeak User =-
 
Join Date: Dec 2009
Location: Germany - NRW - Moers
Posts: 1
BizzWare is on a distinguished road
[English]Hey the auto update fuction doesn't work
beta 10 is out
and the script find only beta-9
please fix it.

*** English only ***

Last edited by dante696; 04-01-2010 at 13:13. Reason: English only
Reply With Quote
  #6  
Old 28-12-2009, 09:14
/dev/null/'s Avatar
/dev/null/ /dev/null/ is offline
-= TeamSpeak Addict =-
 
Join Date: Aug 2008
Location: Whois
Posts: 599
/dev/null/ is on a distinguished road
Thanks for the Info.

UpdateBUG is Fixed.
Reply With Quote
  #7  
Old 28-12-2009, 09:22
sebbuch79de sebbuch79de is offline
-= TeamSpeak User =-
 
Join Date: Dec 2009
Location: Germany, Siegen
Posts: 25
sebbuch79de is on a distinguished road
I cannot unzip the File because of a "Method Error"

Kann die Datei leider nicht entpacken. Sagt sowohl unter Linux als auch unter Windows:

Unbekannte Methode

Last edited by sebbuch79de; 28-12-2009 at 09:45.
Reply With Quote
  #8  
Old 28-12-2009, 09:42
arowan arowan is offline
-= TeamSpeak User =-
 
Join Date: Mar 2008
Location: Belgium
Posts: 2
arowan is on a distinguished road
Send a message via MSN to arowan
Could you post an English version plz?
Reply With Quote
  #9  
Old 28-12-2009, 10:22
/dev/null/'s Avatar
/dev/null/ /dev/null/ is offline
-= TeamSpeak Addict =-
 
Join Date: Aug 2008
Location: Whois
Posts: 599
/dev/null/ is on a distinguished road
The file was compressed with 7zip, know i have compress it with WinZIP 4all

If I have time, i will translate it.

Last edited by /dev/null/; 28-12-2009 at 10:34.
Reply With Quote
  #10  
Old 28-12-2009, 10:35
haufe haufe is offline
-= TeamSpeak User =-
 
Join Date: Aug 2008
Location: Mannheim
Posts: 18
haufe is on a distinguished road
hi
i cannot extract this file
Reply With Quote
  #11  
Old 28-12-2009, 10:59
/dev/null/'s Avatar
/dev/null/ /dev/null/ is offline
-= TeamSpeak Addict =-
 
Join Date: Aug 2008
Location: Whois
Posts: 599
/dev/null/ is on a distinguished road
Please download the file again, you have download the "old" version.
TS3MultiStartscript.zip (3,9 KB, 0x views)
Reply With Quote
  #12  
Old 28-12-2009, 13:38
Moonbear Moonbear is offline
-= TeamSpeak User =-
 
Join Date: Dec 2009
Location: Frankfurt
Posts: 1
Moonbear is on a distinguished road
Hi,

I become a Error Message. Can you help me?

Code:
ts3@static:~> ll
total 6272
-rw-r--r-- 1 ts3 users    7553 Dec 28 05:05 CHANGELOG
-rw-r--r-- 1 ts3 users   23747 Dec 28 05:05 LICENSE
drwxr-xr-x 2 ts3 users    4096 Dec 28 05:05 doc
drwx------ 3 ts3 users    4096 Dec 28 13:06 files
-rwxr-xr-x 1 ts3 users  194829 Dec 28 05:05 libts3db_mysql.so
-rwxr-xr-x 1 ts3 users  821513 Dec 28 05:05 libts3db_sqlite3.so
-rw-r--r-- 1 ts3 root      864 Dec 28 13:37 licensekey.dat
drwx------ 2 ts3 users    4096 Dec 28 14:16 logs
-rw-r--r-- 1 ts3 users     112 Dec 28 13:38 serverkey.dat
drwxr-xr-x 2 ts3 users    4096 Dec 28 05:05 serverquerydocs
drwxr-xr-x 4 ts3 users    4096 Dec 28 05:05 sql
-rwxr--r-- 1 ts3 root    10166 Dec 28 14:36 startscript.sh
-rw-r--r-- 1 ts3 users  174080 Dec 28 14:21 ts3server.sqlitedb
-rwxr-xr-x 1 ts3 users 5121692 Dec 28 05:05 ts3server_linux_x86
-rwxr--r-- 1 ts3 root      824 Dec 28 14:35 versionscheck.sh
ts3@static:~> ./startscript.sh start
bash: ./startscript.sh: /bin/sh^M: bad interpreter: No such file or directory
ts3@static:~>
I edit the config to this one.

Code:
#!/bin/sh
#Teamspeak3 MultiStartscript

# Version: 1.1
 
# Written by:
# J. Daniel (/dev/null/ âka Pikniker )
# http://www.goxts.com


# ~~ Change this Settings for you own Serverconfiguration ~~


PAT='/home/ts3/'										# Path to you TeamSpeak3Server files
#( !Attention! Requirement / at the ends of the line )

TITLE='TeamSpeak3 Server'									# Set you own Screentitle
NAME='ts3'													# Set you own PID Name

SERVER='ts3server_linux_x86'								# Alternative ts3server_linux_amd64
LOADPLUGIN='dbplugin=ts3db_mysql'							# For SQLite leave blank ( MySQL: dbplugin=ts3db_mysql )

FILENAME='teamspeak3-server_linux-x86'						# For 64Bit Server change it to teamspeak3-server_linux-amd64
DISTVER='x86-3.0.0'											# For 64Bit Server change it to amd64-3.0.0

STATUS='beta'												# To change the name "beta" in the files when beta is over

USER='ts3'													# User for start the Server

FTPPATH='http://ftp.4players.de/pub/hosted/ts3/releases/'	# FTP Downloadpath from TeamSpeak3 ( Normally you must dont edit this Line )
#( !Attention! Requirement / at the ends of the line )


# ~~ END OF CONFIGURATION ~~
Thanks for help

Moony

PS: is a Linux Suse

Sorry for my english :-)

Last edited by Moonbear; 28-12-2009 at 13:42. Reason: Version
Reply With Quote
  #13  
Old 28-12-2009, 14:11
BlackScript BlackScript is offline
-= TeamSpeak User =-
 
Join Date: Dec 2009
Location: Germany
Posts: 9
BlackScript is on a distinguished road
Quote:
Originally Posted by Moonbear View Post
Hi,

I become a Error Message. Can you help me?

Code:
ts3@static:~> ll
total 6272
-rw-r--r-- 1 ts3 users    7553 Dec 28 05:05 CHANGELOG
-rw-r--r-- 1 ts3 users   23747 Dec 28 05:05 LICENSE
drwxr-xr-x 2 ts3 users    4096 Dec 28 05:05 doc
drwx------ 3 ts3 users    4096 Dec 28 13:06 files
-rwxr-xr-x 1 ts3 users  194829 Dec 28 05:05 libts3db_mysql.so
-rwxr-xr-x 1 ts3 users  821513 Dec 28 05:05 libts3db_sqlite3.so
-rw-r--r-- 1 ts3 root      864 Dec 28 13:37 licensekey.dat
drwx------ 2 ts3 users    4096 Dec 28 14:16 logs
-rw-r--r-- 1 ts3 users     112 Dec 28 13:38 serverkey.dat
drwxr-xr-x 2 ts3 users    4096 Dec 28 05:05 serverquerydocs
drwxr-xr-x 4 ts3 users    4096 Dec 28 05:05 sql
-rwxr--r-- 1 ts3 root    10166 Dec 28 14:36 startscript.sh
-rw-r--r-- 1 ts3 users  174080 Dec 28 14:21 ts3server.sqlitedb
-rwxr-xr-x 1 ts3 users 5121692 Dec 28 05:05 ts3server_linux_x86
-rwxr--r-- 1 ts3 root      824 Dec 28 14:35 versionscheck.sh
ts3@static:~> ./startscript.sh start
bash: ./startscript.sh: /bin/sh^M: bad interpreter: No such file or directory
ts3@static:~>
I edit the config to this one.

Code:
#!/bin/sh
#Teamspeak3 MultiStartscript

# Version: 1.1
 
# Written by:
# J. Daniel (/dev/null/ âka Pikniker )
# http://www.goxts.com


# ~~ Change this Settings for you own Serverconfiguration ~~


PAT='/home/ts3/'										# Path to you TeamSpeak3Server files
#( !Attention! Requirement / at the ends of the line )

TITLE='TeamSpeak3 Server'									# Set you own Screentitle
NAME='ts3'													# Set you own PID Name

SERVER='ts3server_linux_x86'								# Alternative ts3server_linux_amd64
LOADPLUGIN='dbplugin=ts3db_mysql'							# For SQLite leave blank ( MySQL: dbplugin=ts3db_mysql )

FILENAME='teamspeak3-server_linux-x86'						# For 64Bit Server change it to teamspeak3-server_linux-amd64
DISTVER='x86-3.0.0'											# For 64Bit Server change it to amd64-3.0.0

STATUS='beta'												# To change the name "beta" in the files when beta is over

USER='ts3'													# User for start the Server

FTPPATH='http://ftp.4players.de/pub/hosted/ts3/releases/'	# FTP Downloadpath from TeamSpeak3 ( Normally you must dont edit this Line )
#( !Attention! Requirement / at the ends of the line )


# ~~ END OF CONFIGURATION ~~
Thanks for help

Moony

PS: is a Linux Suse

Sorry for my english :-)


I have the same error with the script .....
::::::EDIT::::::

i found the reason and after the fix it works fine

just do this http://www.gizmola.com/blog/archives...directory.html
Reply With Quote
  #14  
Old 28-12-2009, 14:13
stegmuellerm stegmuellerm is offline
-= TeamSpeak Lover =-
 
Join Date: Dec 2009
Location: Tunisia
Posts: 39
stegmuellerm is on a distinguished road
You are sure this is correct ?

Quote:
PAT='/home/ts3/'
Reply With Quote
  #15  
Old 28-12-2009, 14:16
Delavor Delavor is offline
-= TeamSpeak User =-
 
Join Date: Dec 2009
Location: Poland, Warsaw
Posts: 14
Delavor is on a distinguished road
Update without lost data?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[solved] i need some help with my ts server rebelwarrior [TeamSpeak 2] Client Support 3 14-11-2008 00:34
Server stops responding Xeroed [TeamSpeak 2] Server Support 10 27-09-2006 04:08
Friends can't connect shadow127 [TeamSpeak 2] Server Support 86 01-01-2006 20:45
Server lars-andre-petersen [TeamSpeak 2] Server Support 70 26-09-2005 11:54
Scheisse habe QDSL alles geht nur keine REG Creeper [TeamSpeak 2] Server Support 6 29-08-2002 09:06


All times are GMT +1. The time now is 18:01.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Add to Bookmarks   |   Printview   |   Contact Us   |   Legal Notices



You Rated this Thread: