DayZ-Stat-Server/README.md

2.2 KiB

Hi Dayz Survivor !!

🔥 STILL in Devlopment ... not ready yet

https://dayz.echosystem.fr

☠ TEAM DayZ - https://dayz.echosystem.fr

Simple live Stat for Dayz Standalone server ☠.

Inspired by Omega namager template.

The OmegaManager is a local application to run your DayZ servers. It automatically deploys, runs, watches, restarts and updates your server.

Configuration Required

  • Set the config.php file and fill your ip , port , query and omega 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) Create dayzstat database first + user privilege.

Schema database is in table.sql
  • 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

JSON creation file

*/5 * * * *       /usr/local/bin/php -f /your/path/dayz2json.php > /your/path/server.json

for SQL insert

*/5 * * * *       /usr/local/bin/php -f /your/path/dayz2json_parser_sql.php 2>&1

TODO

  • make Regex to check time serv ( auto detect )

  • Need to finish SQL part for stat USER

  • Admin section with usefull info from your log server.

Library used:

PHP-Source-Query - PHP library to query servers that implement Steam query protocol (also known as Source Engine Query protocol)

sample:

example live page

https://git.echosystem.fr/Erreur32/DayZ-Stat-Server/raw/master/assets/Screenshot_2021-02-01.png

🔥 STILL in Devlopment ... not ready for production.


Website: dayz.echosystem.fr

Author : Erreur32