Permissions and trust
Player permissions are not a plugin sandbox.
On this page
Player permissions
ctx.Permissions() checks PlayerCan/SourceCan and grants/revokes runtime permissions. Matching supports exact names, * and prefix wildcards such as arena.admin.*.
Native trust
Go modules/plugins execute as fully trusted in-process code. Player permissions govern commands/gameplay, not native filesystem or network access.
Foreign capabilities
The existing WASM host uses separate foreign.allowed capability policy. A manifest requests authority but cannot grant it. Native Go permissions do not automatically become a WIT contract.