@pumpkin-plugins/upnpumpkin API / config/schema / configSchema
Variable: configSchema
constconfigSchema:ConfigSchema<{bedrock:SectionNode<{enabled:Field<boolean>;port:Field<number>; }>;java:SectionNode<{enabled:Field<boolean>;port:Field<number>; }>;plugins:SectionNode<{allow_requests:Field<boolean>;max_requests_per_plugin:Field<number>; }>;router:SectionNode<{lease_seconds:Field<number>;nat_pmp:Field<boolean>;nat_pmp_gateway:Field<string>;upnp:Field<boolean>;upnp_search:Field<string>; }>; }>
Defined in: packages/upnpumpkin/src/config/schema.ts:23
Every setting of the plugin. The default file, the validation and the README table all come from this.