Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 1.74 KB

README.md

File metadata and controls

38 lines (30 loc) · 1.74 KB

Top HLStatsX Players

Script to display the rating of the hlstatsx players

GitHub Release GitHub commit activity GitHub last commit

image

Demo Page: https://stats.dnagames.site/top-hlstatsx-players/index.html

About

Do you want to place on the forum mini-ranked players on your servers (team fortress 2, counter-strike: source, counter-strike: global offensive, etc)? This script will help you! It displays not just the last 10 players, and also allows you to watch the rest of the list!

Features

  • Not using jQuery and other large libraries
  • Runs entirely on Ajax
  • Very easy to set up
  • Can be used absolutely anywhere (using frames)

Requirements

  • PHP 5.4 or higher
  • mbstring needs installed if running on PHP 7/8
  • Installed hlstatsx

Installation

  • Copy all files to any dir in your web-server.
  • Configure include/config.php file (and include/database.class.php for database)
  • Add following code to display (e.g. to xenforo right block):
<iframe src="PATH_TO_SCRIPT/?game=GAME_TYPE" width="245" height="290" frameborder="0" scrolling="no">
</iframe>