Daily bonus
DailyBonus module: a reward once a day, a streak calendar with growing prizes, freezes for missed days and protection against farming from one address.
A player takes a reward once a day, and consecutive days move them along a calendar where later days give more. A freeze covers a missed day; without one the streak steps back or starts over, whichever you choose. The bonus can be taken on the site, from the account menu, in the bot and from the game menu on a server.

| Dependencies | Games | Permissions | Studio blocks | Bot commands | Cron tasks |
|---|---|---|---|---|---|
| Flute 2.0, the Rewards module; optionally Quests and Migration | any; the in-game button works through GameLink | admin.dailybonus, admin.dailybonus.view, admin.dailybonus.adjust, admin.dailybonus.block | "Daily bonus" (dailybonus.bonus) | /bonus — "Claim the daily bonus" | "Daily bonus: streak reminder", hourly |
Where the module shows up
| Place | What is there |
|---|---|
/bonus | the "Daily bonus" page: the streak scene, the calendar, the rules, "My recent rewards" and "The longest streaks now" |
| Account menu | a "Daily bonus" item with a counter while today's bonus is not taken |
| Profile overview | the calendar and the "Take the bonus" button, only the profile owner sees them |
| Player mini profile | a "Streak" line from a two-day streak |
| Studio | the "Daily bonus" block with the "Streak scene" and "Full calendar" variants |
| AdminDaily bonus | the reward calendar, the cycle rules and the conditions, at /admin/daily-bonus |
| Player card in the admin | the "Daily bonus" tab and actions on the player |
| Game menu on the server | a "Claim the daily bonus" item |
Installation and first setup
Install the module from the marketplace; Rewards comes with it. After installation the bonus is off and the cycle has seven days with no rewards: the site gives no bonus until every day has one.
Set the rewards of the days
Open AdminDaily bonus. In "Rewards by day", click a day and pick a reward in "What the day gives", for example "Site coins" or "Balance top-up". A day with no reward is not saved.
Check the status line
The line above the calendar says whether the bonus is given. While some days have no reward, it reads "The bonus is on but is not given" with the numbers of those days.
Turn the bonus on
Press "Turn on bonus" in the status line or turn on "Bonus is on" in the module settings. The menu item, the page and the profile block appear for players at once.

A week with a big reward on day seven
The plan: for six days a player gets 50 coins, on day seven VIP on the server for 3 days, then the cycle starts again.
Set the cycle length
In "Cycle rules", keep "Days in the cycle" at 7. A cycle is 1 to 60 days long: new days take the reward of the last one, the cut ones are deleted.
Fill days 1 to 6
Click "Day 1" and add a "Site coins" reward with "Quantity" 50. Repeat for days 2 to 6.
Fill day seven
In "Day 7", pick "Server group by name", type vip in "Group on the server" and set "Term" to 3 days. This reward goes to a game server, and the player picks the server in the inventory.
Choose what follows day seven
"After the last day of the cycle": "Start the cycle again" sends the player back to day one while the streak keeps growing. "Repeat the last day" gives the day-seven reward every day after.

Rewards that need no choice reach the player at once. A reward with a server choice or a "Price when sold from the inventory" waits in the inventory for "Days a reward waits", 7 by default.
Streaks and missed days
A new bonus day starts at "Hour a new day starts" in the "Time zone of the bonus day". If a player missed days, the site looks at freezes first: they are spent only when there are enough to cover every missed day, monthly ones first, then those given by hand.
If there are not enough freezes, "When a day is missed" applies:
| Option | What happens to the streak |
|---|---|
| "Step back" | the streak loses as many days as "Days to step back", but never falls below day one |
| "Start over" | the count starts again from day one |
| "Lose nothing" | the miss is forgiven, the player goes on from the same day |
Players see these rules on the bonus page in the "Streak and missed days" block. At 19:00 in the bonus time zone, players with a streak of two days or more who have not taken the bonus yet get the "Your streak ends today" notice. Notification texts are edited in Notifications.
Stopping farming
Limit accounts per address
In the module settings, "Accounts per address a day" is 3 by default. A fourth account from the same IP gets "Other accounts have already taken today's bonus from this address."
Set conditions
On the bonus screen, add up to eight conditions in "Who may take the bonus", for example "Age of the account" with "Not younger than, days" 7, or "A game account is linked". An empty block lets any player in.
Close access for an abuser
Open the player in AdminPlayers: the "Daily bonus" tab shows "Same address in 30 days". The "Close access to the bonus" action with "For how long" and "Reason" closes the bonus for a day, a week, 30 days or for ever.

In the same place, "Correct the bonus streak" sets the streak by hand, and "Give streak freezes" adds freezes on top of the monthly ones. Each action needs a reason and is written to the journal.
Links with other modules
Rewards are handed out by the Rewards module: every grant lands in its "Grants" log, and whatever did not reach the game is retried by the site. If Quests is installed, DailyBonus adds the "Daily bonus: bonuses taken" (daily.claims) and "Daily bonus: length of the streak" (daily.streak) metrics to the "What is counted" field, so you can build a quest such as "take the bonus 5 times this week". Without Quests the module works the same, the metrics are just missing from the list.
With the Migration module, the LR Web transfer wizard gets a "Daily bonus streaks" step. It carries over live streaks of the Neo template's daily cards. A streak that already ended on the old site, and a player whose streak here is not shorter, are skipped.
Game servers
On servers with the GameLink plugin, the game menu has a "Claim the daily bonus" item. The player presses it in the game and sees "Bonus claimed" with the list of rewards, or the time until the next bonus if today's is taken. The item works while "Button in the game menu" is on. How to install the plugin is covered in connecting a server.
Settings
The "Settings" button in the header of AdminDaily bonus, at /admin/modules/DailyBonus/settings.
| Field | What it changes | Default |
|---|---|---|
| "Bonus is on" | players can take the bonus | off |
| "Bonus page" | a page of its own; without it the bonus is taken from the account menu and the profile | on |
| "Section address" | the page address | bonus |
| "Time zone of the bonus day" | the zone of the bonus day and the reminder | same as the site |
| "Hour a new day starts" | from this hour the bonus can be taken again | 00:00 |
| "When a day is missed" | "Step back", "Start over" or "Lose nothing" | "Step back" |
| "Days to step back" | 1 to 365 | 3 |
| "Freezes per month" | missed days forgiven per calendar month, up to 31 | 1 |
| "Accounts per address a day" | 0 means no limit | 3 |
| "Days a reward waits" | how long a reward with a choice waits in the inventory, 0 for ever | 7 |
| Field | What it changes | Default |
|---|---|---|
| "Account menu item" | the item with a counter | on |
| "Profile block" | the calendar and the button on the profile overview | on |
| "Button in the game menu" | the item on servers with the Flute plugin | on |
| "Streak on the player card from, days" | the "Streak" line in the mini profile, 0 hides it | 2 |
| "Rows in the longest streaks list" | the list beside the calendar, 0 removes it | 8 |
| "After the last day of the cycle" | "Start the cycle again" or "Repeat the last day" | "Start the cycle again" |
| "Remind "your streak ends today"" | a notice to players with a streak of two days or more | on |
| "Hour of the reminder" | when the reminder goes out | 19:00 |
| "Tell about a spent freeze" | the "a freeze saved your streak" notice | on |
| "Tell about closed access" | a notice to a player whose bonus is closed | on |
| "Name in the menu", "Heading of the section", "Lead of the page" | your own texts up to 120 characters, empty keeps the standard ones | empty |
| "Head picture" | the background behind the bonus page title | empty |
"Days in the cycle", "After the last day of the cycle" and "When a day is missed" also sit in the "Cycle rules" block on the bonus screen; they are the same settings.
Permissions
| Permission | What it gives |
|---|---|
admin.dailybonus | the bonus screen: the cycle, the conditions and the settings; includes the other three |
admin.dailybonus.view | the "Daily bonus" tab in the player card |
admin.dailybonus.adjust | "Correct the bonus streak" and "Give streak freezes" |
admin.dailybonus.block | "Close access to the bonus" and "Open access to the bonus" |
For developers
The module grants rewards through Rewards\Services\Grants::grantMany() with the dailybonus source, one grant set per player and day. Events: flute.daily.claimed (DailyBonusClaimed: player, day, streak, cycle day) and flute.daily.streak_broken (DailyStreakBroken). The daily.claimed webhook, "A player took the daily bonus", is set up in Webhooks. Metrics for Quests: daily.claims (adds one per bonus) and daily.streak (the current streak length).
How the core side works: Events and listeners.
Troubleshooting
For any other message, use the error lookup.
The bonus is not set up yet: its days have no rewards.
Some day has no reward, or its reward type is gone from the site, for example after a game module was turned off. The status line on the bonus screen names those days. Give them a reward again.
Take the bonus on the site.
The bot answers this when "Accounts per address a day" is on and the site does not know the player's address yet. The player needs to visit the site once, after that the bot gives the bonus.
| Message | What to do |
|---|---|
| "The daily bonus is switched off for now." | turn on "Bonus is on" |
| "Other accounts have already taken today's bonus from this address." | raise "Accounts per address a day" or set it to 0 |
| "Access to the bonus is closed until …" | open access with "Open access to the bonus" |
| "The site has no reward of the type “…”. The day was not saved." | turn on the module with that reward type or pick another type |
| "Today's bonus is already taken." | the player already took the bonus this day, the next one comes after "Hour a new day starts" |
| "The bonus could not be given. Try again later." | check the error log |