Add-On Documentation
  • Preparing search index...
  • The search index is not available
8Crafter's Server Utilities API
  • 8Crafter's Server Utilities API
  • Globals
  • perror

Function perror

  • perror(
        player: Player | Globals.modules.cmds.executeCommandPlayerW,
        error: Error,
        prefix?: string,
    ): void

    Sends a player an error message.

    Parameters

    • player: Player | Globals.modules.cmds.executeCommandPlayerW

      The player to send the message to.

    • error: Error

      The error to send.

    • Optionalprefix: string

      The prefix for the error message. Defaults to §c.

    Returns void

    • Defined in Global.ts:354

Settings

Member Visibility
Add-On Documentation
8Crafter's Server Utilities API
  • Loading...

Generated using TypeDoc