Godot-többjátékos jogosultság
Tisztázza, melyik játékos vagy szerver módosíthatja a közös játékállapotot. Segít kezelni a jogosulatlan támadásokat, a dupla jutalmakat és a folyamatban lévő játékhoz csatlakozók állapotát.
godot-multiplayer-authority
Nézd meg, miben segítMikor hasznos?
Akkor használd, ha klienskérés jogosulatlanul módosíthat közös játékállapotot.
Miben segít neked?
- Műveletenként, mezőnként és entitáséletciklusonként kijelöli a döntési jogot.
- RPC-jelölés helyett ténylegesen ellenőrzi a parancsot.
- Elválasztja a megbízható eseményt a másolt állapottól, kezeli a kapcsolatvesztést.
Például ezt kérheted
A kooperatív kazamatában két játékos egyszerre nyissa ki ugyanazt a jutalomládát. A döntésre jogosult oldalon ellenőrizd a távolságot és jogosultságot, majd ismételt kéréssel és késői csatlakozással bizonyítsd, hogy a láda nyitva marad, a jutalom pedig egyszer jár.
Részletes dokumentáció
Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.
Összecsukás
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.
Csomagban lévő fájlok 1
SKILL.md
