Recorded player activity.
All maps stats for this player.
Favorite partners of this player.
The favorite server region of this player.
First and recent finishes for this player.
Global leaderboard stats for this player.
Number of hours played in the past 365 days by this player.
The name of this player.
Server stats leaderboards for this player.
Total amount of points earnable from first completions across all maps.
The url of this player on ddnet.org
Static
clearClears the Player.cache.
Clears the CacheManager.store.
Static
setTTLSets the TTL (Time-To-Live) for objects in cache.
Sets the CacheManager.ttl.
Optional
ttlMS: numberIf provided, sets the CacheManager.ttl to this value, otherwise uses the default value.
Returns an array of objects containing the names of all finished maps and a function to turn them into proper Map objects.
Wether to bypass the cache.
Optional
rankSource: null | RankAvailableRegionThe region to pull ranks from in the toMap
function from the returned value. Omit for global ranks.
Static
newStatic
searchSearch for a player.
The value to search for.
Wether to bypass the cache.
Represents a DDNet player.
Example