HMTAPI
Most Minecraft servers hold valuable data: player balances, ranks, login history, online status. The problem is getting that data out of the game and into a website, Discord bot, or dashboard. HMTAPI solves that by turning your Paper server into a lightweight REST API that speaks plain HTTP and returns JSON. No custom plugin development, no database layer, no complicated setup.
If you have ever wanted a public stats page or a live leaderboard that updates itself, this plugin is worth a closer look.
What HMTAPI Actually Does
HMTAPI is a fork of APIMachine, developed in cooperation with HM Gaming for TitanSMP. It exposes your server over HTTP and lets you define exactly which endpoints exist and what data each one returns. Every response is JSON, which means any language or tool that can make an HTTP request can consume it: PHP, JavaScript, Python, or even a simple curl command.
A typical response looks like this:
GET /api/users/Notch{ "username": "Notch", "last_login": "2026/09/25 22:13:20", "balance": "1250.42" }
You decide the shape of that object. The plugin ships with built-in placeholders for common player data, and it can also pull in live values from any PlaceholderAPI placeholder. That means economy balances, rank names, playtime, or anything else another plugin exposes can flow straight into your API.
Key Features at a Glance
Simple YAML Configuration
No code is required. You define endpoints in a small YAML file, mapping field names to placeholders. Per-player endpoints use require_player: true and accept a username in the URL path, while global endpoints serve server-wide data such as total players online or TPS.
Reload Without Restart
Edit your config, run /hmtapi reload in-game, and the changes apply immediately. There is no downtime and no need to kick players off the server just to tweak an endpoint.
Safe by Design
API traffic never blocks the server's main thread, so a burst of requests from your website will not cause lag spikes for players. The plugin also stays lean: no bundled libraries, no database, and no metrics to maintain.
Supported Versions and Requirements
HMTAPI runs on Paper 26.3 or newer and requires Java 25. PlaceholderAPI is a hard requirement, so install it first before dropping the HMTAPI jar into your plugins folder. The plugin is built specifically for the Paper platform rather than Spigot or Fabric, which keeps it focused and reliable.
If you manage multiple servers, keeping plugin versions aligned matters. The foxygame.net launcher handles that neatly, offering one-click installation and automatic updates so every instance runs a matching HMTAPI build without manual file juggling.
How to Install HMTAPI
Getting started takes only a few minutes. Follow these steps in order:
- Install PlaceholderAPI on your server and confirm it loads correctly.
- Download HMTAPI and place the jar in your
pluginsfolder. - Start the server once to generate
plugins/HMTAPI/config.yml. - Edit the endpoints to match the data you want to expose.
- Run
/hmtapi reloadin-game to apply the changes.
Then test it with a request to your server's address and port, for example curl http://localhost:4567/api/users/Notch. If the JSON comes back with the fields you defined, you are done.
When you download HMTAPI, double-check that the jar matches your Paper version. Mixing builds across a network is the most common cause of confusing errors, and a quick version check before deployment saves a lot of troubleshooting later.
Practical Uses for HMTAPI for Minecraft
Once the API is live, the possibilities open up quickly. Server owners commonly use it to power:
- Website leaderboards that pull live economy balances.
- Discord bots that check whether a specific player is online.
- Voting or rewards pages that verify a player's rank before granting perks.
- Staff dashboards showing recent logins and activity.
Because every endpoint is defined by you, there is no unnecessary surface area. You expose only what you need, and nothing more.
Final Thoughts
HMTAPI fills a gap that many server owners do not realize exists until they need it: a clean, configurable way to share game data with the outside world. The YAML-driven approach keeps it approachable for admins who are not developers, while the PlaceholderAPI integration gives it enough depth for complex setups. If you run Paper 26.3 or newer and want your server data available over HTTP, this plugin is a practical, low-maintenance choice.
===END===