Administration

This page describes the tasks you have to do as a admin for your HLStats installation.
The most important steps are already done by the installation but here are more information about what you can do and what it is all about.

Overview

Add support for a game

This can be found under:

General Settings -> Games.

There you can select a game for which a gamesupport_* file is available. You can install a game only once yet.
If a game is already installed it will not be listed in the dropdown, it will be listed in the dropdown for deleting a game.

If you want to delete a game keep in mind that all the data and config will be deleted !

After you have added the game, the game will be available under

Game settings -> gameName -> Servers

There you have to add the game server or even mutliple with the same game.
The Rcon password is needed to provide some more detailed information in the server view.

After saving you are ready to run the daemon and ready to provide stats.

 

Setup cronjob for awards generation

To get the awards up and running you need to run hlstats-awards.pl once a day. You can setup a cronjob which is run once a day. But keep in mind you need at last log files for a day because the awards a only generated for the previous day.

crontab -e
0 12 * * * perl /path/to/hlstats-awards.pl

This crontab entry will run hlstats-awards.pl once a day at 12:00.
If you don't have access to crontab, ask your webshost/admin about setting up a cronjob on your server for you.

Then you need set the "Show awards" option to yes in the HLStats options page at the administration interface. Otherwise the awards will not be shown.