Overhaul the web UI
This commit is contained in:
@@ -34,6 +34,14 @@ $ SERVER=127.0.0.1 python mosfet.py
|
||||
`mosfet.py` defaults to that server, player name `mosfet1`, and the current
|
||||
AuthMe password. Override `SERVER`, `PORT`, `PLAYER_NAME`, or `GAME_PASSWORD`
|
||||
through environment variables as needed. Microsoft authentication is not used.
|
||||
The dashboard is served at `/` (normally `http://localhost:3300`) and can be
|
||||
rebuilt with `npm --prefix web_interface run build`. It uses bundled Minecraft
|
||||
item icons where available, then fetches and caches missing textures from the
|
||||
26.3 asset CDN. If no texture is available, it displays a two-letter
|
||||
placeholder.
|
||||
|
||||
Inventory item icons are from https://mcitemgallery.com/
|
||||
|
||||
Python edits under `mosfet/` are hot-reloaded in place; the player connection is
|
||||
kept alive. Edits to connection/bootstrap files are reported as deferred until
|
||||
the next manual start, rather than triggering an automatic reconnect.
|
||||
|
||||
Reference in New Issue
Block a user