Skip to content

Properer Ping

By lolwmOwner

A Fabric mod that tracks and provides access to packet latency measurements between the client and server.

<1,000 downloads Updated

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

Properer Ping

A Fabric mod that tracks and provides access to packet latency measurements between the client and server.

Best paired with a mod like Ping View or Better Ping Display (whenever it gets updated).

Features

  • Tracks latency for the last 5 packets sent between client and server
  • Measures latency in milliseconds with nanosecond precision
  • Thread-safe implementation using concurrent collections

How It Works

The mod uses mixins to intercept Minecraft's query ping/pong packets to measure round-trip time (RTT):

  1. Client sends QueryPingC2SPacket: Contains a timestamp and requests server information
  2. Server responds with PingResultS2CPacket: Echoes back the original timestamp
  3. ClientPlayNetworkHandlerMixin: Intercepts the pong response
  4. PacketLatencyTracker: Calculates latency as (response time - request time)

RTT is measured as the time between sending a query ping and receiving the pong response.