TPSnitch is a Fabric Minecraft server utility mod for monitoring server performance. It automatically logs TPS (Ticks Per Second), MSPT (Milliseconds Per Tick), and player count at configurable intervals to a JSON file, making it easy to analyze server health over time.
Features
Logs TPS, MSPT, and player count to a JSON file keyed by timestamp
Configurable log interval, debug mode, and log file name
Player count tracked via join/leave events
Utility functions for retrieving TPS and MSPT from the server object
Supports Fabric
Output Format
The log file is a JSON object where each key is an ISO timestamp, and each value is an object of TPS, MSTP and Player Count: