{"repo":"lucaazalim/minecraft-server-ping","free":true,"listed":false,"github":"https://github.com/lucaazalim/minecraft-server-ping","clone":"git clone https://github.com/lucaazalim/minecraft-server-ping.git","description":"A Java Minecraft server \"pinger\" (MOTD ping) API.","language":"Java","stars":57,"topics":["minecraft","minecraft-server","motd","multiplayer","ping","server","java"],"license":null,"category":"game-templates","readme_excerpt":"MCServerPing A lightweight Java library for retrieving Minecraft server information via the Server List Ping protocol. This library provides access to the same data displayed in the Minecraft client's server list. Features - Server MOTD (Message of the Day) with color code support - Player count and player samples - Server version and protocol information - Base64 encoded favicon - Built-in SRV record resolution - Automatic Text Component to legacy text conversion - Configurable timeouts and connection parameters Installation Add the dependency to your pom.xml : Usage Basic Example See the example class for a complete implementation. Configuration Options The MCPingOptions class supports the following configuration: - hostname (required) - Server hostname or IP address - port (optional, default: 25565) - Server port - timeout (optional, default: 5000) - Connection timeout in milliseconds - readTimeout (optional, default: 5000) - Read timeout in milliseconds - charset (optional, default: UTF-8) - Character encoding for MOTD - protocolVersion (optional, default: 4) - Minecraft protocol version Available Data The MCPingResponse object provides access to: - Description : Server MOTD with getText() and getStrippedText() methods - Players : Online/max player counts and player samples (if provided) - Version : Protocol version and version name - Favicon : Base64 encoded server icon - Ping : Response time in milliseconds - Hostname/Port : Resolved server address (useful with SRV reco","default_branch":null,"files":null,"tree":[],"storefront":"/r/lucaazalim","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/lucaazalim/minecraft-server-ping/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}