Download Grass Pinger — Minecraft Mods — MetaMods
Grass Pinger

Grass Pinger

Active

Downloads

0

Last update

4 weeks ago

Versions

1.20 — 1.21.3
Client
Fabric
Utils

How to Use

After installing the mod, two tall grass stems will appear in the top-right corner of the screen. The right indicator displays the Google connection status, while the left represents the connection to the game server you are currently on.

Every 10 seconds (this interval can be changed in the grasspinger.toml configuration file), the bottom grass block automatically disappears, and a request is sent to the server. When the server responds, the top block also disappears.

Pinger Preview

The image shows both pingers: for the connected server and for Google.

The Connected Server indicator attempts to establish communication with the server you are currently playing on (e.g., Hypixel.net, Gommehd.net, etc.). The Google indicator checks the connection to Google.com

Pinging Preview

This image demonstrates the ping process: when the bottom grass or lilac block breaks (this happens automatically at specific intervals), a request is sent to the server. When a response is received, the top block also disappears!

Failed Preview

This image shows what the Current Server Ping indicator looks like if you are in a single-player world or if the server has stopped working. If the same happens with the Google indicator, it indicates a loss of internet connection. However, if the Google indicator works and the server indicator doesn't — the problem is specifically on the server side!

Configuration

You can configure:

  • Textures
  • Interval between successful measurements
  • Interval between unsuccessful attempts

Textures

You can create a custom texture pack, but it must follow the specified structure:

TexturePackName/assets/grasspinger/textures/Tallgrassbottom.png
TexturePackName/assets/grasspinger/textures/Tallgrasstop.png
TexturePackName/assets/grasspinger/textures/Liliacbottom.png
TexturePackName/assets/grasspinger/textures/Liliactop.png

Time Configuration

The configuration file is located at:

.minecraft/config/grasspinger.toml

This file contains five parameters for configuration:

ServerBetweenWaitingTime = 800
IsServerpingEnabled = false
IsClientpingEnabled = false
ServerTimeOutWaitingTime = 5000
ServerStartWaitingTime = 500
ClientBetweenWaitingTime = 800
ClientStartWaitingTime = 500

ServerBetweenWaitingTime — the interval between server ping measurements (the grass indicator is not visible). IsServerpingEnabled — if true, displays the Google ping indicator. IsClientpingEnabled — if true, displays the server ping indicator. ServerTimeOutWaitingTime — the waiting time for an unsuccessful server ping measurement. ServerStartWaitingTime — the interval between server ping measurements after ServerBetweenWaitingTime (the grass indicator is visible). ClientBetweenWaitingTime — the interval between Google ping measurements (the grass indicator is not visible). ClientStartWaitingTime — the interval between Google ping measurements after ClientBetweenWaitingTime (the grass indicator is visible).

Commands

Currently, only one command is available:

/pingDebug

The pingDebug command outputs information about the current server ping measurement to the console.

(Uses the cmd ping command, so it will show the server's IP address.)

Key Bindings

Two key bindings are available:

  • Toggle Current Server Ping indicator
  • Toggle Google Ping indicator
Project members
Mian

Mian

Developer

Created: 3 Nov 2024

ID: 63339