{"id":165571,"date":"2026-06-09T20:50:47","date_gmt":"2026-06-09T17:50:47","guid":{"rendered":"https:\/\/vpesports.com\/minecraft\/mods\/velocity-web-api\/"},"modified":"2026-06-09T20:50:47","modified_gmt":"2026-06-09T17:50:47","slug":"velocity-web-api","status":"publish","type":"mod","link":"https:\/\/vpesports.com\/minecraft\/mods\/velocity-web-api\/","title":{"rendered":"Velocity Web API"},"content":{"rendered":"<p># Velocity Web API<\/p>\n<p>![Release](https:\/\/img.shields.io\/badge\/release-compiled-blue)<br \/>\n![License](https:\/\/img.shields.io\/badge\/license-MIT-blue)<\/p>\n<p>![Screenshot](https:\/\/2lz.pro\/assets\/github\/vwapiss2.png)<\/p>\n<p>Lightweight HTTP API for Velocity proxies. Expose player lists, per-server counts, per-player details, etc. Ideal for websites, bots or other monitoring applications. I built it for my own uses, but it might help someone else out too.<\/p>\n<p>## Quick Install<\/p>\n<p>&#8211; Drop the compiled plugin JAR into your Velocity `plugins\/` folder.<br \/>\n&#8211; Start (or restart) your proxy; the plugin will create its data folder and a `config.cfg` (if missing) in the plugin data directory.<\/p>\n<p>## Configuration<\/p>\n<p>&#8211; The plugin creates a `config.cfg` in its data folder on first run. Available keys:<br \/>\n\t&#8211; `port` : port the HTTP server listens on (default `25576`).<br \/>\n\t&#8211; `bindAddress` : interface\/address to bind the HTTP server (default `0.0.0.0` to listen on all IPv4 interfaces; set to `127.0.0.1` for local-only access).<br \/>\n\t&#8211; `checkUpdates` : enable automatic Hangar update checks (default `true`).<br \/>\n\t&#8211; `snapshotUpdates` : include snapshot\/unstable updates in checks (default `false`).<br \/>\n\t&#8211; `debugEnabled` : show debug messages (`logger.debug`) in the proxy console when `true` (default `false`).<br \/>\n\t&#8211; `allowedOrigins` : CORS allowed origins for HTTP API access (comma-separated, or * for all) (default `*`).<\/p>\n<p>## Tested With<\/p>\n<p>&#8211; Velocity 3.x (expects `velocity-api` on the runtime classpath)<\/p>\n<p>## Endpoints<\/p>\n<p>All JSON endpoints return `Content-Type: application\/json; charset=utf-8` unless otherwise noted.<\/p>\n<p>&#8211; `\/`<br \/>\n\t&#8211; Serves the embedded `index.html` (browser-friendly).<br \/>\n\t&#8211; Example URL: `http:\/\/localhost:25576\/`  <\/p>\n<p>&#8211; `\/playerlist`<br \/>\n\t&#8211; Purpose: list connected players with basic metadata and a total count.<br \/>\n\t&#8211; Example URL: `http:\/\/localhost:25576\/playerlist`<br \/>\n\t&#8211; Sample response:<\/p>\n<p>\t&#8220;`json<br \/>\n\t{<br \/>\n\t\t&#8220;count&#8221;: 2,<br \/>\n\t\t&#8220;players&#8221;:<br \/>\n\t\t[<br \/>\n\t\t\t{&#8220;username&#8221;:&#8221;Alice&#8221;,&#8221;uuid&#8221;:&#8221;&#8230;&#8221;,&#8221;currentServer&#8221;:&#8221;lobby&#8221;},<br \/>\n\t\t\t{&#8220;username&#8221;:&#8221;Bob&#8221;,&#8221;uuid&#8221;:&#8221;&#8230;&#8221;,&#8221;currentServer&#8221;:&#8221;minigames&#8221;}<br \/>\n\t\t]<br \/>\n\t}<br \/>\n\t&#8220;`<\/p>\n<p>&#8211; `\/count`<br \/>\n\t&#8211; Purpose: return the total number of connected players.<br \/>\n\t&#8211; Example URL: `http:\/\/localhost:25576\/count`<br \/>\n\t&#8211; Sample response:<br \/>\n\t&#8220;`json<br \/>\n\t{<br \/>\n\t\t&#8220;count&#8221;: 42<br \/>\n\t}<br \/>\n\t&#8220;`<\/p>\n<p>&#8211; `\/player\/<username>` or `\/player?username=<name>`<br \/>\n\t&#8211; Purpose: fetch detailed info for a connected player (exact-case lookup).<br \/>\n\t&#8211; Example URLs:<br \/>\n\t\t&#8211; `http:\/\/localhost:25576\/player\/Notch`<br \/>\n\t\t&#8211; `http:\/\/localhost:25576\/player?username=Notch`<br \/>\n\t&#8211; Notes: returns `400` if username is missing; `404` if the player is not connected.<br \/>\n\t&#8211; Sample response:<\/p>\n<p>\t&#8220;`json<br \/>\n\t{<br \/>\n\t\t&#8220;username&#8221;:&#8221;Notch&#8221;,<br \/>\n\t\t&#8220;uuid&#8221;:&#8221;&#8230;&#8221;,<br \/>\n\t\t&#8220;currentServer&#8221;:&#8221;lobby&#8221;,<br \/>\n\t\t&#8220;ping&#8221;:42,<br \/>\n\t\t&#8220;sessionDurationSeconds&#8221;:360<br \/>\n\t}<br \/>\n\t&#8220;`<\/p>\n<p>&#8211; `\/servers`<br \/>\n\t&#8211; Purpose: returns a mapping of server names to player counts.<br \/>\n\t&#8211; Example URL: `http:\/\/localhost:25576\/servers`<br \/>\n\t&#8211; Sample response:<br \/>\n\t&#8220;`json<br \/>\n\t{<br \/>\n\t\t&#8220;lobby&#8221;: 5,<br \/>\n\t\t&#8220;minigames&#8221;: 12<br \/>\n\t}<br \/>\n\t&#8220;`<\/p>\n<p>&#8211; `\/health`<br \/>\n\t&#8211; Purpose: lightweight health check for monitoring.<br \/>\n\t&#8211; Example URL: `http:\/\/localhost:25576\/health`<br \/>\n\t&#8211; Sample response:<br \/>\n\t&#8220;`json<br \/>\n\t{<br \/>\n\t\t&#8220;status&#8221;: &#8220;ok&#8221;<br \/>\n\t}<br \/>\n\t&#8220;`<\/p>\n<p>## Commands<\/p>\n<p>&#8211; `\/vwapi reload` : reloads the `config.cfg` from the plugin data directory and restarts the HTTP server if the `port` or `bindAddress` have changed.<br \/>\n&#8211; `\/vwapi version` : prints the plugin version (from the plugin metadata).<br \/>\n&#8211; `\/vwapi debug [on|off]` : toggle or explicitly set debug logging at runtime. When enabled, the plugin prints detailed debug messages and HTTP access lines to the console.<br \/>\n&#8211; `\/vwapi status` : shows the current HTTP server status (running\/not running), the bound host and port, and an example URL you can visit (falls back to `localhost` when bound to all interfaces).<br \/>\n&#8211; `\/vwapi help` : prints a short help listing the available `\/vwapi` subcommands and usage examples.<\/p>\n<p>## Permissions<\/p>\n<p>&#8211; `vwapi.admin` : required to use the `\/vwapi` commands.<\/p>\n<p>## Notes &#038; Behavior<\/p>\n<p>&#8211; Player lookup is exact-case and only returns connected players.<br \/>\n&#8211; The HTTP server binds to `bindAddress`; by default this is `0.0.0.0` (all interfaces). Change to `127.0.0.1` for local-only access or a specific IP if desired.<br \/>\n&#8211; When you change `bindAddress` or `port` and run `\/vwapi reload`, the plugin will restart the HTTP server automatically to apply the new bind\/port (a full proxy restart is no longer required for those changes).<\/p>\n<p>## Troubleshooting<\/p>\n<p>&#8211; If the HTTP server does not start, check the proxy logs for errors about port binding or resource issues.<br \/>\n&#8211; Ensure `velocity-api` is available at runtime and that the plugin is placed in the correct `plugins\/` folder.<\/p>\n<p>## License &#038; Support<\/p>\n<p>&#8211; Licensed under the MIT License.<br \/>\n&#8211; If you need any help or support, please contact me on our Discord.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A plugin to expose web API endpoints for Velocity proxy servers. Display player and server information easily.<\/p>\n","protected":false},"featured_media":165572,"template":"","meta":{"_minecraft_slug":"velocity-web-api","_minecraft_project_id":"RBlrF608","_minecraft_author":"skrrtn","_minecraft_license":"MIT","_minecraft_downloads":68,"_minecraft_follows":3,"_minecraft_client_side":"unsupported","_minecraft_server_side":"required","_minecraft_storage_type":"zip","_minecraft_archive_name":"velocity-web-api.zip","_minecraft_size_bytes":44161,"_minecraft_version_count":1,"_minecraft_updated_at":"2026-05-15T20:31:30.485500Z","_minecraft_date_created":"2025-11-25T02:43:37.261166Z","_minecraft_date_modified":"2025-11-25T02:06:16.014983Z","_minecraft_project_url":"https:\/\/modrinth.com\/mod\/velocity-web-api","_minecraft_icon_attachment_id":165572,"_minecraft_imported_at":"2026-06-09T17:50:47+00:00","_minecraft_import_hash":"b043cf698bcb90540e5fbdd4b1cd455d","_minecraft_versions":"","_minecraft_links":"","_minecraft_gallery":"","_minecraft_api_metadata":""},"mod_category":[92,985],"mod_loader":[986],"minecraft_version":[339,340,341,357,359,360,379,382,385,438,446,449,110,111,112,113,114,115,116,117,118,119,120,46,47,48,49,50,51,52,53,54,55,56,57,58,59,36,60,93,94,101,102,62,37,40,73,74,38,78,79,80,81,82,22,23,24,25,26,27,28,29,30,31,860,861,862,863,864],"class_list":["post-165571","mod","type-mod","status-publish","has-post-thumbnail","hentry","mod_category-utility","mod_category-velocity","mod_loader-velocity","minecraft_version-1-10","minecraft_version-1-10-1","minecraft_version-1-10-2","minecraft_version-1-11","minecraft_version-1-11-1","minecraft_version-1-11-2","minecraft_version-1-12","minecraft_version-1-12-1","minecraft_version-1-12-2","minecraft_version-1-13","minecraft_version-1-13-1","minecraft_version-1-13-2","minecraft_version-1-14","minecraft_version-1-14-1","minecraft_version-1-14-2","minecraft_version-1-14-3","minecraft_version-1-14-4","minecraft_version-1-15","minecraft_version-1-15-1","minecraft_version-1-15-2","minecraft_version-1-16","minecraft_version-1-16-1","minecraft_version-1-16-2","minecraft_version-1-16-3","minecraft_version-1-16-4","minecraft_version-1-16-5","minecraft_version-1-17","minecraft_version-1-17-1","minecraft_version-1-18","minecraft_version-1-18-1","minecraft_version-1-18-2","minecraft_version-1-19","minecraft_version-1-19-1","minecraft_version-1-19-2","minecraft_version-1-19-3","minecraft_version-1-19-4","minecraft_version-1-20","minecraft_version-1-20-1","minecraft_version-1-20-2","minecraft_version-1-20-3","minecraft_version-1-20-4","minecraft_version-1-20-5","minecraft_version-1-20-6","minecraft_version-1-21","minecraft_version-1-21-1","minecraft_version-1-21-10","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","minecraft_version-1-8","minecraft_version-1-8-1","minecraft_version-1-8-2","minecraft_version-1-8-3","minecraft_version-1-8-4","minecraft_version-1-8-5","minecraft_version-1-8-6","minecraft_version-1-8-7","minecraft_version-1-8-8","minecraft_version-1-8-9","minecraft_version-1-9","minecraft_version-1-9-1","minecraft_version-1-9-2","minecraft_version-1-9-3","minecraft_version-1-9-4"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Velocity Web 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\/velocity-web-api\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Velocity Web API - Minecraft\" \/>\n<meta property=\"og:description\" content=\"A plugin to expose web API endpoints for Velocity proxy servers. Display player and server information easily.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vpesports.com\/minecraft\/mods\/velocity-web-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=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/velocity-web-api\\\/\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/velocity-web-api\\\/\",\"name\":\"Velocity Web API - Minecraft\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/velocity-web-api\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/velocity-web-api\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/velocity-web-api-icon-9f675aa837354a276bee74aaf332b7ba2c1e3611_96.webp\",\"datePublished\":\"2026-06-09T17:50:47+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/velocity-web-api\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/velocity-web-api\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/velocity-web-api\\\/#primaryimage\",\"url\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/velocity-web-api-icon-9f675aa837354a276bee74aaf332b7ba2c1e3611_96.webp\",\"contentUrl\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/wp-content\\\/uploads\\\/2026\\\/06\\\/velocity-web-api-icon-9f675aa837354a276bee74aaf332b7ba2c1e3611_96.webp\",\"width\":96,\"height\":94},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vpesports.com\\\/minecraft\\\/mods\\\/velocity-web-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\":\"Velocity Web 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":"Velocity Web 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\/velocity-web-api\/","og_locale":"en_US","og_type":"article","og_title":"Velocity Web API - Minecraft","og_description":"A plugin to expose web API endpoints for Velocity proxy servers. Display player and server information easily.","og_url":"https:\/\/vpesports.com\/minecraft\/mods\/velocity-web-api\/","og_site_name":"Minecraft","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/vpesports.com\/minecraft\/mods\/velocity-web-api\/","url":"https:\/\/vpesports.com\/minecraft\/mods\/velocity-web-api\/","name":"Velocity Web API - Minecraft","isPartOf":{"@id":"https:\/\/vpesports.com\/minecraft\/#website"},"primaryImageOfPage":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/velocity-web-api\/#primaryimage"},"image":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/velocity-web-api\/#primaryimage"},"thumbnailUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/velocity-web-api-icon-9f675aa837354a276bee74aaf332b7ba2c1e3611_96.webp","datePublished":"2026-06-09T17:50:47+00:00","breadcrumb":{"@id":"https:\/\/vpesports.com\/minecraft\/mods\/velocity-web-api\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vpesports.com\/minecraft\/mods\/velocity-web-api\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vpesports.com\/minecraft\/mods\/velocity-web-api\/#primaryimage","url":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/velocity-web-api-icon-9f675aa837354a276bee74aaf332b7ba2c1e3611_96.webp","contentUrl":"https:\/\/vpesports.com\/minecraft\/wp-content\/uploads\/2026\/06\/velocity-web-api-icon-9f675aa837354a276bee74aaf332b7ba2c1e3611_96.webp","width":96,"height":94},{"@type":"BreadcrumbList","@id":"https:\/\/vpesports.com\/minecraft\/mods\/velocity-web-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":"Velocity Web 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\/165571","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\/165572"}],"wp:attachment":[{"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/media?parent=165571"}],"wp:term":[{"taxonomy":"mod_category","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_category?post=165571"},{"taxonomy":"mod_loader","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/mod_loader?post=165571"},{"taxonomy":"minecraft_version","embeddable":true,"href":"https:\/\/vpesports.com\/minecraft\/wp-json\/wp\/v2\/minecraft_version?post=165571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}