Twenty-second devlog for my Among Us in Minecraft project
This update focuses on action logging, log uploads, and chat restriction improvements.
The biggest addition is ActionLog: A logging system that records (nearly) everything that happens during a game. Every logged event is stored in a structured format with timestamps, making it much easier to debug issues and analyze gameplay. The system covers game events (start, end, phase transitions, host changes, countdowns), player actions (joins, disconnects, deaths), role and ability usage, task assignments and completions, meeting and voting, settings changes, and gameplay interactions like vents, cameras, morphs, ghost form, sabotages, and chat. An ActionLogManager handles registration and persistence, and each entry is serialized to JSON with a createdAt timestamp and optional customData for additional metadata.
Inspired by Spark, at the end of a game the plugin can now automatically upload the ActionLog to a server. The server itself is a small Node.js app (still local-only for now) that stores each log and assigns a unique 16-character hex code. Logs are accessible via a web interface at /log/<code> or as raw JSON at /raw/<code>, and are automatically deleted after one hour. It’s still under construction.
On the chat side, a new DISABLE_MESSAGES_RESTRICTION setting was added, giving hosts the option to turn off in-game chat restrictions entirely. That is for games where the host wants to explain how everything works.
Finally, the /me command is now blocked in-game.
Log in to leave a comment