

What are the most common uses cases of this API? Pass the server hosts and receive information about their status. What this API receives and what your API provides (input/output)? Whether you're a server owner, a player, or just someone who wants to stay up-to-date on the latest Minecraft server activity, the API provides a wealth of information that can help you stay informed and make informed decisions. Overall, the Minecraft Server Status API is a powerful tool for anyone who wants to retrieve information about Minecraft servers in real time. In addition to the player count, MOTD, and status, the API also provides other server-related details, such as the server's IP address and port number. The Minecraft Server Status API is available for both Java and Bedrock servers, making it a versatile tool for anyone who wants to retrieve information about Minecraft servers. If the API reports that the server is down, owners can quickly take action to address any issues and get the server back online. This can be particularly useful for server owners who want to make sure that their server is up and running properly. Additionally, the API allows users to retrieve information about the server's message of the day (MOTD), which can provide a brief description of the server's rules, features, or other important information.Īnother important feature of the Minecraft Server Status API is the ability to check the server's status. This can be useful for server owners who want to keep track of their server's activity, or for players who want to find a server with a high player count. One of the primary features of the Minecraft Server Status API is the ability to retrieve the number of players currently online. The API provides users with real-time updates on server status, player count, and other server-related details. On Firefox, the background behind fields is not blurry but despite this, it still looks nice.The Minecraft Server Status API is a web-based application programming interface (API) that allows users to retrieve information about Minecraft servers. It presents the best on the Chromium-based browser. The frontend is written pure html5, css3, and javascript. I fix that by replacing the string with more useful information.
Minecraft server status api mods#
Unfortunately, sometimes mods versions are reported as "version" or "ANY" string. Then it parses received JSON and converts it to the form I find more useful. The backend pings the server using raw sockets. The important thing to notice is that the frame id and title must be identical, e.g.:įor the backend, I use java and spring.
Minecraft server status api mod#
The frame will adjust its width and height after fetching the data or pressing the mod list button. ( DEPRICATED) You can put the status banner on your website using an iframe. addEventListener ( 'message', function ( event ) ) You also need to define message event handler e.g.: You can use the server-side frontend, e.g.: I recommend putting the frontend in a separate directory on your webserver. /api/fixed - server status with fixing mods version./api/ - server status without fixing mods version.The only thing you need to do to configure the fronted is to put the backend URL in the 9th line of index.html. You can run the backend standalone or on a dedicated enterprise server (e.g. You also can change the timeout and allowed origins but I recommend leaving it unchanged.

Open the src/main/resources/application.properties file and set the host address (optionally the port, if needed). To use this application, you must configure the backend first. This version uses the Thymeleaf template engine. Moreover, I've implemented a server-side frontend version that is available under /. The status REST endpoints have been moved / -> /api and /fixed -> /api/fixed! Now you can ping any server you want! Just add host, port params and name (only GUI) params to url. The existing API's were, at least, unsatisfying for me. I decided to make a simple web app with server info. I find it helpful to be able to check on my mobile, e.g, who's currently playing. I've recently started hosting a Forge Minecraft server to play with my friends. the number of online players with their nicknames,.A simple API and frontend that provides information about a (Forge) Minecraft server such as:
