Updating
HeadDB supports manual updates and an optional built-in update checker.
Release assets
Public releases can include:
text
HeadDB-<version>.jar
HeadDB-<version>.jar.sha256Verify checksums when available:
bash
sha256sum -c HeadDB-<version>.jar.sha256Checksums help detect corrupted or incomplete downloads. They are useful release hygiene, but they are not a replacement for artifact signing.
Manual update
- Stop the server.
- Back up
plugins/HeadDB/. - Download the new HeadDB JAR.
- Verify checksum if provided.
- Replace the old JAR.
- Start the server.
- Run
/hdb versionand/hdb status.
Update checker
yaml
update-checker:
enabled: true
check-on-startup: true
notify-console: true
notify-admins: true
include-prereleases: true
include-builds: truePermission:
text
headdb.admin.updateUseful commands:
text
/hdb version
/hdb updateAutomatic installation
yaml
auto-updater:
install-updates: falseRecommended production default is false.
When automatic installation is enabled, HeadDB can retrieve a newer plugin JAR, validate that it is a HeadDB plugin JAR, keep a backup where possible, and place the new JAR where the server can load it on the next restart.
HeadDB does not restart the server automatically.
Troubleshooting
| Problem | Likely cause | Fix |
|---|---|---|
| Update check fails | Network issue, release service unavailable, or rate limiting. | Try later and check console diagnostics. |
| Downloaded but not loaded | Server restart required. | Restart the server. |
| No prerelease shown | Prerelease checks disabled. | Enable include-prereleases if desired. |
| No build release shown | Build checks disabled. | Enable include-builds if desired. |
| JAR is rejected | Metadata validation failed. | Use the official HeadDB release JAR. |