Web Stats for Half-Life Server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
ghost 2ab0da4fa8 update readme 3 months ago
bin init symfony framework 4 months ago
config implement players online monthly chart 3 months ago
migrations cache latest server HostName in database 4 months ago
public remove custom branding 3 months ago
src reduce socket connection time 3 months ago
templates/default implement players online monthly chart 3 months ago
tests init symfony framework 4 months ago
translations init symfony framework 4 months ago
.env implement players online monthly chart 3 months ago
.env.test init symfony framework 4 months ago
.gitignore update readme 3 months ago
LICENSE Initial commit 4 months ago
README.md update readme 3 months ago
compose.override.yaml init symfony framework 4 months ago
compose.yaml init symfony framework 4 months ago
composer.json implement players online monthly chart 3 months ago
phpunit.xml.dist init symfony framework 4 months ago
symfony.lock implement basic features 4 months ago

README.md

HLState

Web monitor for Half-Life game servers based on Xash3D FWGS masters crawler.

Project initially written to explore Yggdrasil servers, but compatible with any other network

Features

  • Live scrape of each server for online status, active map, players total
  • Game session info: names, frags, time in game, etc
  • Subscription for online updates and players join to server with RSS
  • History keeping in SQLite DB for any charts building
  • New instances crawler based on multiple master nodes
  • Flexible environment settings

Examples

  • http://94.140.114.89/hl/ - Clearnet
  • http://[201:5eb5:f061:678e:7565:6338:c02c:5251]/hl/ - Yggdrasil
  • http://hl.ygg - Alfis DNS

Install

  • apt install git composer curl memcached php php-xml php-intl php-mbstring php-curl php-sqlite3 php-memcached
  • git clone https://github.com/YGGverse/HLState.git
  • cd HLState
  • composer install
  • php bin/console doctrine:migrations:migrate

Setup

  • chown -R www-data:www-data var
  • cp .env .env.local
  • crontab -e > * * * * * /usr/bin/curl --silent http://localhost/crontab/index &> /dev/null

Update

  • git pull
  • git merge
  • composer update
  • php bin/console doctrine:migrations:migrate
  • APP_ENV=prod APP_DEBUG=0 php bin/console cache:clear

Contribution

Please create new branch from main before make PR

  • git checkout main
  • git checkout -b 'new-commit-branch'

License

Versioning

Semantic Versioning 2.0.0

Components

Support

Blog

See also