Compatibility
Minecraft: Java Edition
Platforms
Links
Creators
Details
WebLink (previously BAPI Connection/BAPICON) allows you to send commands to your minecraft server through a web url. This plugin can also be used to get your servers stats such as the amount of online players, max players and RAM used.
To use, make sure you set the port and CHANGE THE PASSWORD in the config.yml file at yourserverfile/plugins/BAPICON/config.yml.
Please report bugs and request features using the linked Bug Tracker Google Form. (if making a feature request, please put "How to reproduce the bug" as N/A.
Currently you cannot get command feedback (get the result of commands)
You can:
GET http://yourserver.com:12345/stats. Returns JSON with "onlinePlayers", "maxPlayers", "uptimeSeconds", ,"memoryMaxMB","memoryAllocatedMB","memoryUsedMB","memoryFreeMB".โ
POST http://yourserver.com:12345/command The request body should look like:
{
"command": "say hi",
"pass": "secretpassword"
}
โ

