Перейти к содержимому
Mineforgian

TPSnitch

TPSnitch is a Minecraft mod that monitors and displays server TPS (ticks per second) to help track server performance.

Загрузки
700
Подписчики
2
Обновлён
4 июня 2025 г.
Лицензия
Apache-2.0

Опубликован 23 апреля 2025 г.

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

  1. Requires Java 21
  2. Download the latest jar file
  3. Place the jar in your server's mods folder
  4. 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.

Ченджлог

1.3.3Релиз1.21.5 · 4 июня 2025 г.

Added and Auto-Updater (BETA) that will auto update the mod if a new version is available. You must check this in the config to use it.

Please report any issues to the github repo

1.3.2Релиз1.21.5 · 12 мая 2025 г.

Fixed many bugs in code, and also removed useless stuff from configs and more

I'd recommend reloading your config by deleting your old config

1.3.1Релиз1.21.5 · 9 мая 2025 г.

Fixed issues with log file, fixed some issues with the updater

1.3.0Релиз1.21.5 · 9 мая 2025 г.

Added a update checker.

TODO

  • Idea: Upload TPS/MSPT/Player Count to a webserver for easier access
  • Create easier viewing in game
1.2.0Релиз1.21.5 · 9 мая 2025 г.

Fixed many issues and added a proper config handling using Midnight lib

1.1.0Релиз1.21.4 · 24 апреля 2025 г.

Added configs and fixed bugs

1.0.0Релиз1.21.4 · 24 апреля 2025 г.

First Release, put it in your mods folder on the servers to start generating the json

Комментарии

Загружаем…