Global

Type Definitions

# PlayerResolvable

Data that resolves to give a Player object. This can be:

  • A Player object
  • A Player id
Type:

# ServerFetchOptions

Options used to fetch data from fivem

Type:
  • Object
Properties
Name Type Attributes Default Description
cache boolean <optional>
true

Whether to cache the fetched data if it wasn't already

force boolean <optional>
false

Whether to skip the cache check and request the API

update number <optional>
120000

The amount of time to "refresh" this server

# ServerResolvable

Data that resolves to give a Server object. This can be:

  • A Player object
  • A Server id
Type: