Players

Description

Players in r4nkt are your end-users. They are the individuals that use your software or play your game.

Properties

Players have the following properties:

Name

Type

Default

custom_id

string

-

time_zone

string

UTC

custom_data

json

empty

Click here for information about common properties.

Time Zone

This property represents your player's time zone. Any date/time-related calculations for your player will take this value into account.

If you have criteria that must be met between specified hours or on a specified day, then this is how you make sure that your individual players' actions are interpreted accurately for each individual player. When it's 5 PM for your players in New York, New York, US, it's not 5 PM in Sydney, Australia. In fact, it's not even the same day.

Setting this property correctly for each of your individual players solves this problem. Then, each of your players' actions are interpreted according to the criteria you have specified but in the context of their own time zone.

We use time zones from the tz database.

Here is a list of some common or recognizable time zone values:

  • Europe/Copenhagen

  • Europe/London

  • America/New_York

  • America/Los_Angeles

  • Asia/Tokyo

  • Australia/Sydney

You can look here for a complete listing of possible values.

This property defaults to UTC.