r4nkt
  • Introduction
  • Getting Started
  • Concepts
    • Overview
    • Achievements
    • Actions
    • Activities
    • Badges
    • Criteria
    • Criteria Conditions
    • Criteria Groups
    • Custom Data Reference
    • Games
    • Leaderboards
    • Players
    • Rewards
    • Scores
  • Cookbook
    • Criteria Conditions
    • Achievements
  • API
    • Overview
    • Authentication
    • Achievements
    • Actions
    • Activities
    • Criteria
    • Criteria Groups
    • Leaderboards
    • Players
    • Player Badges
    • Rewards
    • Scores
  • Webhooks
    • Overview
    • Getting Started
    • Events
  • PHP SDK
    • Overview
    • Getting Started
  • Laravel Package
    • Overview
    • Installation
    • Webhooks
Powered by GitBook
On this page
  • Description
  • Properties
  • Achievement
  • Player
  • Custom Session ID

Was this helpful?

  1. Concepts

Badges

PreviousActivitiesNextCriteria

Last updated 4 years ago

Was this helpful?

Description

Badges in r4nkt are given to a player when an achievement has been earned. That is to say, when an achievement's criteria have been met, then a badge is awarded.

Properties

Badges have the following properties:

Name

Type

Default

custom_achievement_id

string

-

custom_player_id

string

-

points

integer

-

custom_session_id

string

-

Achievement

A badge is given to a player to show that they have met the criteria for a given . It is represented by the badge's custom_achievement_id property, which corresponds to the achievement's custom_id.

Player

The that has earned the badge is represented by the badge's custom_player_id property, which is the player's custom_id.

Custom Session ID

If a badge was earned within the context of a session, then that custom session ID will be provided.

achievement
player