Skip to content

EZStats 0.7.0

Choose a tag to compare

@colebolebole colebolebole released this 16 Nov 16:44
· 13 commits to main since this release

A web dashboard for EZvac: claim your devices in game, then see and control them on a website.

What's new in 0.7.0

  • QuickLogin replaces the sign-in link. /ezstats quicklogin (or ql) sends you an 8 digit one-time code in chat; type it with your Minecraft name on the website's new QuickLogin tab. No password needed.
    • The code is random, works once, and expires after 5 minutes. A new code cancels the old one, and you can ask once every 10 seconds.
    • After 5 wrong guesses (from anyone, anywhere) the code is destroyed, so a guess succeeds with a chance of at most 5 in 100 million. Wrong tries also count against the per-address limit, and every failure gives the same answer.
    • The code is kept only as a keyed hash in memory, and it never appears in the console, a log or a URL.
  • The old GET /link route is gone. /ezstats link still works, but now sends a code.
  • Air purifiers always show the AQI (0.6.3), and homes fold away and thermostats, fridges and weather stations open full screen (0.6.2).

Updating from 0.6.x

Replace the jar and restart. The config setting link.token-ttl-seconds is now quicklogin.ttl-seconds; the old name is still read if the new one is missing. Anything that called GET /link must use POST /api/quicklogin (see docs/api.md).

Install

  1. Put EZStats-0.7.0.jar in your server's plugins/ folder next to EZvac.
  2. Start the server once, then set web.public-url in plugins/EZStats/config.yml and run /ezstats reload.
  3. In game: /ezstats register <password> (or /ezstats quicklogin), look at a device, /ezstats own, then sign in on the website.

Requirements

  • Paper (or a fork) 1.21.x, Java 21
  • EZvac BETA 1.0 Pilot 3 or newer. Controlling devices needs Pilot 7 or newer; on Pilot 3 to 6 the website works but is read-only.

Setup, commands, security notes and the full device list are in the README.