Leaderboard

Purpose

The leaderboard implements a rotating notice of sorts, with the top cumulative tippers. This may help incentivize tipping more through gamification of the tip amount.

Use

lapse

How much time, in minutes, to wait between posting the leaderboard. Defaults to 10 minutes.

size

How many slots are available on the leaderboard. Does not support more than 5 currently. Defaults to 5.

rotate()

Begin rotation of the leaderboard. Call this during initialization like leaderboard.rotate().

Requirements