radar-1.0.1.jar
Curse Maven Snippet
What's new
Radar 1.0.0 → 1.0.1 — ChangeLog
New Features
- Anti-X-ray detection. New
AntiXrayTrackerclass tracks how many "valuable" blocks (ores, etc.) a player breaks in a row and computes a suspicion ratio (suspicionRatio). A new X-ray? column was added to the player table, plus config optionsantiXrayEnabled,antiXrayWindowSize,antiXraySuspicionThreshold. - Map markers. New
MarkerStore— lets admins place named points on the map (right-click), persisted to disk and reloaded on server start. - Zones with an event log. New
ZoneStore— create circular zones with a radius; the mod tracks player enter/leave events ("%s entered zone / left zone") and keeps a recent-events log (Zone log). - Session tracking. New
SessionTracker— records player join/leave times; the UI now shows session duration ("Session: …"). - Player skin cache. New
SkinCache— asynchronously fetches and caches player skin textures via an HTTP client (used to show player heads/avatars in the table). - Player search/filter. New search field in the table toolbar (
applySearchFilter,searchField). - Map screenshots. New button to save the current map view as a PNG file (
saveScreenshot, with a save-file dialog). - Localization strings added for all new features (RU, UA, EN): markers, zones, screenshots, search, sessions.
Changes to Existing Code
Radar.java(main class): new event handlers were added — based on the new lambda methods, hooks were added for player connection (class_3244/PacketSender) and for block interaction/breaking (class_1937,class_1657,class_2338,class_2680,class_2586— looks like the hook feeding the anti-X-ray tracker).PlayerSnapshot: the record gained auuidfield (previously players were only identified by name) — markers, zones, sessions, and anti-X-ray tracking are now keyed by UUID.RadarDataService: addedsaveAll/loadAll/dimensionFileNamemethods — per-dimension chunk-color snapshots are now persisted to disk and restored on server restart (previously the map was rebuilt from scratch every time).DimensionSnapshot: addedsnapshotEntries()andputRaw(long, int[])— helper methods for serializing/deserializing chunk snapshots.RadarWindow(main window): table toolbar was rebuilt (buildTableToolbar) — added search, screenshot button, zone-log button; settings panel handlers were reworked (new lambdas inbuildSettingsBar).MapPanel: added right-click handling (handleRightClick,handleZoneRightClick) for creating/removing markers and zones, plus screen-to-world coordinate conversion methods (screenToWorldX/Z).PlayerInfoWindow: modified (likely to display session duration / anti-X-ray status per player).
Other
- Version bumped in
fabric.mod.json:1.0.0→1.0.1. Dependencies (Fabric Loader ≥0.19.5, Minecraft ~1.21.11, Java ≥21) unchanged
This mod has no additional files

