godot-multiplayer-networking
БесплатноЗапускает вложенные скриптыНе проверенExpert multiplayer for desync, rollback, dedicated --headless servers, interest culling, and bandwidth spikes: ENet/WebRTC choice, authority, secure RPCs…
от thedivergentai★ 1 019 звёзд на GitHubОб этом скилле
NEVER Do (Expert Networking Rules)
Core Architecture
- NEVER use
Reliablefor high-frequency data (Position/Movement) — Reliable packets block all following packets until acknowledged (Head-of-Line blocking). UseUnreliableOrdered. - NEVER trust the client for shared state (Health/Money/Inventory) — Clients should only suggest actions. The Server MUST validate and broadcast the result.
- NEVER hardcode the Server IP — Always allow for discovery (
net_lan_discovery.gd) or pass the IP via CLI/UI.
Performance & Bandwidth
- NEVER send the same data every frame — Use
net_adaptive_sync_throttle.gdto only send updates when state changes significantly or at fixed Hz intervals (e.g., 20Hz). - NEVER use
JSONfor high-speed synchronization — String serialization is massive over the wire. Use bit-packing (net_packet_bit_packer.gd) to keep packets under 100 bytes. - NEVER broadcast to all peers if it's not needed — In large worlds, use Interest Management (
net_visibility_grid_culling.gd). A player in the forest doesn't need the position of a player in the city.
Security
- NEVER allow unlimited RPC calls per second — An attacker can flood the server with 1,000 "Attack" RPCs to crash the game. Use
net_packet_rate_limiter.gd. - NEVER expose PeerIDs to the end-user — PeerIDs are internal. Always map them to persistent
UserIDs(net_custom_id_mapper.gd) from a database. - NEVER run a dedicated server with a GUI enabled — Use
--headless(net_headless_server_auto_start.gd) to save resources and ensure stability.
Decision Tree (transport / authority / sync Hz)
| Question | Prefer | Script |
|---|---|---|
| Desktop/console LAN or dedicated UDP | ENet | MANDATORY net_enet_expert_config.gd |
| Browser / NAT-hostile peers | WebRTC (or WebSocket fallback) | Official Docs + peer wrappers; still use secure RPC scripts |
| Who owns gameplay truth? | Server-authoritative | MANDATORY server_authoritative_controller.gd |
| Dedicated host without GUI | --headless |
MANDATORY net_headless_server_auto_start.gd / server_dedicated_host.gd |
| Position @ 10–20 Hz, not every frame | Adaptive throttle | MANDATORY net_adaptive_sync_throttle.gd |
Do NOT Load lobby/RPC beginner recipes from memory — use the golden path below and open only matching scripts.
Golden Path
- Host / dedicated → server_dedicated_host.gd + net_headless_server_auto_start.gd; clients → client_network_setup.gd.
- Secure RPC → secured_rpc_pattern.gd + net_packet_rate_limiter.gd + secure_variable_synchronizer.gd.
- Prediction / reconcile → client_prediction_synchronizer.gd + net_anti_desync_reconciler.gd; fighting/rollback → net_rollback_helper.gd.
- Interest culling → net_visibility_grid_culling.gd before broadcasting positions.
Available Scripts
Transport & host
- net_enet_expert_config.gd — channels, compression, bandwidth.
- net_headless_server_auto_start.gd — CLI/
--headlessdetect. - server_dedicated_host.gd — dedicated host bootstrap.
- client_network_setup.gd — client peer join.
- net_lan_discovery.gd — UDP LAN discovery.
- network_error_handler.gd — disconnect/error routing.
- packet_peer_latency_test.gd — latency probes.
- net_heartbeat_monitor.gd — RTT/jitter.
Authority, RPC, sync
- server_authoritative_controller.gd — server validates actions.
- secured_rpc_pattern.gd — safe RPC annotations/patterns.
- secure_variable_synchronizer.gd — server-owned vars.
- net_packet_rate_limiter.gd — flood protection.
- net_packet_bit_packer.gd — compact payloads (no JSON on hot path).
- net_adaptive_sync_throttle.gd — Hz / change-threshold sync.
- game_state_sync_manager.gd — snapshot/state sync.
- multiplayer_spawner_manager.gd — s
Установить godot-multiplayer-networking в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл godot-multiplayer-networking?
Expert multiplayer for desync, rollback, dedicated --headless servers, interest culling, and bandwidth spikes: ENet/WebRTC choice, authority, secure RPCs, client prediction/reconcile, and adaptive sync. Trigger on rubber-banding, cheat-able clients, peer floods, late join, or profiler Network spikes — not only greenfield online games. Keywords: multiplayer, RPC, ENetMultiplayerPeer, MultiplayerSynchronizer, authority, client prediction, rollback, interest management, headless, desync.
Как установить скилл godot-multiplayer-networking?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл godot-multiplayer-networking запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic