Godot-Multiplayer-Autorität
Klärt, welcher Spieler oder Server den gemeinsamen Spielzustand verändern darf. Hilft bei ungültigen Angriffen, doppelten Belohnungen und der vollständigen Zustandsübernahme beim späteren Beitritt.
godot-multiplayer-authority
Entdecke, wie der Skill hilftWann ist der Skill hilfreich?
Nutze dies, wenn Clientanfragen gemeinsamen Zustand unzulässig verändern könnten.
Wobei hilft er dir?
- Ordnet Aktionen, Feldern und Entitätslebenszyklen Autorität zu.
- Validiert Befehle statt einer RPC-Markierung zu vertrauen.
- Trennt zuverlässige Ereignisse von repliziertem Zustand und behandelt Trennungen.
Das könntest du fragen
Lass in unserem Koop-Dungeon zwei Spieler dieselbe Beutetruhe öffnen. Prüfe Entfernung und Berechtigung auf der zuständigen Seite. Wiederhole die Anfrage und verbinde einen weiteren Spieler: Die Truhe bleibt geöffnet, und die Belohnung wird nur einmal vergeben.
Ausführliche Dokumentation
Hier findest du die ursprüngliche Anleitung, Beispiele und Prüfschritte des Skills in ihrer Originalsprache.
Weniger anzeigen
Godot — multiplayer authority
Use when adding Godot RPCs, replicated nodes, ownership or reconnect behavior.
Version and project gate
Inspect project.godot, config/features, .tscn and .tres files, export_presets.cfg without credentials, input actions, autoloads, renderer, physics backend and installed Godot executable. Distinguish Godot 3 from 4 before selecting APIs. Never turn a task into an engine upgrade without the user’s intent. Read the version-matching official reference when an API decision depends on it.
Work
Map peer authority for every action and state field. Validate commands on the authority side, establish spawn/despawn ownership and distinguish reliable events from replicated current state. Pin RPC paths and signatures to the installed release. Treat disconnect and late join as explicit transitions.
Deliver
A peer/authority table and a minimal two-peer scenario with validation and lifecycle handling. Keep the change in the existing project structure; separate actual observations from the proposed acceptance scenario below.
Failure to prevent
An RPC annotation is not authorization; a client-reported position or reward needs game-rule validation.
Acceptance scenario
Join a running level, disconnect during an action and submit an invalid or duplicated command without corrupting authoritative state. Follow the project’s execution and verification permissions. If execution or a target device is unavailable, provide the reproduction steps and name the remaining uncertainty; do not mark it passed.
Scope and sources
This skill belongs to Rune. Agent selection is restricted by Orqestria’s assigned-agent policy, including forced skill selection; instruction text alone is not an access control. These are original task workflows researched from official documentation, not a copied or endorsed vendor skill.
Enthaltene Dateien 1
SKILL.md
