mirror of https://github.com/YGGverse/HLState.git
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
3a0ae4810d
|
10 months ago | |
---|---|---|
bin | 10 months ago | |
config | 10 months ago | |
migrations | 10 months ago | |
public | 10 months ago | |
src | 10 months ago | |
templates/default | 10 months ago | |
tests | 10 months ago | |
translations | 10 months ago | |
.env | 10 months ago | |
.env.test | 10 months ago | |
.gitignore | 10 months ago | |
LICENSE | 10 months ago | |
README.md | 10 months ago | |
compose.override.yaml | 10 months ago | |
compose.yaml | 10 months ago | |
composer.json | 10 months ago | |
phpunit.xml.dist | 10 months ago | |
symfony.lock | 10 months ago |
README.md
HLState
Web monitor for Half-Life game servers based on Xash3D FWGS masters crawler
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-sqlite3
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
- Engine sources MIT License
Versioning
Components
Support
Blog
See also
- Xash3D FWGS builds for Yggdrasil
- half-life-server - Half-Life server edition by YGGverse
- pymaster - Refactored master server written in Python