mirror of
https://github.com/YGGverse/HLState.git
synced 2026-03-31 09:05:44 +00:00
Web Monitor for Half-Life Servers
half-lifehalf-life-monitorhalf-life-registryhalf-life-servershalf-life-statshljs-lessphpsymfonyweb-catalogxash3dyggdrasil
| bin | ||
| config | ||
| migrations | ||
| public | ||
| src | ||
| templates/default | ||
| tests | ||
| translations | ||
| .env | ||
| .env.test | ||
| .gitignore | ||
| compose.override.yaml | ||
| compose.yaml | ||
| composer.json | ||
| LICENSE | ||
| phpunit.xml.dist | ||
| README.md | ||
| symfony.lock | ||
HLState 
Web monitor for Half-Life game servers based on Xash3D FWGS masters crawler.
Project initially written to explore Yggdrasil servers, but compatible for 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/- Clearnethttp://[201:5eb5:f061:678e:7565:6338:c02c:5251]/hl/- Yggdrasilhttp://hl.ygg- Alfis DNS
Install
apt install git composer curl php php-xml php-intl php-mbstring php-curl php-sqlite3git clone https://github.com/YGGverse/HLState.gitcd HLStatecomposer installphp bin/console doctrine:migrations:migrate
Setup
chown -R www-data:www-data varcp .env .env.localcrontab -e>* * * * * /usr/bin/curl --silent http://localhost/crontab/index &> /dev/null
Update
git pullgit mergecomposer updatephp bin/console doctrine:migrations:migrateAPP_ENV=prod APP_DEBUG=0 php bin/console cache:clear
Contribution
Please create new branch from main before make PR
git checkout maingit checkout -b 'new-commit-branch'
License
- Engine sources MIT License
Versioning
Components
Support
Blog
See also
- Xash3D FWGS builds for Yggdrasil
- hl-customs - Media resources for Half-Life customization
- hl-server - Half-Life server edition by YGGverse
- pymaster - Refactored master server written in Python