Skip to main content
Version: 5.7.0

SysCreateLeaderboard

caution

WARNING: This call, SysCreateLeaderboard(), has been deprecated and replaced with SysCreateLeaderboardConfig().

Create a new player or group entry leaderboard configuration.

ServiceOperation
leaderboardSYS_CREATE_LEADERBOARD

Method Parameters

ParameterDescription
leaderboardIdUnique ID of the leaderboard configuration to create.
entryTypeType of leaderboard entry. Valid values: 'PLAYER', 'GROUP'.
leaderboardTypeType of leaderboard. Valid values: 'LAST_VALUE', 'HIGH_VALUE', 'LOW_VALUE', 'CUMULATIVE', 'ARCADE_HIGH', 'ARCADE_LOW'.
rotationTypeType of rotation. Valid values: 'NEVER', 'DAILY', 'DAYS', 'WEEKLY', 'MONTHLY', 'YEARLY'.
numDaysToRotateOptional parameter. Required only if 'DAYS' rotation type; otherwise, null.
rotationResetTimestampUtcMillisUTC timestamp, in milliseconds, at which to rotate the leaderboard.
retainedCountThe number of rotations (versions) of the leaderboard to retain.
dataOptional parameter. Developer-defined data relevant to the created leaderboard.

Usage

http://localhost:3000
//cloud code only
JSON Response
{
"status": 200,
"data": null
}