Skip to content

yugecin/tsstats-webviewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published