You've already forked Arcturus-Morningstar-Extended
mirror of
https://github.com/duckietm/Arcturus-Morningstar-Extended.git
synced 2026-06-19 15:06:19 +00:00
fbf979419e
Closes out the HK panel server-side surface. * Incoming 9127 HousekeepingSendHotelAlertEvent — broadcast a StaffAlertWithLinkComposer to every online user that hasn't set blockStaffAlerts. Composed once, fanned out by reference; empty-message guard returns `housekeeping.error.alert_empty`. * Outgoing 9206 HousekeepingDashboardComposer + Incoming 9128 HousekeepingGetDashboardEvent — single round trip with the aggregated counters: online / total users + active / total rooms + pending support tickets + sanctions in the last 24h + approximate emulator uptime + a version string. Active-rooms is derived from RoomManager.getActiveRooms().getUserCount()>0 to avoid counting idle preloaded rooms. Peak online today / all-time aren't tracked yet, so they currently echo the live online count as a best-effort placeholder. * Outgoing 9207 HousekeepingActionLogComposer + Incoming 9129 HousekeepingListActionLogEvent — read the optional housekeeping_log table. If the table isn't there the SQL exception is swallowed and an empty list goes back, so the panel renders a no-entries view rather than crashing. Schema is documented in the handler's javadoc; operators who want audit run a single CREATE TABLE then the HK panel populates from new writes (writes are a follow-up — every HK handler will eventually append a row). `mvn package` clean — the final fat jar lands in Latest_Compiled_Version/ after the build finishes.