server-tick

Installation
SKILL.md

Server-Authoritative Tick System

Server-side tick system with lag compensation for fair multiplayer gameplay.

When to Use This Skill

  • Building real-time multiplayer games
  • Need to prevent cheating (speed hacks, teleports, aimbots)
  • Want fair hit detection despite network latency
  • Require deterministic physics simulation

Core Concepts

Client-authoritative multiplayer is trivially exploitable. Server-authoritative feels laggy without lag compensation. The solution:

  1. Fixed tick rate (60Hz) for deterministic physics
  2. Input validation with violation tracking and decay
  3. Position history for lag compensation (200ms window)
  4. Reduced broadcast rate (20Hz) to save bandwidth
Installs
23
GitHub Stars
782
First Seen
Jan 25, 2026
server-tick — dadbodgeoff/drift