StaffHub Guide¶
StaffHub is a simple staff moderation plugin for Purpur/Paper servers. It stores reports, warnings, notes, kicks, bans, and audit logs in SQLite, and includes a built-in staff website.
Install¶
- Put
staff-hub-1.0.0.jarinto your server'spluginsfolder. - Restart the Minecraft server.
- StaffHub will create its config and database automatically.
The database is stored locally in:
Website Setup¶
By default, the website uses:
For a public panel, change it to something like:
If you use server Panel, make sure port 8088 is added/opened as an extra allocation. If your panel gives you a different external port, use that in public-url.
After config changes, restart the server or run:
Staff Login¶
Staff log into the website with a one-time code.
In-game, run:
Open the website URL, enter the code, and log in. Codes are single-use and expire quickly.
If login acts weird, visit:
or open:
Then generate a new code.
Main Commands¶
/report <player> <reason>
/warn <player> <reason>
/warnings <player>
/staffnote add <player> <note>
/staffnote view <player>
/staffpanel login
/kick <player> <reason>
/ban <player> <reason>
/staffhub reload
StaffHub also supports:
Permissions¶
Common permission nodes:
staffhub.report
staffhub.staff
staffhub.warn
staffhub.warnings.view
staffhub.note.add
staffhub.note.view
staffhub.report.manage
staffhub.punish.kick
staffhub.punish.ban
staffhub.audit.view
staffhub.admin
Give staff staffhub.staff so they can use the web dashboard login.
Custom Messages¶
Most messages can be edited in config.yml under:
This includes report messages, warning messages, kick messages, ban messages, web login messages, and permission errors.
Useful placeholders include:
For example, the ban screen can be customized with:
Staff Broadcasts¶
Reports are sent to online staff with permission.
Warnings, kicks, and bans can also be broadcast to staff by enabling:
HTTPS Note¶
If you access the panel using plain HTTP, keep:
Only set it to true if your panel is behind HTTPS, such as Cloudflare, Caddy, or nginx:
Troubleshooting¶
- Website does not load: check the web port is open in your panel/firewall.
- Login does not stick: if using HTTP, make sure
secure-cookieisfalse. - Dashboard shows an error: check the server console for
Web request failed. - Existing config missing new messages: copy the latest
messages:section from the jar/default config, or regenerate the config after backing up changes.