Reward events

1.0.23+ · off until you turn it on (events.enabled: true or /referrals settings → Reward events).
/referrals event start 2 48h Weekend!
The rewards of the invites made in the next 48 hours are doubled. Times: 30m, 2h, 1d, 1h30m (a number alone = minutes).
| Command | Permission | |
|---|---|---|
/referrals event | everyone (when events are on) | the event running now: multiplier, time left, reason, what is multiplied and which rewards get the bonus |
/referrals event start <multiplier> <time> [reason] | flarereferrals.event (admins have it) | starts an event (replaces the one running) |
/referrals event stop | flarereferrals.event | ends it now |
What is multiplied
| Option | Default | |
|---|---|---|
multiply.currencies | true | money, tokens, mobcoins, XP levels... every currency of the reward |
multiply.items | false | items too, only with whole multipliers (x2, x3; with x1.5 the items stay the same) |
rewards.inviter / welcome / milestones | true | which rewards get the bonus |
max-multiplier | 10 | highest multiplier an admin can use |
Commands of a reward run once (use {multiplier} in them if you need it). A reward keeps its multiplier also when it is collected later, and an invite that counts later (verify-after-minutes) keeps the event of the moment it was made. Invites added with /referrals admin add get no bonus.
How players see it
| Option | Default | |
|---|---|---|
show.chat | true | message to everyone when it starts and ends |
show.title | true | title when it starts |
show.bossbar | true | boss bar with the time left for the whole event (bossbar.color, bossbar.style) |
show.actionbar | false | action bar with the time left |
show.join-message | true | message to players who join during the event |
show.sound | entity.player.levelup | sound when it starts |
remind-minutes | 0 | chat reminder every X minutes (0 = off) |
What /referrals event answers (1.0.24+)
REFERRAL EVENT
Weekend!
Rewards for invites: x2
Time left: 1d 5h
Multiplied: money and currencies
Rewards with the bonus: inviter, welcome, milestones
Invite a friend: when he joins he writes /referrals Steve
The lines follow your options: with multiply.items: true (and x2 or more) it says money and currencies, items, with rewards.welcome: false the welcome reward is not listed. The reason line is left out when the event has none. The start message, the reminders and the join message have a clickable [Info] that runs /referrals event. The boss bar can't be clicked (Minecraft doesn't allow it), so the [Info] is in chat.
To change the lines, edit event.details in lang/en.yml ({multiplier} {time} {reason} {by} {multiplied} {rewards} {player}); the words of {multiplied} and {rewards} are in event.parts.
Texts in lang/en.yml > event (event.details = the lines of /referrals event). Placeholders: %flarereferrals_event_active%, _multiplier, _time, _reason.
The event is saved in data/event.yml: a restart doesn't stop it. On a network it is saved in the database and runs on every server at the same time. Every start and stop is written in logs/referrals.log.
Ultimo aggiornamento: