ProjectZomboidReporter-Ingester

ProjectZomboidReporter-Ingester

Docker 应用程序 from Natcoso9955's Repository

概述

This is the ingester which grabs statiscs from your Project Zomboid server files and uploads them to the SQL database for the API to access. NOTE: if you havnt had a player connect to your server yet, you will get an error. If you are having issues with the database tables not being autocreated, connect to the database with adminer (or another program of your choice) and create the tables and structure with the following: USE `Zombo`; SET NAMES utf8mb4; CREATE TABLE `Game` ( `id` int NOT NULL AUTO_INCREMENT, `dayofmonth` int NOT NULL, `month` int NOT NULL, `daysSinceStart` int NOT NULL, `name` text NOT NULL, `maxPlayers` int NOT NULL, `startDay` int NOT NULL, `startMonth` int NOT NULL, `startYear` int NOT NULL, `year` int NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; CREATE TABLE `Players` ( `id` int NOT NULL AUTO_INCREMENT, `username` text NOT NULL, `charname` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL, `x` float NOT NULL, `y` float NOT NULL, `data` blob NOT NULL, `lastOnline` text NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

要求

Project Zomboid

运行时参数

网络
bridge
外壳
sh
特权
false
额外参数
--restart=unless-stopped

模板配置

ZOMBOID_SERVER_NAMEVariable

Container Variable: ZOMBOID_SERVER_NAME

默认值
servertest
价值
Game_Server
Project Zomboid Server FilesPathro

Container Path: /var/www/html/sv

目标
/var/www/html/sv
默认值
/mnt/user/appdata/ProjectZomboid/Zomboid/
价值
/mnt/user/appdata/ProjectZomboid/Zomboid/
SQL_HOSTVariable

Container Variable: SQL_HOST

默认值
serverip:port
SQL_DATABASEVariable

Container Variable: SQL_DATABASE

默认值
Zombo
价值
Zombo
SQL_USERVariable

Container Variable: SQL_USER

价值
SQL_USER
SQL_PASSVariable

Container Variable: SQL_PASSWORD

价值
SQL_PASS

下载统计数据

652
下载总数

详细信息

存储库
chrisashtear/zomboid-reporter
最后更新2022-12-11
初见2022-03-04

在Unraid 上运行 ProjectZomboidReporter-Ingester 。

ProjectZomboidReporter-Ingester 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。