userdata["acclevel"] < 80) die ("Access denied!"); $edlist = new EditList("rule", "hlstats_server_addons", "game", false); $edlist->columns[] = new EditListColumn("rule", "Rule", 25, true, "text", "", 64); $edlist->columns[] = new EditListColumn("addon", "Addon", 25, true, "text", "", 64); $edlist->columns[] = new EditListColumn("url", "URL", 40, true, "text", "", 255); if ($HTTP_POST_VARS) { if ($edlist->update()) message("success", "Operation successful."); else message("warning", $edlist->error()); } ?> Here you can define a list of addons (plugins) the HLStats live statistics page will detect.
When HLStats queries a server for the rules the server will return something like this.

">
Rule Value
mp_footsteps 1
sv_timelimit 30


Addons usually create a cvar that is publicly available in the rules list. In most cases the cvar that shows the addons existance just shows the version of the addon. You can configure HLStats on this page to then show the proper name of the plugin and it's version on the live statistics page. For example:

">
Rule Value Addon Version
cdversion 4.14 Cheating Death 4.14
hlguard_version 4.14 HLGuard 4.14


The value in the table above shows the addon version. To include the version in your proper name of the addon you can use a %. If the addon happens to have a home page where more information can be found on the addon, you can put it in as the URL which will be linked to.
These default addons should help make understanding this feature easier.

query(" SELECT rule, addon, url FROM hlstats_server_addons ORDER BY rule ASC "); $edlist->draw($result); ?>