ProjectZomboidReporter-Ingester
ProjectZomboidReporter-Ingester
Application Docker from Natcoso9955's Repository
Vue d'ensemble
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;
Exigences
Project Zomboid
Arguments d'exécution
- Réseau
bridge- Coquille
sh- Privilégié
- false
- Paramètres supplémentaires
--restart=unless-stopped
Configuration du modèle
ZOMBOID_SERVER_NAMEVariable
Container Variable: ZOMBOID_SERVER_NAME
- Défaut
- servertest
- Valeur
- Game_Server
Project Zomboid Server FilesPathro
Container Path: /var/www/html/sv
- Cible
- /var/www/html/sv
- Défaut
- /mnt/user/appdata/ProjectZomboid/Zomboid/
- Valeur
- /mnt/user/appdata/ProjectZomboid/Zomboid/
SQL_HOSTVariable
Container Variable: SQL_HOST
- Défaut
- serverip:port
SQL_DATABASEVariable
Container Variable: SQL_DATABASE
- Défaut
- Zombo
- Valeur
- Zombo
SQL_USERVariable
Container Variable: SQL_USER
- Valeur
- SQL_USER
SQL_PASSVariable
Container Variable: SQL_PASSWORD
- Valeur
- SQL_PASS
Catégories
Télécharger les statistiques
652
Total des téléchargements
Détails
Référentiel
chrisashtear/zomboid-reporterDernière mise à jour2022-12-11
Première vue2022-03-04
Exécutez ProjectZomboidReporter-Ingester sur Unraid.
ProjectZomboidReporter-Ingester est listé dans Community Apps pour Unraid OS. Explorez Unraid pour créer un serveur domestique flexible, un NAS ou un laboratoire domestique.