ProjectZomboidReporter-Ingester

ProjectZomboidReporter-Ingester

Docker app from Natcoso9955's Repository

Overview

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;

Requirements

Project Zomboid

Runtime arguments

Network
bridge
Shell
sh
Privileged
false
Extra Params
--restart=unless-stopped

Template configuration

ZOMBOID_SERVER_NAMEVariable

Container Variable: ZOMBOID_SERVER_NAME

Default
servertest
Value
Game_Server
Project Zomboid Server FilesPathro

Container Path: /var/www/html/sv

Target
/var/www/html/sv
Default
/mnt/user/appdata/ProjectZomboid/Zomboid/
Value
/mnt/user/appdata/ProjectZomboid/Zomboid/
SQL_HOSTVariable

Container Variable: SQL_HOST

Default
serverip:port
SQL_DATABASEVariable

Container Variable: SQL_DATABASE

Default
Zombo
Value
Zombo
SQL_USERVariable

Container Variable: SQL_USER

Value
SQL_USER
SQL_PASSVariable

Container Variable: SQL_PASSWORD

Value
SQL_PASS

Categories

Download Statistics

652
Total Downloads

Details

Repository
chrisashtear/zomboid-reporter
Last Updated2022-12-11
First Seen2022-03-04

Run ProjectZomboidReporter-Ingester on Unraid.

ProjectZomboidReporter-Ingester is listed in Community Apps for Unraid OS. Explore Unraid to build a flexible home server, NAS, or homelab.