ProjectZomboidReporter-Ingester
ProjectZomboidReporter-Ingester
Aplicación Docker from Natcoso9955's Repository
Visión general
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;
Requisitos
Project Zomboid
Argumentos en tiempo de ejecución
- Red
bridge- Concha
sh- Privilegiado
- false
- Parámetros adicionales
--restart=unless-stopped
Configuración de plantillas
ZOMBOID_SERVER_NAMEVariable
Container Variable: ZOMBOID_SERVER_NAME
- Por defecto
- servertest
- Valor
- Game_Server
Project Zomboid Server FilesPathro
Container Path: /var/www/html/sv
- Objetivo
- /var/www/html/sv
- Por defecto
- /mnt/user/appdata/ProjectZomboid/Zomboid/
- Valor
- /mnt/user/appdata/ProjectZomboid/Zomboid/
SQL_HOSTVariable
Container Variable: SQL_HOST
- Por defecto
- serverip:port
SQL_DATABASEVariable
Container Variable: SQL_DATABASE
- Por defecto
- Zombo
- Valor
- Zombo
SQL_USERVariable
Container Variable: SQL_USER
- Valor
- SQL_USER
SQL_PASSVariable
Container Variable: SQL_PASSWORD
- Valor
- SQL_PASS
Categorías
Descargar estadísticas
652
Descargas totales
Detalles
Repositorio
chrisashtear/zomboid-reporterÚltima actualización2022-12-11
Visto por primera vez2022-03-04
Ejecute ProjectZomboidReporter-Ingester en Unraid.
ProjectZomboidReporter-Ingester se encuentra en Community Apps para Unraid OS. Explore Unraid para crear un servidor doméstico flexible, un NAS o un laboratorio doméstico.