TMDevelopmentTinulica & Maiky

Daily reward

(4.1.0+) Players claim tokens once per day with /tokens daily. Every day in a row gives more; missing a day starts again from day 1. Off by default.

daily:
  enabled: true
  # Day 1, day 2, day 3 ...
  rewards: ["10", "15", "20", "25", "30", "40", "75"]
  # After the last day: true = keep giving the last reward, false = start again from day 1
  repeat-last: false
  # Tell players on join that the reward is ready
  remind-on-join: true
  # Time zone of the new day, e.g. "Europe/Rome". "" = the one of the server
  timezone: ""

Then /tokens reload.

  • A new day starts at midnight of timezone. On a network use the same time zone on every server.
  • Ranges work: "10-20" gives a random amount between 10 and 20.
  • With repeat-last: false and 7 rewards, day 8 gives the reward of day 1 again (the streak keeps counting). With true, from day 7 on it always gives 75.
  • Players see a clickable reminder a few seconds after joining, when the reward is ready.
  • A booster multiplies the reward (see Boosters), and the player sees how much it added.
  • The streak is saved with the balances: with MySQL it is the same on every server, and a player cannot claim it twice by changing server.
  • Permission: flaretokens.command.daily (everyone).

Placeholders: %flaretokens_daily_streak% (days in a row, 0 when lost), %flaretokens_daily_ready% (Ready / Claimed, texts in lang/en.yml → daily.placeholder-ready / placeholder-claimed), %flaretokens_daily_time% (time to the next reward, - when ready).

Button in /tokens menu

(4.1.1+) New installs have a Daily reward button in /tokens menu (slot 4). It shows only when daily rewards are on. On a server installed before 4.1.1, add it to menus/tokens.yml under elements::

  daily:
    slots: "4"
    admin-only: false
    # only when daily rewards are on (config.yml daily.enabled)
    show-if:
      - "[enabled] daily"
    material: "CLOCK"
    name: "&#b57bffDaily reward"
    lore:
      - "&7Days in a row: &f{daily_streak}"
      - "&7{daily_status}"
      - ""
      - "&#b57bffClick to claim"
    update: true
    actions:
      - "[player] tokens daily"
      - "[delay] 10"
      - "[refresh]"

Then /tokens reload. The same button works in any of your menus.

Last updated

Sign in

New here? Just enter your email: the account is created when you click the link. No password needed.

or

We send you a link that signs you in with one click. It works for new and existing accounts.

Sign in with a password instead

By continuing you accept the Terms & Conditions and the Privacy policy.

Staff: open “Sign in with a password instead” and type your username instead of the email. After the password we ask for your 2FA code.