Replays and evidence
A flight recorder keeps a rolling buffer for each player: position, rotation, state flags, ping, TPS, speed, the speed limit the check used, and up to six players within 48 blocks. When a check flags at or above replay.min-vl (3), or when staff press Record, the window around that moment is saved: replay.before-seconds (20) before and replay.after-seconds (10) after, compressed in the database and linked to the violation.
What a replay holds#
- Every tick of the window, with the numbers.
- Events: flags with their reason, attacks, breaks, places, knockback, teleports, swings and hits between players.
- The nearby players (names, positions, rotations, swing and hurt state).
- A snapshot of the surface blocks within 5 blocks of the route, up to
replay.terrain-max-blocks(24000), taken when the window closes. Breaks and places inside the window are replayed from the events, so the viewer shows the terrain as it was at each moment.
The viewer#
The panel plays a replay in 3D (three.js is bundled, no CDN). It shows the terrain, the player and the players near them with their walk, swing and hit animation, the path coloured by how close each move was to the limit, a ring where the player could legally have been this tick, and event pins. Controls: play, pause, step a tick, jump 1 or 5 seconds, speed from 0.25x to 4x, a timeline you can drag, loop around the flag, whole-path view, a camera that can follow any recorded player. Keys: Space, J and L (shift for 5 seconds), comma and period. Other tabs compare speed with the legal limit, chart aim steps, clicks per second and the blocks mined seen from above.
Skins are shown for accounts that were checked by Mojang. The skin address comes from the profile at join; the PNG is downloaded from textures.minecraft.net only, cached in plugins/mcAnticheat/skins/ and served to the panel. Offline-mode players have no skin and show as a plain figure. The viewer shows positions, speed, swings and where heads point. It is not what the player's screen showed.
In game#
The Replay button on an alert plays the replay in game. A replay is saved a few seconds after the flag (replay.after-seconds); if you click earlier it tells you so and starts by itself when it is ready. /ac record <name> saves a replay now. /ac replay <id> [speed] plays a particle version for you (a figure, a trail, flag markers and the numbers on the action bar). /ac replay stop ends it.
Size and retention#
A replay larger than replay.max-size-kb (1024) is not saved. Replays are deleted after replay.retention-days (14) unless they belong to a case. replay.record-nearby and replay.record-terrain switch the extras off. A case can be exported with its replays as one file and imported on another server.