godot-server-architecture
БесплатноЗапускает вложенные скриптыНе проверенExpert blueprint for dedicated / headless multiplayer hosts: ENet/DTLS, authority validation, safe packet decode, matchmaker handoff, and health telemetry…
от thedivergentai★ 1 019 звёзд на GitHubОб этом скилле
Skill boundary (Do NOT Load)
| Use this skill for | Use godot-multiplayer-networking for |
|---|---|
--headless / dedicated export boot |
Lobby UI, matchmaking UX, friend invites |
| ENet/DTLS host peer + safe decode | RPC signatures, @rpc gameplay handlers |
| Authority validation on privileged ops | MultiplayerSynchronizer / scene replication |
| Kick, health telemetry, matchmaker handoff | Client prediction, lag compensation |
Do NOT Load lobby/RPC tutorial scripts from multiplayer-networking when only booting a host — follow Host Golden Path here first.
Host Golden Path (MANDATORY)
- Headless detect/init — MANDATORY headless_init_manager.gd (
--headless/dedicated_serverfeature). - Safe decode — MANDATORY safe_packet_decoder.gd before any untrusted
get_var. - Host peer — enet_optimized_host.gd; add dtls_secure_server.gd when encrypting UDP.
- Authority — server_authority_validator.gd on every privileged RPC.
- Ops — peer_kick_manager.gd, server_health_exporter.gd; matchmaker handoff via server_matchmaker_client.gd.
Available Scripts
headless_init_manager.gd
Detect/initialize dedicated server logic for --headless / dedicated_server.
headless_manager.gd
Headless runtime manager companion patterns.
enet_optimized_host.gd
High-performance ENet UDP hosts with bandwidth/client limits.
dtls_secure_server.gd
DTLS + X509 hardening for ENet UDP.
safe_packet_decoder.gd
Forbid object decoding on untrusted packets (RCE guard).
manual_network_poll.gd
Manual multiplayer.poll() when auto-poll is disabled.
isolated_multiplayer_api.gd
Isolated MultiplayerAPI instances (client+server in one process).
server_authority_validator.gd
get_remote_sender_id() gates for authoritative requests.
websocket_server_compat.gd
HTML5-compatible WebSocketMultiplayerPeer hosts.
peer_kick_manager.gd
Graceful peer termination with reason propagation.
server_matchmaker_client.gd
Load-balancer / matchmaker handoff to game hosts.
server_health_exporter.gd
Headless telemetry for monitoring stacks.
physics_server_direct.gd / rid_performance_server.gd
Optional host-side RID sim — only when node physics cannot hold tick budget: > ~200 active bodies per tick, or headless host CPU > 70% on physics step with nodes. Criteria: profile first; if SceneTree bodies dominate, prefer godot-performance-optimization. Do NOT Load RID scripts for ≤64 entity lobbies.
NEVER Do in Server Architecture (Host)
- NEVER trust the client — Validate state, purchases, and damage on the authoritative host.
- NEVER use
TRANSFER_MODE_RELIABLEfor continuous streams — Prefer unreliable for high-rate transforms. - NEVER use
get_var(true)on untrusted packets — Object decode = RCE. MANDATORY safe_packet_decoder. - NEVER use TCP for fast-paced action — Prefer ENet UDP (or WebSocket for HTML5 constraints).
- NEVER run a dedicated server without stripping visuals — Dedicated Server export / dummy drivers.
- NEVER expect RPCs before
connected_to_server/ peer ready. - NEVER assume
UNRELIABLEpackets arrive in order. - NEVER leave
SceneTree.multiplayer_pollfalse without manualpoll(). - NEVER mix incompatible engine/multiplayer protocol versions across peers.
- NEVER forget
free_ridon server-created RIDs if the host uses Physics/RenderingServer pools.
Host Patterns
Interest management
Large worlds: MultiplayerSynchronizer.public_visibility = false + visibility filters (AABB / grid) so the host does not sync the entire world to every peer.
# Hook on synchronizer — filter peers by grid cell / AABB (no full tutorial)
func _visibility_filter(for_peer: int, node: Node) -> bool:
return _interest_grid.is_visible_to_peer(for_peer, node.global_position)
# Assign: synchronizer.set_visibility_filter(_visibility_filter)
Health metrics
Watch host FPS, static memory (RID leaks), and orphan counts via server_health_exporter.gd
Установить godot-server-architecture в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл godot-server-architecture?
Expert blueprint for dedicated / headless multiplayer hosts: ENet/DTLS, authority validation, safe packet decode, matchmaker handoff, and health telemetry. Use when building authoritative servers, --headless hosts, or hardening host networking. Keywords: dedicated server, headless, ENet, DTLS, authority, safe_packet_decoder, multiplayer host, WebSocketMultiplayerPeer.
Как установить скилл godot-server-architecture?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл godot-server-architecture запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic