Newcomer1989 / TSN-Ranksystem

A PHP Bot that assigns time based server groups on TeamSpeak3.
https://ts-ranksystem.com
GNU General Public License v3.0
142 stars 60 forks source link

channel createor/deleter #781

Open rafalohaki opened 3 years ago

rafalohaki commented 3 years ago

Channel creator and channel delete after inactive time

arriej commented 3 years ago

Not sure what exactly you're looking for, but you can use teamspeaks temporary channel feature.

With that you can have it so users/clients can create a temporary channels them self. and they get deleted (by default) when the channel is empty. However in the teamspeak Advanced channel or clients permissions (not entirely sure what the permission is called at this moment) you should find one to keep a temporary channel alive. you can set this to for example 24 hours. That way there needs to be someone in that channel at least once every 24 hours to stop it from being removed.

bykidi commented 3 years ago

one major flaw to the current temporary channel system is that they are not stored in the database. if you want to make an auto inactivity channel cleanup and your server crashes - all of them are gone. currently i use TS3JTS3 to automate the process but its also not storing the last activity times

DSDV commented 3 years ago

Adding to bykidi the sinusbot (yes i know its a musik bot :/ ) has a script which has a channel expander which creates channels upon usage so there is no need for temp channels anymore :)

rafalohaki commented 3 years ago

when user joins channel, date in topic is atomatically updated(date in topic is stored in tsn database). after 7 days date is not updated, channel get removed.

rafalohaki commented 1 year ago

k