Script API - v26.70.26
    Preparing search index...

    Controls the allow list for the server. Only available on dedicated server.

    export class AllowList {
    private constructor();
    enabled: boolean;
    readonly entries: AllowListEntry[];
    add(playerDetails: AllowListEntryNameInfo | minecraftserver.Player, ignorePlayerLimit?: boolean): void;
    clear(): void;
    contains(playerDetails: AllowListEntryNameInfo | minecraftserver.Player): boolean;
    reloadFile(): void;
    remove(playerDetails: AllowListEntryNameInfo | minecraftserver.Player): void;
    }
    Index
    enabled: boolean

    This property can't be edited in restricted-execution mode.

    This property can't be read in early-execution mode.

    entries: AllowListEntry[]

    The list of entries in the allow list.

    This property can't be read in early-execution mode.