Skip to content

EZStats 0.7.1

Choose a tag to compare

@colebolebole colebolebole released this 16 Nov 16:51
· 11 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.1

  • Password reset. /ezstats resetpassword (or reset) sends you an 8 digit code in chat. On the website choose Forgot password?, type your Minecraft name, the code and a new password. The new password goes straight from your browser to the server and is never typed into Minecraft, so it can't end up in the console log. It also works if you never made a password. A reset signs your other browsers out.
    • The code follows the QuickLogin rules: random, works once, expires after 5 minutes, destroyed after 5 wrong guesses, rate limited. A reset code only resets a password, and a QuickLogin code only signs in.
  • Stronger password storage.
    • Hashes now use PBKDF2-HMAC-SHA256 with 600,000 iterations (was 210,000). Older hashes still work and are upgraded the next time their owner signs in.
    • accounts.yml is written readable only by the server's user on Linux and macOS.
    • A damaged or tampered hash with an absurd iteration count is refused instead of hanging the server.

Earlier in 0.7.0: QuickLogin replaces the sign-in link (/ezstats quicklogin).

Updating from 0.7.0

Replace the jar and restart. Nothing else to change. The first sign-in after updating takes a moment longer while the hash is upgraded.

Install

  1. Put EZStats-0.7.1.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 resetpassword (or /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.