V2.8 Update!
This update brings new features requested by the community and tons of bugfixes!
New Additions
Updated and improved documentation
Check out the new documentation of the tool in GitHub!
Function for getting the total count of entries in a leaderboard
Leaderboards.YourLeaderboard.GetEntryCount(Action<int> callback, Action<string> errorCallback[optional])
Here are the parameter descriptions:
- callback - A function that is called when the request is successful, returning the total count of entries in the leaderboard.
- errorCallback - A function that is called when the request is unsuccessful.
Resetting keys
Did your public key or secret key get leaked? Not to worry, now you can change the keys for your leaderboard by pressing the "Reset" button for your respective leaderboard in the menu.
Authorization Save Modes
Developers now have the choice to handle saving authorization details either automatically using PlayerPrefs, a text file stored in the Persistent Data Path, or manually.
Player Prefs
This mode is the default and it will hold the player's unique identifier as a key stored in Player Prefs.
Persistent Data Path
This mode is an alternative to Player Prefs, where the unique identifier is stored into a file, which will be stored in the Persistent Data Path.
Unhandled
This mode disables automatic authorization, meaning it will be up to you to handle proper saving and loading of the user's authorization. Make use of these functions to get/set the user GUID (unique identifier):
/// <summary> /// Requests a new unique identifier for the user from the server. /// </summary> /// <param name="userGuidCallback">A callback that returns the user's unique identifier.</param> LeaderboardCreator.RequestUserGuid(Action<string> userGuidCallback)
/// <summary> /// Sets the user's unique identifier to the given string value. /// </summary> /// <param name="userGuid">The user's unique identifier.</param> LeaderboardCreator.SetUserGuid(string userGuid)
Blacklisting users (exclusive to Advanced Leaderboards)
You can now block users by usernames or their user GUIDs.
Other Changes
LeaderboardCreator.UpdateEntryUsername()
is now deprecated- Added extra overloads for the
GetEntries()
method - Usernames now have a max size of 127
- The editor window now has a Settings tab (which will get more options in the future!)
Bugfixes
- The "Unique Usernames" toggle has been fixed and should now allow users to upload their entries regardless of the username being the same.
- Fixed UI overlaps in the menu
- Fixed random loss of user IDs in a leaderboard
Files
Get Leaderboard Creator
Leaderboard Creator
Easily create an online leaderboard for your games using this tool.
Status | Released |
Category | Tool |
Author | Danial Jumagaliyev |
Tags | leaderboard, leaderboard-creator, networking, online-leaderboard, Unity, Unreal Engine |
Languages | English |
More posts
- V2.81 Update!May 16, 2024
- V2.7 Update!Jan 23, 2024
- V2.6 Update!Oct 12, 2023
- Discord Bot Update!Sep 28, 2023
- V2.5 Update!Sep 07, 2023
- V2.4 Update!Jul 14, 2023
- Leaderboard Exporter Update!May 16, 2023
- V2.3 Update!May 14, 2023
- V2.2 Update!Mar 29, 2023
Comments
Log in with itch.io to leave a comment.
im using unity 2019.4.40f1 and after I import the asset package i get a ton of syntax errors for ConstantVariables.cs such as
Assets\LeaderboardCreator\Scripts\Utils\ConstantVariables.cs(11,45): error CS1003: Syntax error, '(' expected
I am not sure how to resolve. Any advice?
Thanks, Brad