Repository navigation
Web Panel
The mod serves its own dashboard. Open it in a browser and you get the same three views the Admin Panel has — executions, timers and settings — with an editor that takes the whole page.
/timer webpanel start
/timer webpanel start 9000
/timer webpanel info
/timer webpanel stop
start prints the address with the access token already in it. Click it, or
copy it to the machine you want to manage from.
Everything is served out of the jar: no CDN, no framework, nothing fetched. It works on a server with no route to the internet.
The address looks like this:
http://localhost:25580/?t=<token>
Every request carries that token, and a new one is generated each time the panel starts. Without it nothing answers.
This matters more than it looks: the panel can create timers whose commands the server runs at operator level. Anyone who can reach the port and does not have the token can do nothing at all.
Stopping the panel invalidates the token immediately, including for requests already in flight.
In progress — a card per execution, with its clock counting in real time. The numbers are predicted between updates so they move like a real clock rather than jumping once a second. Pause, resume, reset and stop are on the card; clicking it opens everything about that execution.
Timers — a card each. Start, clone or delete from the card, or click it to edit.
Editing takes over the page rather than opening a window, and splits into four tabs: the timer, its appearance, its triggers and its commands. The two lists get the whole width, and both are drawn as trees.
Settings — the server defaults, each with a line under it explaining what it changes. Apply and Discard stay greyed out until something has actually changed, and Apply says how many changes went through.
The command box asks the server what could come next, so its completions are whatever this server really has — datapacks and other mods included — and it paints red from wherever the line stops making sense.
The same goes for sounds, timer names, advancements, dimensions, players and selectors.
It is the same panel, not the same design. A browser has a mouse, a scroll wheel, a keyboard and a whole screen; the game has a 320-pixel-wide surface and vanilla widgets. So the web panel explains itself in text under each field where the game has to hide that behind a hover, and it draws its trees with indentation where the game paints stems and corners.
What it will not do is anything the game cannot. If a thing can be done in one and not the other, that is a bug.
A light theme and a dark one, remembered per browser. English and Spanish, starting from the server's own language and changeable in the corner.
- The port is a setting — see Settings — and applies at the next start.
- The panel is not started automatically. It runs when you ask it to and stops when you say so or when the server does.
- For something to build against rather than look at, use the WebSocket Integration.