The Wiki is deprecated and has been replaced by the Jones_Jones Docs

Web-API


This feature exists as of version 0.3.0 of McWebserver

The API is split into two parts:

What is an API?

An API allows you to get information from the server in form of json code.

As an example we can fetch ourselves the server MOTD to display it on our website.

This API call will get you the following response:

  • API call (replace localhost with your IP and the port with your actual webserver port from the config file):