Script API - v1.26.20.20
    Preparing search index...

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

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    enabled: boolean

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

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

    Methods

    • Parameters

      • player: string | Player

        Player or player name that should be checked for.

      Returns boolean

      Returns if the player is in the server's allow list.

      This function can throw errors.

      minecraftserver.InvalidEntityError

      This function can't be called in early-execution mode.