Skip to content

FlareTokens 4.1.0

Choose a tag to compare

@numachiamatinu numachiamatinu released this 04 Nov 17:08
· 1 commit to main since this release
6f37354

Four new features. All of them are off by default (boosters work only when you start one), so nothing changes
until you turn them on. The new options are added to config.yml and lang/en.yml on the first start.

Added

  • Daily reward (/tokens daily): tokens once per day, more for every day in a row (daily.rewards, day 1, day 2
    ...). Missing a day starts again from day 1; repeat-last decides what happens after the last day. Players get a
    clickable reminder on join when it is ready. A new day starts at midnight of daily.timezone (empty = the server
    one). Saved with the balances, so with MySQL it is the same on every server. Turn it on with daily.enabled: true.
  • Tokens for time played: every playtime.every-minutes minutes online a player gets playtime.amount tokens,
    more with flaretokens.playtime.<rank> (playtime.ranks). Players who do not move or look around for
    afk-minutes are AFK and their timer stops. Message in the action bar, in chat or none. Turn it on with
    playtime.enabled: true.
  • Exchange (/tokens exchange buy|sell <amount>): money (Vault) to tokens and tokens to money, with the prices
    in exchange.buy-price / exchange.sell-price (0 = that way is off; selling must pay less than buying). If the
    economy plugin refuses the money, the tokens are given back. Turn it on with exchange.enabled: true.
  • Token boosters: /tokens booster <multiplier> <time> starts a booster for everyone (on every server with
    MySQL), /tokens booster 2 1h <player> gives one to a player, /tokens booster stop [player] ends it. Shops can
    sell them with the new action [booster] 2 1h. They multiply drops, daily rewards and playtime rewards
    (booster.applies-to); the highest active booster counts, and a weaker global booster does not replace a stronger
    one. /tokens booster shows the active ones to everyone.
  • Placeholders: %flaretokens_booster%, %flaretokens_booster_time%, %flaretokens_booster_global%,
    %flaretokens_booster_global_time%, %flaretokens_daily_streak%, %flaretokens_daily_ready%,
    %flaretokens_daily_time%, %flaretokens_playtime_next%.
  • Permissions: flaretokens.command.daily and flaretokens.command.exchange (everyone),
    flaretokens.command.booster (op), flaretokens.playtime.<rank>.

SHA-256: 4c4bd6982247de52a4d2edc14b4250207b70901a638d766591836d6a80f5a510