AdminWebDash-1.1.0.jar
What's new
[1.1.0] - 13th October 2026
Fixed
- SLF4J output from the bundled Discord and ACME libraries is routed to
java.util.logginginstead of being discarded with a "No SLF4J providers" warning. - The configured backup interval is applied again at startup (it was only armed when changed from the dashboard), and the schedule, certificate renewal and Discord command flush no longer outlive plugin shutdown.
- Backup errors are returned as valid JSON.
Security
- The admin token is no longer written to the console or server log; it lives only in
mods/AdminWebDash/config.json. New tokens are 192 bits fromSecureRandom, and settingrotateTokentotruein the config issues a new one on the next start. - Icon, mod icon and avatar endpoints now require a session and validate their identifiers; the unauthenticated item-icon route allowed
..path traversal to any.png./api/versionis no longer public. - Backup restore and delete accept only plain
.zipnames inside the backup folder; log paths share the same containment check. Log deletion requires POST and log downloads are capped at 64 MiB. - Static files reject traversal and carry
nosniff/X-Frame-Options; HTTPS uses the JVM default cipher suites and protocols instead of every supported suite. - Avatar and icon caches are bounded and avatar downloads have timeouts, a size cap and PNG validation.
- Sessions now expire: 24 h absolute lifetime and 30 min sliding inactivity (both configurable), a capped session count, rotation on login, invalidation on logout and cleanup on shutdown. Session ids are 256-bit random values.
- Sessions are bound to the client IP (
sessionIpBinding, on by default).X-Forwarded-Foris only honoured fromtrustedProxies, so a shared reverse-proxy IP no longer locks every admin out. - Removed the wildcard CORS header. Cross-origin access is opt-in through
allowedOrigins; cookie-authenticated POST requests are checked for a same-siteOrigin/Referer(CSRF). - Failed-login lockout (
loginRateLimit,loginLockoutMinutes) now also covers badX-Admin-Tokenheaders, uses constant-time token comparison, and has bounded storage. - Responses carry
nosniff,X-Frame-Optionsandno-storeheaders; request bodies are capped at 1 MiB; error bodies are escaped JSON and no longer leak internals.
Added
- Live Activity tab: real-time joins, leaves, world changes, deaths, chat and dashboard admin actions over server-sent events, with category filters, bounded history and automatic reconnect.
- Session history: per-player join/leave/world-change history (Players > Session History and the Activity tab). Only sessions observed by the dashboard are recorded; sessions open when the server stopped are marked as interrupted.
- Players Online chart on the Metrics tab (1 h, 24 h, 7 d) that persists across restarts and shows downtime as gaps.
- Whitelist panel under Players > Moderation: toggle join whitelist, add and remove players by UUID. Backed by
AccessControlModule; endpointsGET /api/whitelist,POST /api/whitelist/toggle|add|remove. - Permission Groups panel under Players > Moderation: browse groups with their permissions and inheritance, look up a player's groups, add or remove a player by UUID. Endpoints
GET /api/permissions/groups,GET /api/permissions/user/<uuid>,POST /api/permissions/user-group. Whitelist entries show player names when known (online, or seen in session history). GET /api/weather/list,/api/activity/recent,/api/activity/stream,/api/sessions/recent,/api/sessions/player/<uuid>,/api/metrics/players/<range>.
Changed
- Inventory view, move, clear, give and armor defence use the Update 7 ECS inventory components instead of the deprecated
Inventoryclass. - Bans use
AccessControlModule.getBanProvider(); the removedbanProviderfield is no longer reflected. - World load awaits completion, world names are validated and looked up case-insensitively, pause runs on the world thread, and the default world cannot be unloaded.
- Time presets match the server's
/timeperiods (sunrise 0.2, sunset 0.8); weather accepts realWeatherasset ids; time and weather accept an optionalworld. - Player and warp teleports use the supported
Teleportcomponent, including cross-world warps. - Game-rule updates are applied (PvP, fall damage, NPC spawning, day cycle); log-level changes take effect and persist.
- Log downloads now deliver the file instead of base64 text; unknown endpoints return 404 and malformed JSON 400.
- Web UI refresh, same look: compact top bar, tighter panels and stat cards, sticky table headers, consistent focus rings, flat toggles, phone-friendly scrolling nav, reduced-motion support. Every corner radius is now at most 4 px, undefined colour variables are defined, and the hytale.com background hotlink was removed.
- Player Actions modal redesigned: actions grouped into Inspect, Manage and Moderate, compact two-column cards, click-to-copy player UUID, no stray scrollbars. Inventory, Give Item, Gamemode, teleport, bans.json and session dialogs got the same treatment: tighter headers, grid-fitted inventory slots, a cleaner item picker, and Escape closes the topmost dialog.
- Saving the backup interval no longer overwrites the rest of
config.json. - The HTTP server uses a bounded worker pool; the Discord presence timer is stopped on shutdown.
- Source comments removed, lint directives moved into
eslint.config.mjs, and unused code removed.
Validation
- 66 automated tests (sessions, limiter, proxy/CSRF/CORS, HTTP security, SSE, input handling, session and player-count history). Frontend lint clean. Exercised in headless Chrome against the real HTTP server with synthetic data. Tested on a Hytale Update 7 server.
This mod has no additional files

