โž•Manually add your own Leaderboard in Steamworks

Tutorial on how to manually add a leaderboard trough Steamworks. This is the right approach if you don't want to dynamically add them trough the "Create Leaderboard" node

1

๐Ÿ“„ Requirements

To have a basic understanding on how this plugin gets used

To have access to the Steamworks leaderboard configuration site you need to have

  • an Steamworks account

  • an Steamworks app

2

You can create and manage leaderboards in the Steamworks app settings for your app ID by going to

  1. Click on โ€œView checklistโ€ on your app

  2. Scroll down to โ€œEdit Steamworks Settingsโ€ and click on it

  3. Hover over โ€œStats & Achievementsโ€ and click on โ€œLeaderboardsโ€

3

โž• Create A New Leaderboard Or Configure An Existing One

The following fields define an leaderboard:

  • Name - Set this to be a name that makes sense as part of internal development.

  • Community Name - If the leaderboard is to be shown on the Community Hub, set the public facing name here. If there is no name entered, the leaderboard will not appear.

  • Sort Method - Set the order for the leaderboard sorting. For positional based leaderboards, use Ascending. For high-score, use Descending. โ†’ Are greater or lower scores better?

    โ†’ Descending = The top-score is the highest number.

    โ†’ Ascending = The top-score is the lowest number.

  • Display Type - Determines the types of data to be displayed with the leaderboard. Select from Numeric, Seconds or Milliseconds. โ†’ Numeric = The score is just a simple numerical value.

    โ†’ Time Seconds = The score represents a time, in seconds.

    โ†’ Time Milli Seconds = The score represents a time, in milliseconds.

  • Writes - If this is set to Trusted, the leaderboard scores cannot be set by clients, and can only be set by via SetLeaderboardScore WebAPI. Defaults to false.

  • Reads - If this is set to Friends, the game can only read leaderboard scores for friends of the user, all scores can always be read by WebAPI. Defaults to false.

  • Lobby - If this is set to MMS, the game can only read leaderboard scores for SteamIDs in the same Lobby as the current user. Defaults to false.

  • Range Around User - If this is set to a positive non-zero number, the range of scores that can be gathered around a user is limited plus/minus this number. If this is a negative number it will disable the reading around a user. Defaults to 0 = no limitation.

  • Global Top Limit - If this is set to a positive non-zero number, the access to the global data is limited to the top X entries. X = the defined number. If this is a negative number it will disable the reading of any global data. Defaults to 0 = no limitation.

4

๐Ÿ™ Final Words

You can always refer to the Steamworks Leaderboard Documentation

Are you enjoying this plugin? Then donโ€™t forget to leave a review to support the creator!

Last updated