Allowlist

API reference for Allowlist in @erlcjs/presets.

Type which represents allowlists, a set array can be used for a set allowlist or a callback function for a dynamic one.

Signature:

type Allowlist = (number | PlayerPermission)[] | (() => (number | PlayerPermission)[]);

References: PlayerPermission