Webviewer for my teamspeak3 statistics bot https://github.com/yugecin/tsstats
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
imgres
.gitignore
LICENSE
README.md
config.sample.php
countries.php
db.php
flags.css
flags.png
footer.php
funcs.php
header.php
index.php
integritycheck.php
reset.css
silk.css
style.css
table.php
tscount.php
tsviewer.php
view_bans.php
view_channel.php
view_channel_show.php
view_channels.php
view_client.php
view_client_show.php
view_countries.php
view_index.php
view_kicks.php
view_times.php
view_viewer.php

README.md

tsstats webviewer

Webviewer for the tsstats bot, showing the gathered statistics in a fancy way, inspired by similar irc statistics.

See yugecin/tsstats for the actual statsbot.

Examples/Demo

Notes

  • This was made in the summer of 2014, and most parts have been left untouched since then. Expect weird code styles.

Requirements

  • Some webserver with php runtime - as long as it can use PDO it should be good (so at least php 5.0)
  • MySQL/MariaDB db having some tsstats data

Installation

  • Get a database with tsstats (see tsstats repo)
  • Get a user for the database, it only really needs SELECT access
  • Copy config.sample.php to config.php and edit everything as needed
  • The live viewer expects that the tsstats bot places the viewer file in the same directory (as .hteamspeak.txt, see view_viewer.php)
  • For the viewer, you need to add the icons for every group manually in the imgres folder. sgroup_ID.png for server groups, cgroup_ID.png for channel groups. To get the id, open the permissions and check the numer next to the group. For example, if you see 'Admin (13)' in the servergroups, add the admin icon as imgres/sgroup_13.png.

Credits

License

GPL-3.0