Overview
Last updated
Last updated
The Java MCStatus library is a Java-based wrapper for the . It is a fork of the original node-mcstatus
npm package, ported to Java to provide similar functionality for Java developers. This library allows you to easily retrieve the status of Minecraft Java and Bedrock Edition servers, including details such as player count, server version, MOTD, and more.
Java and Bedrock Server Support: Retrieve status information for both Minecraft Java and Bedrock Edition servers.
Simple and Intuitive API: Designed to be easy to use, with methods for fetching server status, player lists, MOTD, and more.
Customizable Timeout: Set a custom timeout for API requests to handle slow or unresponsive servers.
Error Handling: Provides robust error handling for invalid server addresses or failed API requests.
Icon Retrieval: Fetch server icons as BufferedImage
objects or URLs.
Retrieve the status of a Minecraft Java Edition server.
Retrieve the status of a Minecraft Bedrock Edition server.
Retrieve the server icon as a BufferedImage
or URL.
Familiar API: If you're coming from the Node.js or Python versions of mcstatus
, you'll find the API very similar.
Lightweight: Designed to be minimal and easy to integrate into your Java projects.
Cross-Platform: Works on any platform that supports Java.
This Java MCStatus library is a powerful tool for developers who need to interact with Minecraft servers programmatically. Whether you're building a server monitoring tool, a server list, or just experimenting, this library has you covered! Let me know if you need further assistance.
To use the Java MCStatus library, include it as a dependency in your project. Download the library from Github repository,
This library is licensed under the MIT License. See the file for more details.