DayZ-Stat-Server/README.md

58 lines
1.6 KiB
Markdown
Raw Normal View History

2021-02-01 16:06:56 +01:00
## Hi Survivor ☠ !!
2021-01-31 13:16:02 +01:00
2021-01-31 19:09:32 +01:00
![https://dayz.echosystem.fr](https://git.echosystem.fr/repo-avatars/191)
2021-01-31 13:16:02 +01:00
2021-02-01 16:08:40 +01:00
# Simple live Stat for Dayz Standalone server ☠.
2021-02-01 18:48:39 +01:00
Inspired by Omega namager for the template.
2021-02-01 18:41:36 +01:00
2021-02-01 16:08:40 +01:00
## 🔥 STILL in Devlopment ...
2021-01-31 13:16:02 +01:00
2021-02-01 14:45:18 +01:00
### Required
2021-01-31 13:16:02 +01:00
2021-02-01 18:48:19 +01:00
- Set the *config.php* file and fill your `ip` , `port` , `query` and `omega server port mod`.
2021-02-01 18:41:36 +01:00
2021-02-01 18:48:19 +01:00
> $ipserv = "6.6.6.6"; // IP server game
> $portserv = "2302" ; // Game Server Port
> $modport = "2312" ; // Mod port omega (+10)
> $queryport= "27016"; // Queryport
2021-02-01 18:41:36 +01:00
### OPTIONAL:
- Omega manager (to check mod only)
2021-02-01 14:45:18 +01:00
- mysql database (to store status server for graph)
2021-02-01 14:48:14 +01:00
> Schema database is not ready yet.
2021-02-01 14:45:18 +01:00
2021-02-03 11:14:20 +01:00
- put *statserverjson.sh* in crontab like this for mysql insert & creation of json file. (for shell bash only)
2021-02-01 18:50:33 +01:00
> */5 * * * * /bin/sh /your/path/statserver_json.sh
2021-02-02 23:34:59 +01:00
OR
2021-02-03 11:14:20 +01:00
> */5 * * * * /usr/local/bin/php -f /your/path/dayz2json.php > /your/path/server.json
2021-01-31 13:16:02 +01:00
2021-02-01 18:48:19 +01:00
### Library used:
2021-01-31 13:16:02 +01:00
2021-02-01 18:41:36 +01:00
[PHP-Source-Query](https://github.com/xPaw/PHP-Source-Query) - PHP library to query servers that implement Steam query protocol (also known as Source Engine Query protocol)
2021-01-31 13:36:35 +01:00
2021-02-01 18:41:36 +01:00
2021-02-01 18:48:19 +01:00
2021-01-31 13:36:35 +01:00
2021-02-01 18:50:33 +01:00
### sample:
2021-01-31 13:44:49 +01:00
2021-02-01 18:50:33 +01:00
[example live page](https://dayz.echosystem.fr/server/Namalsk2)
2021-02-02 11:32:14 +01:00
![https://git.echosystem.fr/Erreur32/DayZ-Stat-Server/raw/master/assets/Screenshot_2021-02-01.png](https://git.echosystem.fr/Erreur32/DayZ-Stat-Server/raw/master/assets/Screenshot_2021-02-01.png)
2021-01-31 13:43:54 +01:00
2021-01-31 13:16:02 +01:00
2021-02-01 16:07:27 +01:00
## 🔥 STILL in Devlopment ...
2021-01-31 13:16:02 +01:00
2021-01-31 13:43:54 +01:00
2021-01-31 13:16:02 +01:00
-----
Website: [dayz.echosystem.fr](https://dayz.echosystem.fr)
2021-02-01 16:06:56 +01:00
Author : Erreur32