Important
Even though this project does not include telemetry, this mod involves data collection and transmission that you should be aware of.
When enabled, performance metrics are written to files in a configurable directory.
When the network feature is enabled, this mod transmits data via two protocols:
HTTP (TCP):
- Exposes device information via
/api/deviceinfoendpoint - Any party with network access can query this endpoint
UDP:
- Sends performance metrics to the configured
network_host:sender_port - Transmitted data includes:
- Session identifier
- Timestamp
- All enabled metrics (FPS, TPS, heap, CPU, etc.)
- Complete system information (CPU, GPU, OS, Java version, etc.)
The HTTP endpoint and UDP receiver have no built-in authentication or encryption. Any party with network access can receive and store your data.
Data is transmitted in plain text over both HTTP and UDP.
Any remote server you send data to will retain that data according to their own policies. This mod has no control over how your data is stored or used by third parties.
The /api/deviceinfo endpoint exposes detailed system information including:
- CPU model and core count
- GPU model
- Operating system and version
- Java version
- Total memory
-
Trust the endpoint: Only enable the network feature if you trust the server you're sending data to.
-
Use localhost for testing: When testing, use
localhost(127.0.0.1) to avoid exposing data externally. -
Firewall configuration: Configure your firewall appropriately:
- Block external access to
receiver_port(HTTP server) - Only allow outbound UDP to your trusted monitoring server
- Block external access to
-
Understand what's transmitted: Review the data format in Network API before enabling network features.
-
Consider your environment: In shared hosting environments, other parties may be able to access your server's HTTP endpoint.
-
Use a reverse proxy for production: For production deployments exposed to untrusted networks, configure a reverse proxy (e.g., nginx, Caddy) in front of the mod's HTTP endpoint. This provides:
- TLS/SSL termination
- Authentication (Basic Auth, JWT, etc.)
- Rate limiting
- Access logging
- Additional security headers
By default, all network features are disabled.
/ptracker config network_enabled falseOr via Cloth Config GUI in the mod menu.