Ever wanted to embed information from your server in your own projects like your website, forum, mobile app, ...?
- Tested Minecraft Versions:
- 1.8
- 1.9
- Contributors:
- TimoCrafter
Here is BungeeWebAPI!
It provides a simple to use REST API. What is that?
When you call an url (http://...) in your browser, you will get a JSON response.
Setup
How to use
- Just put the BungeeWebAPI.jar in your BungeeCord plugins folder and reload/restart your server.
- Create an apikey with /bwa createkey . Write down this key, you will need it later. You can find all keys in plugins/BungeeWebAPI/users.yml .
- BungeeWebAPI will host a WebServer for you, you don“t have to do anything
Just open a url and you will get a response:
You will get JSON answer like:Code (Text):
http://yourdomain.com:2001/api=YOUR_API_KEY_HERE/YOUR_ACTION_HERE
What actions can I perform (replace it with YOUR_ACTION_HERE)?Code (Text):
{onlineplayers:"TimoCrafter, Lasergott, md_5"}
- onlineplayers - List all onlineplayers (e.g. {"onlineplayers": [TimoCrafter, Lasergott, md_5]}
- onlinecount - Onlinecount (e.g. {"onlinecount":3} )

BungeeWebAPI 1.1
Web API to get information about your server in simple JSON format just with opening an URL
Recent Updates
- Link hopefully working Jan 15, 2017
- Fixed link Jan 15, 2017
- Updated Link Jan 2, 2017