Validate a resource
open77_validateValidates a resource's scripts and manifest against the server build, catching Lua syntax errors, unknown natives, undeclared permissions, and command conflicts.
Instructions
Static checks of one resource directory against the served build: manifest grammar, script files, Lua syntax (5.3-compatible parser; exact 5.4 via the server's --lint when present), unknown Open77.* natives, client natives in server scripts and the reverse, permissions used but not declared, natives newer than the build or unreleased, and command names another resource of this server already registers (a warning; literal RegisterCommand names only). Argument resource: a resource name from open77_workspace or an absolute path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource | Yes | Resource name under the resources root, or a directory path |