# Leaderboard Configuration Guidelines

# Definition

The leaderboard configured here is the leaderboard that can display the friends who are playing the same game after the developer reports the data according to the standard format under the Weixin scenes such as Search and Mini Game Center.

Note: This configuration only affects the presentations of Search and Mini Game Center Leaderboard. Does not affect in-game friends leaderboard that are implemented using managed data, main domain, or open data domain.

# Scenes

The scenes affected by this configuration currently include: Weixin Search and Mini Game Center.

  • Weixin Search

search

  • Mini Game Center

PortalRankList1

PortalRankList2

# 1. Complete the Background Data Reporting in the Standard Format

Reporting interface document address: wx.setUserCloudStorage (front-end interface), storage.setUserStorage (background interface)

# 2. After Logging in to the mp Management Background, Complete the Configuration in Game Settings - Leaderboard Configuration.

RanklistConfig

Field Description
The Unique Identifier of The Leaderboard Refers to the key value set when reporting in the background to identify reporting scores
Leaderboard Names Like Score Leaderboard, they will be displayed on the Mini Game Center
Update Cycle Filter reporting data according to a certain period.
Filter and refresh user scores every Monday
Type Of Leaderboard Data Used to configure the leaderboard display data type
Integer type: display according to the value reported actually, such as 100, 99, 98
Enumeration value: display the text content after escaping the value, such as diamond level, gold Level
Order of leaderboard Ascending: from smaller to bigger,with a smaller number's ranking ahead
Descending: from bigger to smaller, with a bigger number's ranking ahead
Data Unit Suffix Support for personalized units such as minutes, seconds, levels, etc.

# 3. After the Submission is Completed, It Must be Approved by Weixin Before It Can Take Effect.

ConfigApperance

点击咨询小助手