{"id":132670,"date":"2026-06-07T22:50:43","date_gmt":"2026-06-07T19:50:43","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/rest-http-api\/"},"modified":"2026-06-07T22:50:43","modified_gmt":"2026-06-07T19:50:43","slug":"rest-http-api","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/rest-http-api\/","title":{"rendered":"REST HTTP API"},"content":{"rendered":"<p># REST HTTP API<\/p>\n<p>![Main image](https:\/\/i.imgur.com\/CwjA2bC.jpeg)<\/p>\n<p>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.<\/p>\n<p>## Features<\/p>\n<p>&#8211; Execute Minecraft commands via HTTP API<br \/>\n&#8211; RESTful endpoints for server information<br \/>\n&#8211; Bearer token authentication<br \/>\n&#8211; Command queuing for offline players<br \/>\n&#8211; Support for waiting for players to join before executing commands<br \/>\n&#8211; Auto-generated interactive API documentation<\/p>\n<p>## Requirements<\/p>\n<p>&#8211; Minecraft Server running Paper or a Paper fork (Spigot, Bukkit may work but not tested)<br \/>\n&#8211; Java 17 or higher<\/p>\n<p>## Installation<\/p>\n<p>### From Release<\/p>\n<p>1. Download the latest release from the Releases page<br \/>\n2. Drop the `http-commands-*.jar` file into your server&#8217;s `plugins` folder<br \/>\n3. Restart or reload your server<\/p>\n<p>### From Source<\/p>\n<p>&#8220;`bash<br \/>\n# Clone the repository<br \/>\ngit clone https:\/\/github.com\/lelenaic\/minecraft-http-commands-plugin.git<br \/>\ncd http-commands-plugin<\/p>\n<p># Build the plugin<br \/>\n.\/gradlew build<\/p>\n<p># The JAR file will be in build\/libs\/<br \/>\ncp build\/libs\/http-commands-*.jar \/path\/to\/server\/plugins\/<br \/>\n&#8220;`<\/p>\n<p>## Configuration<\/p>\n<p>After first launch, the plugin creates `plugins\/http-commands\/config.yml`.<\/p>\n<p>### Security Recommendations<\/p>\n<p>1. **Change the bearer token** &#8211; Use a strong, random string<br \/>\n2. **Use HTTPS** &#8211; Always use a reverse proxy with TLS\/SSL<br \/>\n3. **Firewall** &#8211; Only allow access from trusted IPs if possible<\/p>\n<p>### Using with a Reverse Proxy (Recommended)<\/p>\n<p>For production, use a reverse proxy like Nginx or Caddy with HTTPS:<\/p>\n<p>**Nginx example:**<br \/>\n&#8220;`nginx<br \/>\nserver {<br \/>\n    listen 443 ssl;<br \/>\n    server_name mc-api.example.com;<\/p>\n<p>    ssl_certificate \/path\/to\/cert.pem;<br \/>\n    ssl_certificate_key \/path\/to\/key.pem;<\/p>\n<p>    location \/ {<br \/>\n        proxy_pass http:\/\/127.0.0.1:8080;<br \/>\n        proxy_set_header Host $host;<br \/>\n        proxy_set_header X-Real-IP $remote_addr;<br \/>\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br \/>\n        proxy_set_header X-Forwarded-Proto $scheme;<br \/>\n    }<br \/>\n}<br \/>\n&#8220;`<\/p>\n<p>## API Documentation<\/p>\n<p>Interactive API documentation is generated from the OpenAPI specification.<br \/>\nYou can access the API documentation from here: https:\/\/minecraft-http-commands-plugin-api-doc.lenaic.me<\/p>\n<p>### Generating Documentation<\/p>\n<p>&#8220;`bash<br \/>\n# Generate HTML API documentation<br \/>\n.\/gradlew openApiGenerate<\/p>\n<p># Output will be in docs\/index.html<br \/>\n&#8220;`<\/p>\n<p>### Viewing Documentation<\/p>\n<p>Open `docs\/index.html` in a web browser to view the interactive Swagger UI.<\/p>\n<p>The documentation includes:<br \/>\n&#8211; All available endpoints<br \/>\n&#8211; Request\/response schemas<br \/>\n&#8211; Example requests<br \/>\n&#8211; Try-it-out functionality<\/p>\n<p>## Commands<\/p>\n<p>### \/http-commands reload<\/p>\n<p>Reloads the plugin configuration and restarts the HTTP server.<\/p>\n<p>&#8220;`bash<br \/>\n\/http-commands reload<br \/>\n&#8220;`<\/p>\n<p>Requires permission: `httpcommands.reload`<\/p>\n<p>## Building<\/p>\n<p>&#8220;`bash<br \/>\n# Build the plugin<br \/>\n.\/gradlew build<\/p>\n<p># Build and generate API docs<br \/>\n.\/gradlew build openApiGenerate<br \/>\n&#8220;`<\/p>\n<p>The output JAR will be in `build\/libs\/`.<\/p>\n<p>## License<\/p>\n<p>[MIT License](LICENSE)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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.<\/p>\n","protected":false},"featured_media":132671,"template":"","meta":{"_minecraft_slug":"rest-http-api","_minecraft_project_id":"UYulHID6","_minecraft_author":"lelenaic","_minecraft_license":"MIT","_minecraft_downloads":8,"_minecraft_follows":0,"_minecraft_client_side":"unsupported","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"rest-http-api.zip","_minecraft_size_bytes":61860,"_minecraft_version_count":1,"_minecraft_updated_at":"2026-05-15T23:17:58.782568Z","_minecraft_date_created":"2026-04-10T19:56:32.626295Z","_minecraft_date_modified":"2026-03-24T18:17:58.544002Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/rest-http-api","_minecraft_icon_attachment_id":132671,"_minecraft_imported_at":"2026-06-07T19:50:43+00:00","_minecraft_import_hash":"64ca9dfab9dc86c106fd93e7c138f06e","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[125,873,126,127,92],"mod_loader":[131,132],"minecraft_version":[62,37,40,41,73,74,38,78,79,80,81,82],"class_list":["post-132670","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-folia","mod_category-library","mod_category-management","mod_category-paper","mod_category-utility","mod_loader-folia","mod_loader-paper","minecraft_version-1-21","minecraft_version-1-21-1","minecraft_version-1-21-10","minecraft_version-1-21-11","minecraft_version-1-21-2","minecraft_version-1-21-3","minecraft_version-1-21-4","minecraft_version-1-21-5","minecraft_version-1-21-6","minecraft_version-1-21-7","minecraft_version-1-21-8","minecraft_version-1-21-9"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>REST HTTP API - Minecraft<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vpesports.com\/minecraft\/mods\/rest-http-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"REST HTTP API - Minecraft\" \/>\n<meta property=\"og:description\" content=\"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.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/rest-http-api\/\" \/>\n<meta property=\"og:site_name\" content=\"Minecraft\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/rest-http-api\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/rest-http-api\\\/\",\"name\":\"REST HTTP API - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/rest-http-api\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/rest-http-api\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/rest-http-api-icon-f665b9feb8bf3f1d0c95ece23ed6876fdbd8f078.webp\",\"datePublished\":\"2026-06-07T19:50:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/rest-http-api\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/rest-http-api\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/rest-http-api\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/rest-http-api-icon-f665b9feb8bf3f1d0c95ece23ed6876fdbd8f078.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/rest-http-api-icon-f665b9feb8bf3f1d0c95ece23ed6876fdbd8f078.webp\",\"width\":256,\"height\":256},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/rest-http-api\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mods\",\"item\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"REST HTTP API\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/\",\"name\":\"Minecraft\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"REST HTTP API - Minecraft","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/vpesports.com\/minecraft\/mods\/rest-http-api\/","og_locale":"en_US","og_type":"article","og_title":"REST HTTP API - Minecraft","og_description":"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.","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/rest-http-api\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/rest-http-api\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/rest-http-api\/","name":"REST HTTP API - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/rest-http-api\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/rest-http-api\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/rest-http-api-icon-f665b9feb8bf3f1d0c95ece23ed6876fdbd8f078.webp","datePublished":"2026-06-07T19:50:43+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/rest-http-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/rest-http-api\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/rest-http-api\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/rest-http-api-icon-f665b9feb8bf3f1d0c95ece23ed6876fdbd8f078.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/rest-http-api-icon-f665b9feb8bf3f1d0c95ece23ed6876fdbd8f078.webp","width":256,"height":256},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/rest-http-api\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vpesports.com\/minecraft\/"},{"@type":"ListItem","position":2,"name":"Mods","item":"https:\/\/vpesports.com\/minecraft\/mods\/"},{"@type":"ListItem","position":3,"name":"REST HTTP API"}]},{"@type":"WebSite","@id":"https:\/\/vpesports.com\/minecraft\/#website","url":"https:\/\/vpesports.com\/minecraft\/","name":"Minecraft","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vpesports.com\/minecraft\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod\/132670","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod"}],"about":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/types\/mod"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media\/132671"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=132670"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=132670"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=132670"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=132670"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}