Getting Started
Quickstart
Get NoxAeApi running on your Minecraft server and make your first request in a few minutes.
Install the plugin
NoxAeApi is a standard server plugin. Download the latest NoxAeApi.jar, place it in your server's plugins/ directory, and restart to generate the default configuration.
# 1. Download NoxAeApi.jar
# 2. Drop it into your server's plugins/ folder
server/
└── plugins/
└── NoxAeApi.jar
# 3. Restart the server to generate the config
Configure an API key
Open plugins/NoxAeApi/config.yml. For any server exposed to the internet, set require-key to true and choose a long, random key.
# plugins/NoxAeApi/config.yml
server:
port: 8080
# Require an API key for every request
require-key: true
key: "REPLACE_WITH_A_LONG_RANDOM_STRING"
# IP whitelist (optional)
ip-whitelist:
- "203.0.113.10"Keep your key secret
Your first request
With the server running, confirm connectivity with the health check. Every endpoint is versioned under /v1.
curl https://mc.example.com/v1/ping \
-H "key: YOUR_API_KEY"A healthy server responds with:
"pong!"Now try reading live server info:
curl https://mc.example.com/v1/server \
-H "key: YOUR_API_KEY"Frequently Asked Questions
Find solutions to common network issues, connection refused errors, firewall rules, and permission setup.
This error indicates your client could not establish a TCP handshake with the specified IP and port.
Troubleshooting steps:
- Server logs: Check console logs for
[NoxAeApi] HTTP server listening on port 8080. - Host Binding: Set
server.host: "0.0.0.0"inplugins/NoxAeApi/config.yml. - Java Runtime: Ensure Java 17 or Java 21+ (
java -version).
# Test connectivity locally from the server console
curl -I http://127.0.0.1:8080/v1/pingNext steps
You're connected. From here you can explore the rest of the API.