ProjectZomboidReporter-Ingester
ProjectZomboidReporter-Ingester
Docker-Anwendung from Natcoso9955's Repository
Übersicht
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;
Anforderungen
Project Zomboid
Laufzeit-Argumente
- Netzwerk
bridge- Shell
sh- Privilegiert
- false
- Extra Params
--restart=unless-stopped
Konfiguration der Vorlage
ZOMBOID_SERVER_NAMEVariable
Container Variable: ZOMBOID_SERVER_NAME
- Standard
- servertest
- Wert
- Game_Server
Project Zomboid Server FilesPathro
Container Path: /var/www/html/sv
- Ziel
- /var/www/html/sv
- Standard
- /mnt/user/appdata/ProjectZomboid/Zomboid/
- Wert
- /mnt/user/appdata/ProjectZomboid/Zomboid/
SQL_HOSTVariable
Container Variable: SQL_HOST
- Standard
- serverip:port
SQL_DATABASEVariable
Container Variable: SQL_DATABASE
- Standard
- Zombo
- Wert
- Zombo
SQL_USERVariable
Container Variable: SQL_USER
- Wert
- SQL_USER
SQL_PASSVariable
Container Variable: SQL_PASSWORD
- Wert
- SQL_PASS
Kategorien
Statistik herunterladen
652
Downloads insgesamt
Einzelheiten
Repository
chrisashtear/zomboid-reporterZuletzt aktualisiert2022-12-11
Erstmals gesehen2022-03-04
Führen Sie ProjectZomboidReporter-Ingester auf Unraid aus.
ProjectZomboidReporter-Ingester ist gelistet in Community Apps für Unraid OS. Erkunden Sie Unraid, um einen flexiblen Heimserver, ein NAS oder ein Heimlabor aufzubauen.