-
Notifications
You must be signed in to change notification settings - Fork 1
Installation
This page covers everything you need to get Statfyr running on your server.
| Requirement | Version |
|---|---|
| Java | 16+ |
| Paper or Spigot | 1.16.5+ |
Note: Statfyr has been tested on Paper 1.16.5 and Paper 1.21.10. Other versions in this range should work but are not officially verified. If you encounter issues, please report them in our Discord.
Download the latest .jar from the Modrinth Versions page.
Always prefer the latest stable release. Beta versions are labelled accordingly.
Copy the downloaded .jar file into your server's plugins/ directory:
your-server/
└── plugins/
└── statfyr-1.0.0-BETA.jar ← place it here
Start or restart your server. On first run, Statfyr will:
- Generate
plugins/statfyr/config.yml - Bind the HTTP server to port
8080by default - Log its startup status to the console You should see something like:
[Statfyr] Starting HTTP server on 0.0.0.0:8080
[Statfyr] Statfyr 1.0.0-BETA enabled successfully.
Make a request to the health endpoint:
GET http://your-server-ip:8080/api/healthA successful response looks like:
{
"status": "ok",
"plugin_version": "1.0.0-BETA",
"server_version": "git-Paper-790",
"bukkit_version": "1.21.10-R0.1-SNAPSHOT",
"online_players": 0,
"minecraft_version": "1.21.10",
"uptime_seconds": 14
}Open plugins/statfyr/config.yml and adjust settings to your needs. See the Configuration page for a full reference.
After making changes, run /statfyr reload in-game or from the console — no restart required.
By default, Statfyr listens on port 8080. If you want the API to be accessible from the internet, you need to open this port in your firewall or server panel.
If you only need local access (e.g., a dashboard running on the same machine), set bind-address: "127.0.0.1" in the config to prevent external exposure.
- Stop your server
- Replace the old
.jarinplugins/with the new one - Start the server Statfyr will migrate the config automatically if needed. Always check the Changelog before updating to be aware of breaking changes.
- Stop your server
- Remove
statfyr-x.x.x.jarfromplugins/ - Optionally delete
plugins/statfyr/to remove all config and data
Next: Configuration