@pumpkin-plugins/docs API / info / PermissionInfo
Interface: PermissionInfo<Name>
Defined in: tools/docs/src/info.ts:34
A permission the plugin asks the server for.
Type Parameters
Name
Name extends string = PumpkinPermission
Properties
name
name:
Name
Defined in: tools/docs/src/info.ts:36
Pumpkin permission name, e.g. fs.read.data. A name Pumpkin doesn't know is a compile error.
reason
reason:
string
Defined in: tools/docs/src/info.ts:38
Why the plugin needs it, shown in the README.