What it is
#The webpanel module is an admin panel in your browser, built into SimpleSMPCore. It has a dashboard, module switches, a settings editor with an undo-able audit log, editors for FancyHolograms, FancyNpcs and LuckPerms, a safe file editor with YAML validation and backups, and a live server view. It works on phones too.
There is no console access from the panel, by design.
It needs one extra port
#The panel is a small HTTPS web server inside the Minecraft server. It needs one TCP port of its own, next to the game port. It never uses the game port and never scans for free ports.
- On a hosting panel (Pterodactyl, Pelican, Wisp and similar) this is an additional allocation: Network tab → Create allocation, or ask your host.
- If your host gives you only the game port, leave the panel off.
- If the host exposes the extra port as an environment variable (
P_SERVER_ALLOCATION_*orPANEL_PORT), the panel finds it by itself (server.port: auto).
Setup in three steps
#1. Open one extra port
#Create an extra allocation for this server in your hosting panel, for example 25600. Do not use the game port.
2. Run the setup command
#In the console, or in game as an OP:
/smpcore panel-setup <your-minecraft-name> 25600
The port can be left out when the hosting panel provides it in the environment. On an offline-mode server, log in first with /staffauth login (or your AuthMe, nLogin or LibreLogin login).
The command turns the module on, creates the HTTPS certificate, starts the panel on the port and creates your owner user linked to your Minecraft account. It then prints the link, a one-time password and the certificate's SHA-256 fingerprint. Running it again changes nothing; it only shows the status. (/panel setup does the same.)
3. Open the link
#Open https://<server-ip>:25600 (the link printed in step 2).
- The browser warns about the certificate the first time. This is normal for the panel's own self-signed certificate. Compare the fingerprint in the browser with the one printed by
/panel url, then continue. - Log in with the user name and the one-time password, then choose your own password.
- Typing
http://instead ofhttps://is fine: the panel redirects it.
To turn it on by hand instead: set server.port in plugins/SimpleSMPCore/modules/extra/webpanel/config.yml to your extra port, set modules.webpanel: true and run /smpcore reload. To turn it off: modules.webpanel: false, then /smpcore reload.
Commands
#| Command | What it does |
|---|---|
/panel url | The link and the certificate fingerprint. |
/panel login | A one-click login link and a short code, valid for 60 seconds, for linked users. |
/panel user add <name> <role> <minecraft-name> | Another user (owner, admin, staff). Works for players who never joined. |
/panel status | Port, address, TLS, users and sessions. |
/panel confirm <code> | Confirm the second step of a login in game. |
panel pending (console) | Logins waiting for a confirmation: code, user, browser address, age. |
panel confirm <code> (console) | Confirm a login from the console, for example from a phone without the game open. |
panel approve <code> [user] (console) | Approve a pairing code for a linked account. |
Logging in
#auth.mode decides how users log in:
| Mode | How |
|---|---|
both (default) | Password, then a confirmation in game with the linked Minecraft account (two-factor). |
password | User name and password only. |
ingame-token | Only /panel login in game (link or code). |
either | Password or the in-game login. |
Signing in from a phone (mode both): enter your user name and password on the phone and the panel shows a code. Confirm it in game with /panel confirm <code>, or without the game on the server console with panel pending (check the address) and panel confirm <code>. Turn console confirmation off with auth.console-confirm: false.
Offline-mode servers: names are not verified by Mojang there, so the in-game steps require that the player is also logged in with /staffauth login or an auth plugin (auth.offline-ingame: verified, the default). Without either, both falls back to password only.
Roles and permissions
#| Role | Can do |
|---|---|
owner | Everything. Only an owner may give the owner role. |
admin | Dashboard, core settings and modules, plugin editors, audit log view. |
staff | Dashboard, view and edit settings, FancyHolograms and FancyNpcs editors. |
With permissions.source: both (default), a user's rights come from the role or from LuckPerms nodes simplesmpcore.webpanel.* on the linked Minecraft account. LuckPerms, NPC console actions and raw plugin files are treated as console-equivalent; keep them away from staff.
Security, on by default
#- Argon2id passwords, lockout after wrong passwords and rate limits.
- CSRF and Host header checks, security headers, secure and IP-bound sessions (30 minutes idle, 12 hours at most).
- Step-up confirmation for sensitive actions.
- HSTS only with a real certificate.
- No console access from the panel.
Optional settings
#All in plugins/SimpleSMPCore/modules/extra/webpanel/config.yml:
| Goal | Setting |
|---|---|
| Limit who can open the panel | access.allow-ips: ["203.0.113.5", "198.51.100.0/24"] |
| Wrong address in the printed link | server.public-host = the server's public IP or domain |
| Your own domain and certificate | tls.mode: pem with tls.pem.cert (fullchain.pem) and tls.pem.key (privkey.pem). Renewed files are picked up without a restart. |
| Behind your own reverse proxy (nginx, Caddy) | tls.mode: proxy, server.bind: 127.0.0.1, server.port: 8765, server.public-url: https://panel.example.com, server.trusted-proxies = the proxy's address |
On Folia
#The panel works on Folia. Folia has no server-wide TPS, so the dashboard shows - for TPS and MSPT; every region has its own (use /tps in game).
Troubleshooting
#| Problem | Fix |
|---|---|
| The setup says no port was found | Create an extra allocation in your hosting panel and run /smpcore panel-setup <name> <port> with that port. |
| The page does not load | The port is not reachable from outside: check that it is an allocation of this server (not just a number in the config) and that a firewall allows it. |
| The link shows a private IP (10.x, 172.x, 192.168.x) | Set server.public-host to your public IP or domain. |
| Certificate warning | Expected with the self-signed certificate. Compare the fingerprint from /panel url, or use tls.mode: pem with a real certificate. |
| In-game confirmation is refused on an offline-mode server | Log in with /staffauth login or your auth plugin first, or confirm from the console with panel confirm <code>. |
Found a mistake or something missing? Open a ticket on Discord.
Report an issue