TPSnitch
TPSnitch is a Minecraft mod that monitors and displays server TPS (ticks per second) to help track server performance.
介绍
TPSnitch
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:
{
"2025-04-23T21:00:00Z": {
"TPS": 20.0,
"MSPT": 50.0,
"PlayerCount": 5
},
...
}
Getting Started
- Requires Java 21
- Download the latest jar file
- Place the jar in your server’s
modsfolder - Start your server
Configuration
- Log interval, debug mode, and log file name are configurable via your loader’s config system
- Logs are saved to a JSON file (default:
tpsnitch_log.json)
License
Apache 2.0
For questions or support, put it in our Issues.
常见问题
TPSnitch 支持哪些 Minecraft 版本?
TPSnitch 支持 Minecraft Java 版 1.21–26.2,共 16 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
TPSnitch 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。
Dashtiss 的其他作品
查看全部 →
Lite Legacy
A Performance friendly alternative to other Legacy4J based modpacks. Relive the LCE experience in a way that prioritizes performance!
Infinite Reforged
Explore, Create, Conquer! A reforge of a 1.12.2 modpack I created with my friends
Infinite Frontiers
Infinite Frontiers offers a seamless blend of technology, magic, and exploration, providing an unparalleled Minecraft experience with a curated selection of mods.
评论
登录后评论和评分