Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Players

Index

Methods

  • description

    Received current data of a player

    [IMPORTANT] Don't use this function on Tick/Interval!

    example
    await get({
    where: {
    steam_id: "76561198290395137"
    }
    });

    Parameters

    Returns any

  • listAll(): any[]
  • description

    List all players

    [IMPORTANT] Don't use this function on Tick/Interval!

    example
    await list();
    

    Returns any[]

  • description

    Update current data of a player

    [IMPORTANT] Don't use this function on Tick/Interval!

    example
    await update({
    data: {
    someNestedThings: true
    },
    where: {
    steam_id: "76561198290395137"
    }
    });

    Parameters

    • data: Data

      Data object to input

    Returns Promise<any>

Generated using TypeDoc