Skip to main content

ping - Command

Description

Performs a Server List Ping (SLP) check on a specified Minecraft server address. This command is used for quick debugging or to retrieve basic information from a single server.

note

The SLP protocol gathers essential server details such as version, player count, MOTD, and favicon.

Usage

./ServerRawler ping <ADDRESS>

The <ADDRESS> should be in the format <IP>[:PORT]. If the port is unset, 25565 (the default Minecraft port) will be used.

Examples

To ping a server at a specific IP address using the default port (25565):

./ServerRawler ping 192.168.1.1

To ping a server at a specific IP address and port:

./ServerRawler ping 192.168.1.1:25567

Example output:

[INFO   ] Starting Ping for 192.168.1.1
[SUCCESS] Ping response from 192.168.1.1:
• Version: 1.20.1 (Protocol: 764)
• Players Online: 10/100
• Latency: 50.23ms
• Secure Chat: Enforced
• Description:
| §aWelcome §c§lto the §8Server!
• Plain Description:
| Welcome to the Server!
• Favicon: data:image/png;base64,...