Skip to main content

LeaderboardCommandModule

A static class in Root.Township, Alta.Console.Commands.

Console module leaderboard for setting up course leaderboards and their checkpoints. Server only. The board and checkpoint commands act on the selected object.

Methods​

MemberWhat it is
static void CreateDefinitionData(string courseName, bool isLowest = true)Command leaderboard create: creates a leaderboard definition for a course. isLowest probably means lower scores rank higher.
static async Task<IEnumerable<PlayerDataInfo>> GetRanking(string courseName)Command leaderboard get-rank (alias rank): the current player rankings for a course.
static IEnumerable<LeaderboardDefinitionDataInfo> List()Command leaderboard list: the available leaderboard definitions.
static void RemoveCheckPoint(string courseName, bool isBeginning)Command leaderboard remove-checkpoint (alias remove): removes a course from the selected checkpoint, as start or end.
static void SetBoard(string courseName)Command leaderboard set-board (alias board): makes the selected leaderboard show a course.
static void SetCheckpoint(string courseName, bool isBeginning)Command leaderboard set-checkpoint (alias point): adds a course to the selected checkpoint, as start or end.