# godot-multiplayer-networking

A skill for Godot networking: transport choice, server authority, client prediction and interest culling. Useful when players rubber-band or a client can cheat.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 385 installs · ★ 893
- Author: thedivergentai
- License: LGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/thedivergentai/Game-Dev-Agentic-Skills/tree/HEAD/skills/godot-multiplayer-networking/SKILL.md
- Updated: 2026-10-16
- HTML: https://affpapa.org/en/nevibecode/skills/godot-multiplayer-networking

## What it does

The skill covers the networking layer of a Godot project: ENet versus WebRTC, server authority, secure RPCs, client prediction with reconciliation, interest management and adaptive sync. It ships as a set of scripts grouped by job — transport and host, authority and sync, desync and rollback. A decision tree picks the transport: ENet for LAN and dedicated UDP, WebRTC or a WebSocket fallback for browsers and NAT-hostile peers.

The rules are blunt. Position and movement must not ride a reliable channel, because one unacknowledged packet blocks everything behind it — use `UnreliableOrdered` with throttling instead. Clients suggest actions, the server validates and broadcasts the result. In large worlds, cull positions through a visibility grid before raising sync frequency. JSON on the hot path is out: string serialization bloats packets, so bit-packing takes over.

Security gets its own section. A packet rate limiter keeps an attacker from flooding the server with RPC calls, and PeerIDs stay internal — they map to persistent `UserID` values from a database. Dedicated servers run with `--headless` to skip the GUI. This assumes you already have a Godot project; the skill targets a specific networking problem such as rubber-banding, late join or Network spikes in the profiler, not a greenfield game.

## Requirements
- Works with: Godot

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-multiplayer-networking -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/godot-multiplayer-networking/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/godot-multiplayer-networking/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-multiplayer-networking -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/godot-multiplayer-networking/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-multiplayer-networking -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/godot-multiplayer-networking/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install thedivergentai/Game-Dev-Agentic-Skills godot-multiplayer-networking
```

2. **Manually: put the files in place**
- File: `.github/skills/godot-multiplayer-networking/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-multiplayer-networking -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/thedivergentai/Game-Dev-Agentic-Skills --path skills/godot-multiplayer-networking
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/godot-multiplayer-networking/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add thedivergentai/Game-Dev-Agentic-Skills --skill godot-multiplayer-networking -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/thedivergentai/Game-Dev-Agentic-Skills/tree/HEAD/skills/godot-multiplayer-networking/SKILL.md

## When to use it
- stop characters from rubber-banding during movement
- close the hole that lets a client edit health or money
- protect the server from RPC flood attacks
- cut bandwidth in a large world with visibility culling
- run a dedicated server without a GUI

## Example prompts
- Set up ENetMultiplayerPeer and server authority for my Godot project
- Players rubber-band on my server — work through client prediction and reconciliation
- Add RPC rate limiting so the server survives a flood

## Similar
- [godot-multiplayer](https://affpapa.org/en/nevibecode/skills/godot-multiplayer.md) — skill · 5900 installs
- [godot-nodes-scenes](https://affpapa.org/en/nevibecode/skills/godot-nodes-scenes.md) — skill · 6400 installs
- [godot](https://affpapa.org/en/nevibecode/rules/godot.md) — rule · ★ 3579
- [godot-mcp-enhanced](https://affpapa.org/en/nevibecode/mcp/godot-mcp-enhanced.md) — MCP server · ★ 103
- [godot-gdscript-patterns](https://affpapa.org/en/nevibecode/skills/godot-gdscript-patterns.md) — skill · 17396 installs
- [ue-networking-replication](https://affpapa.org/en/nevibecode/skills/ue-networking-replication.md) — skill · 1100 installs

From the same set: [thedivergentai/game-dev-agentic-skills](https://affpapa.org/en/nevibecode/by/thedivergentai/game-dev-agentic-skills.md) — 51 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
