Community Forums Today's Posts     Member List     Archive    
Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2011
    Location
    Russian Federation
    Posts
    208

    Auto Delete channels

    Edit by mod
    Please visit this thread
    First.



    Hi all, I understand that the issue had already been raised many times before me, but still ask.

    I know how to "Auto Delete channels without activity x days" This project is closed.
    There is what some solutions to this problem?
    Because in my opinion it is a real problem for administrators who have public server with lots of channels unvisited.

    Maybe someone there are any options to solve this problem? something new?
    Last edited by dante696; 05-06-2012 at 08:31.

  2. #2
    Join Date
    Apr 2012
    Posts
    6
    Nothing inside of Teamspeak can handle this, you would need a server bot to handle it
    Personally I have a PHP bot running and I can safely say this shouldn't be too difficult

    Fetch channellist
    Check total clients
    if TC is 0 then save the timestamp to an array, key is the cid
    then check all values of said array for channels due deletion
    at end of cycle serialize the data to a file so in the event the bot stops it has all the data stored


    Anything stored in the script is locked once you start so if you plan to change the x days often you might want a config file to go with it, you also want a PID file so you can stop the bot cleanly by while looping it around that files existance, have the bot create the file before it enters that loop


    I could go on and on with recommendations but this is all based around using a PHP bot which would rely on you having Server Query access

    I've got free time so if you can run a PHP script continually and have SQ access I might be able to write all of this for you

  3. #3
    Join Date
    Mar 2010
    Location
    Germany
    Posts
    181
    We are currently developing a new project which can handle it. It will be released soon and runs on PHP CLI.
    If you are interested, you may take a look for that:

    https://github.com/devMX/TeamSpeak3-ChannelWatcher

  4. #4
    Join Date
    Jun 2011
    Location
    Russian Federation
    Posts
    208
    wonderful that we have a new project, I would like to clarify two issues so far:

    1. how it differs from "Auto Delete channels without activity x days"
    2. ts on the server should be of MySQL? I have for example a standard sqlitebd

  5. #5
    Join Date
    May 2010
    Location
    Germany
    Posts
    35
    Hi,
    I'll try to answer your questions:
    1.
    I have to say that I do not know florian_fr40's, but I'll try to make the possibilities of our project clear:
    1. It is a php based commandline script and therefore platform independent (in contrast to florian_fr40's which was written in C++ afaik) but it depends on a new PHP version (> 5.3.2) which normally should be available
    2. Our tool is database independent in each way: It neither does depend on the database teamspeak is running on as it is working via the serverquery, nor does it require a specific database for storing its own data, you can simply run this script with a builtin sqlite or a (faster) MySQL/PostgreSQL/mssql server.
    3. It is very flexible: you can specify exactly which channels should/shouldn't be deleted by using a powerful rule-system. Thereby you can for example specify that spacers should not be deleted, as well as channels which sub-channels were visited. You can also specify channels that should not be deleted simply by id.
    4. Also a very important advantage: The project is not closed .


    2. As mentioned above, it is completele irrelevant which database is used by the teamspeak3 server, as our tool only interacts via the ServerQuery

    About the current project state:
    We made some successful runs on our own server (deleted 72 unused public channels) and are looking forward to release a first beta this weekend. We currently have 13 open issues, and need to write some documetion before we can release a first version of the ChannelWatcher.

    Hope I was able to make some points clearer

    cheers,

    drak3

  6. #6
    Join Date
    Jun 2011
    Location
    Russian Federation
    Posts
    208
    wonderful, I do not like it)))))) yes, then wait documentation and faq

  7. #7
    Join Date
    Mar 2010
    Location
    Germany
    Posts
    181
    Quote Originally Posted by Ar2rJke View Post
    wonderful, I do not like it)))))) yes, then wait documentation and faq
    If you are still interested, the tool is available in beta status now.
    You can find it here:
    http://forum.teamspeak.com/showthrea...sited-Channels

  8. #8
    Join Date
    Aug 2010
    Location
    Chile
    Posts
    8
    Hello
    Currently I have in place a program developed by me that performs this function, 1 year I works perfect, can be deployed on any server credentials had serveradmin query, my question is:
    I can I charge for providing this service on other servers?
    for questions about edit by mod > please contact him in a private message.
    Last edited by dante696; 26-06-2012 at 12:56.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 74
    Last Post: 17-04-2012, 13:38
  2. Auto delete clients?
    By Trekkan in forum Server Support
    Replies: 3
    Last Post: 13-10-2010, 08:51
  3. Subchannels auto-delete
    By mikedmor in forum [TeamSpeak 2] Server Support
    Replies: 1
    Last Post: 14-07-2009, 13:27
  4. auto delete inactive teamspeaks
    By Nitrate in forum [TeamSpeak 2] Server Support
    Replies: 1
    Last Post: 31-03-2009, 16:30
  5. Auto Delete Old Registrys
    By Incarnadine in forum [TeamSpeak 2] Server Support
    Replies: 0
    Last Post: 24-08-2004, 09:09

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •