
A Minecraft Paper plugin that allows executing server commands and get various information via HTTP requests. Perfect for integrating external tools, web dashboards, or automation scripts with your Minecraft server.

A Minecraft Paper plugin that allows executing server commands via HTTP requests and get various information. Perfect for integrating external tools, web dashboards, or automation scripts with your Minecraft server.
http-commands-*.jar file into your server's plugins folder# Clone the repository
git clone https://github.com/lelenaic/minecraft-http-commands-plugin.git
cd http-commands-plugin
# Build the plugin
./gradlew build
# The JAR file will be in build/libs/
cp build/libs/http-commands-*.jar /path/to/server/plugins/
After first launch, the plugin creates plugins/http-commands/config.yml.
For production, use a reverse proxy like Nginx or Caddy with HTTPS:
Nginx example:
server {
listen 443 ssl;
server_name mc-api.example.com;
ssl_certificate /path/to/cert.pem;
ssl_certificate_key /path/to/key.pem;
location / {
proxy_pass http://127.0.0.1:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
Interactive API documentation is generated from the OpenAPI specification.
You can access the API documentation from here: https://minecraft-http-commands-plugin-api-doc.lenaic.me
# Generate HTML API documentation
./gradlew openApiGenerate
# Output will be in docs/index.html
Open docs/index.html in a web browser to view the interactive Swagger UI.
The documentation includes:
Reloads the plugin configuration and restarts the HTTP server.
/http-commands reload
Requires permission: httpcommands.reload
# Build the plugin
./gradlew build
# Build and generate API docs
./gradlew build openApiGenerate
The output JAR will be in build/libs/.