Daily Rewards

2commands
2files
2figures
2min read
Sheet 30 of 53 · Features

Filesfeatures/island.yml · daily-rewards.json

Filefeatures/island.ymlFiledaily-rewards.jsonCommand/is dailyCommand/is daily topEach player can claim once per day with /is daily; claiming on back-to-back days builds a streak that walks through a configurable reward cycle and fires one-off bonuses at the streak lengths you choose. Miss a day and the streak resets, or just pauses if you'd rather.

The daily reward and the streak it builds.
The daily reward menu with six claimed days and day 7 hovered showing its reward

Rewards use the same reward format as missions, milestones and seasons: money, a bank deposit, items, console commands, or a sound and title.

Claiming

Command/is daily/is daily opens the reward screen. The cycle is laid out day by day, your next claimable day is highlighted, and a glowing claim button appears whenever a reward is waiting. The screen is also on the Progression tile of the main /is menu. If notify-on-join is on, players are also told on login when a reward is ready.

CommandWhat it does
/is dailyOpen the daily reward screen and claim today's reward
/is daily topView the leaderboard of the best login streaks

How the streak works

/is daily top: the longest streaks on the server, so a streak is worth bragging about.
The Top Streaks leaderboard with SkyAuditor at 23 days

The first claim starts the streak at day 1, and each claim on the next day adds one. A second claim on the same day is refused. A gap inside the grace-days window doesn't break anything. Go past it and, with reset-on-miss: true, the streak drops back to 1. With false it pauses instead: the claim pays that day's cycle reward again, but the streak doesn't grow and no milestone fires.

The streak day picks the reward from the cycle. Once the streak passes the cycle length it loops back to day 1, so a seven-entry cycle repeats every week while the streak number keeps climbing for milestone purposes.

Command/is daily topgrace-days forgives a number of missed days before a streak is at risk. 1 means one skipped day doesn't wipe a long streak; 0 is strict daily play. The best streak each player ever reaches is what the /is daily top leaderboard ranks on.

Configuration

features/island.yml
daily-rewards:
  enabled: true
  # Tell players on join when a reward is waiting.
  notify-on-join: true
  # Reset the streak to day 1 if a day is missed. false = the streak just pauses and continues.
  reset-on-miss: true
  # Forgiven missed days: a gap of this many days still keeps the streak alive (0 = strict daily).
  grace-days: 1
  cycle:
    - 100          # bare number = personal money
    - 250
    - 500
    - 750
    - 1000
    - 1500
    - money: 2500  # day 7: a map = the full reward format
      items:
        - material: DIAMOND
          amount: 3
      effects:
        sound: "entity.player.levelup"
        title: "<gold>Day 7!"
        subtitle: "<yellow>Streak reward claimed"
  # One-off bonuses for reaching an exact streak length (in addition to that day's cycle reward).
  milestones:
    14:
      money: 5000
      commands:
        - "broadcast {player} reached a 14-day login streak!"
    30:
      money: 20000
      items:
        - material: NETHER_STAR
          amount: 1

Each cycle entry and each milestones value is a full reward: a bare number (personal money), or a map with any of money, bank, commands, items and effects. Command placeholders include {player}, {streak}, {island} and {owner}. A bank part goes into the claiming player's island bank.

Loading the index

Enter openUp Down moveEsc close