August 5, 2026 · The Minely team
How to make a scoreboard plugin with AI (sidebars, placeholders, flicker-free)
The sidebar is the most-read UI element on any server: balance, kills, online count, next event. A scoreboard plugin that updates smoothly, per world, with real placeholders, is infrastructure — and the difference between a good one and a bad one is flicker. This is how to build the good one.
What a scoreboard plugin actually is
A scoreboard plugin renders a per-player sidebar with lines of live data: player stats, server stats, world-specific content. Per-world boards let each context (lobby, survival, minigame) show what matters there. Placeholders keep every line live without code changes.
How it works under the hood
A board is an ordered list of lines with placeholders like {balance}, {kills}, {online}. The render loop resolves placeholders per player and updates only changed lines — sending the full board every refresh is what causes the strobe. Per-world rules select the board by world name, and a placeholder registry lets other systems register their own values. Frame animation (rotating title frames) is optional but cheap when done at a slow interval.
The prompt that builds it
You do not have to write this yourself. A precise description is enough:
a scoreboard plugin with per-world sidebars, placeholders for balance, kills and online count, flicker-free line updates, and an animated title
Name the commands, the permissions, and the exact messages players see. Precision here is what makes the first build land close.
Building it in the right order
- Implement the board model with lines and placeholders.
- Build the placeholder resolver with a registry.
- Render with change-only updates to kill flicker.
- Add per-world board selection.
- Polish with an animated title and per-rank variants.
The details that matter in production
In production, the first thing you learn is that the happy path is the easy half. The edges are where the work lives: restarts, protection interactions, full inventories, and players who treat every system like an exploit puzzle. Build for those from day one and the launch weekend is quiet instead of a fire drill.
Storage and cleanup deserve special attention. Write state as it changes rather than on shutdown, clear per-player state on quit and on world change, and make every admin-facing action leave an audit line. The first time something goes wrong, those records are the difference between a two-minute review and an evening of guessing.
Finally, test like a hostile user. Spam-click every GUI, rejoin mid-action, try the command with no permission and with every permission, and run it while the server is under load. The bugs that survive that pass are the ones worth shipping.
Tuning it after the first build
Update every 2 to 5 seconds for most data; only the clock needs faster. Keep boards to 8 to 12 lines — players read four of them. Animated titles at one frame per second look alive; faster looks broken.
Tips that save you a rebuild
- Update changed lines only; the flicker is always a full-board rewrite.
- Keep a per-player board toggle; some players genuinely hate sidebars.
- Register placeholders from other plugins instead of hardcoding integrations.
- Test in two worlds at once before launch; per-world bugs are always the second world.
Questions people ask
Can I have per-minigame boards?
Yes — boards select by world, so each arena world gets its own lines and placeholders.
How do I add a custom placeholder?
Register it in the resolver with a name and a function; the config uses it immediately.
What about above-head displays?
Ask for a nameplate system with the same placeholder engine — different surface, same data.
Try the prompt above on a fresh project. You will see the plan, the code streaming in, and the repair loop finish the job — then a jar to download.
