1.6 KiB
1.6 KiB
Hi Survivor ☠ !!
Simple live Stat for Dayz Standalone server ☠.
Inspired by Omega namager for the template.
🔥 STILL in Devlopment ...
Required
-
Set the config.php file and fill your
ip
,port
,query
andomega server port mod
.$ipserv = "6.6.6.6"; // IP server game $portserv = "2302" ; // Game Server Port $modport = "2312" ; // Mod port omega (+10) $queryport= "27016"; // Queryport
OPTIONAL:
-
Omega manager (to check mod only)
-
mysql database (to store status server for graph)
Schema database is not ready yet.
- put statserverjson.sh in crontab like this for mysql insert & creation of json file. (for shell bash only)
*/5 * * * * /bin/sh /your/path/statserver_json.sh
OR
*/5 * * * * /usr/local/bin/php -f /your/path/dayz2json.php > /your/path/server.json
Library used:
PHP-Source-Query - PHP library to query servers that implement Steam query protocol (also known as Source Engine Query protocol)
sample:
🔥 STILL in Devlopment ...
Website: dayz.echosystem.fr
Author : Erreur32