Skip to content

CaYaDev Server Manager v0.2.1 — the map, on a phone and without the stutter

Choose a tag to compare

@CaYatur CaYatur released this 29 Jul 18:40
· 14 commits to main since this release

A fix release for four things reported against v0.2.0, all of them about using the map on a phone or while doing something else.


📱 The map works with a finger now

It had mouse handlers only. On a phone it could not be moved at all, and there was no zoom whatsoever — while the hint under it read "Drag to pan · wheel to zoom" on the one device that can do neither.

  • One finger pans, two pinch. On the public site, the map page and the desktop app.
  • A tap shows an area's note, which is the only way to read one without a hover.
  • The hint now says pinch on a touch device and wheel on a mouse.

Both halves were needed and only one is JavaScript: without touch-action: none on the canvas the browser claims the gesture as a page scroll before the listener runs, and preventDefault has nothing left to prevent.

⚡ The app no longer freezes while the map loads

Measured rather than guessed, and it was not the drawing. A region file is 1024 chunks — a decompress plus an NBT parse each — and the loop ran to completion in one synchronous block on the thread that answers every IPC call and reads the server console.

before after
total parse 132 ms 132 ms
longest uninterrupted block 132 ms 14 ms

The work is the same; it is now interruptible. The console keeps reading and the interface keeps responding while a region is parsed.

🏷️ Two things moved to where they belong

  • The area note appeared in the bottom-right corner. On a fullscreen map that is nowhere near the area it describes, and on a phone it sat under the thumb that had just opened it. It now appears at the pointer, clamped so it cannot hang off the edge.
  • The "nothing generated here" warning on the map page was hidden underneath the floating control bar. It now sits below it, at an offset measured from the bar's real height — the bar wraps, so any constant would be wrong at some width.

📐 Public site on a phone

Headings stack instead of fighting their notes for one row, side padding is no longer a tenth of the screen, and the map's control bar is one scrolling row instead of three that pushed the map itself off the screen.


⚠️ Notes

  • The web panel does not provide HTTPS by itself. Do not expose it directly to the Internet.
  • The portable .exe is unsigned; Windows SmartScreen will warn on first run.

📦 Download

CaYaDev Server Manager-0.2.1-portable.exe — put it in the folder you want as your MSMS root. Everything it keeps lives in msms-data/ beside it.

Full changelog: v0.2.0...v0.2.1