@pumpkin-plugins/docs API / info / ConfigOptionInfo
Interface: ConfigOptionInfo
Defined in: tools/docs/src/info.ts:54
One setting of the plugin's config file, as a row of the README table.
Properties
default?
optionaldefault?:string
Defined in: tools/docs/src/info.ts:56
Shown as written; omit for options without a default.
key
key:
string
Defined in: tools/docs/src/info.ts:59
Dotted TOML key, e.g. web.port.
type
type:
"string"|"boolean"|"integer"|"string[]"|"table"|"table[]"
Defined in: tools/docs/src/info.ts:61
TOML value shape shown in the README, such as table[] for an array of inline tables.