Code Monkey home page Code Monkey logo

tbot's Introduction

Tbot

bot for server TeamSpeak 3

Currently, the bot has 50 functions + help channel, admins command and control bot.

First instance

  • admis list
  • generate banner
  • channel zone client count
  • day
  • hour
  • users online
  • register
  • record online
  • month record
  • afk
  • poke groups
  • ban list
  • channels count
  • visitors count
  • average packetloss
  • average ping
  • uptime

Second instance

  • antyrecording
  • game server info
  • twitch stauts
  • youtube status
  • nick control
  • group clients count
  • get private channel
  • check private channels
  • server name
  • client status
  • time channel
  • imieniny (for polish users)
  • youtube channel info
  • welcome message
  • poke on channel
  • vpn detection (now dont't work)
  • advertisement
  • bot info
  • ddos detection

Third instance (Help bot)

  • commands list
  • poke admins
  • message to admins
  • group list
  • add server groups
  • del server groups
  • infomation about client
  • own commands

Fourth instance

  • new users list
  • rank
  • top all of the time, month and week (active, idle and together)
  • top rank

Fifth instance (admin commands)

  • message to the server
  • move client
  • meeting (users or admins)
  • poke
  • private message
  • server group info
  • channel group info
  • ban
  • start/stop/restart other instance
  • delete message to admins
  • show logs

Sixth instance

  • karaoke (alpha)

Control instance The instance manages the other instances. It resets them when their ram usage exceeds the value specified in the config. If it detects that the instance is disabled, it starts it (only if it is enabled in the config).

Configuration is located in include/config/config.php

For proper operation of the bot, set chmod 777 to all files (chmod -R 777 /tbot).

If you want to run the bot automatically, place the file tbot.sh from the init.d folder to /etc/init.d. In the file, change the location of the folder in which the bot is located . Then type in the console "update-rc.d tbot.sh defaults".

How to run?

To start the bot enter "./starter.sh [command]".
Commands:

  • start
  • stop
  • restart Optionally append 1 or 2 to perform the operation on the selected instance (for example: "./starter.sh start2").

CHANGELOGS

version 0.0.2

  • improved optimization

version 0.0.3

  • improved optimization
  • better config
  • new options in the function of banlist and checkchannels

version 0.0.4

  • the readability of the config has been improved
  • some functions have been improved
  • new function: time channel

version 0.0.5

  • improved optimization - from now on, only the instance gets some data (including a list of users, a list of channels, groups), because in the past each function downloaded this data, which had negative impact on performance
  • new function: imieniny (for polish users), month record, youtube channel info, welcome message
  • in the clientstatus function, the steam status has been added
  • help bot has been added, but it is not working properly yet

version 0.0.6

  • new help bot - now the bot operates in private messages without delays, there is no limit of users using the bot

version 0.0.7

  • translation has been added (except helpbot) - If you see any mistake in the translation send it to [email protected]
  • in the useronline function from now it is possible to enable a list of users in the description
  • in the group clients count function, a list of users from this group has been added, along with their status
  • in the clientstatus function steam status has been added (optional)
  • new functions: average packetloss, average ping, uptime, poke on channel, vpn detection, advertisment, ddos detection and bot info (information about the status of the instance and the ram usage)
  • improved boot file

version 0.1.0 (12.0.2.2019)

  • most functions have been improved
  • instances have been optimized
  • from now, each instance saves information in the file (using the ram and the number of functions enabled)
  • in the screen view you can check the last wear of the ram using the command "screen -r tBotx". Where x, enter the instance number (For bot control, enter "C"). In control bot, the last actions are displayed in the preview.
  • new functions: admis list, generate banner, channel zone client count, antyrecording, game server info, twitch stauts, youtube status, nick control, new users list, rank, top all of the time, month and week (active, idle and together), top rank
  • now anty vpn don't work
  • better starting script and autorun (init.d file)

In the future I want add/change

  • new functions

tbot's People

Contributors

xortdan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tbot's Issues

question

Hey,

can you please teach how to run(what I should do)?
I changed config.php and just to start I disabled other cores and only wanted to turn it on and see how this works.
Then I started it with ./starter.sh start1, and it said, First bot instance has been successfully started!, which nothing happened in my server.
Please give some tutorials!
thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.