TMDevelopmentTinulica & Maiky

Reward events

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).

CommandPermission
/referrals eventeveryone (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 stopflarereferrals.eventends it now

What is multiplied

OptionDefault
multiply.currenciestruemoney, tokens, mobcoins, XP levels... every currency of the reward
multiply.itemsfalseitems too, only with whole multipliers (x2, x3; with x1.5 the items stay the same)
rewards.inviter / welcome / milestonestruewhich rewards get the bonus
max-multiplier10highest 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

OptionDefault
show.chattruemessage to everyone when it starts and ends
show.titletruetitle when it starts
show.bossbartrueboss bar with the time left for the whole event (bossbar.color, bossbar.style)
show.actionbarfalseaction bar with the time left
show.join-messagetruemessage to players who join during the event
show.soundentity.player.levelupsound when it starts
remind-minutes0chat 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.

Actualizat ultima data pe

Autentificare

Esti nou? Scrie doar emailul: contul se creeaza cand apesi pe link. Nu ai nevoie de parola.

sau

Iti trimitem un link care te autentifica dintr-un click. Merge si pentru conturi noi, si pentru cele existente.

Autentifica-te cu parola
Ai uitat parola?

Continuand, accepti Termeni si conditii si Politica de confidentialitate.

Staff: deschide „Autentifica-te cu parola” si scrie numele de utilizator in loc de email. Dupa parola iti cerem codul 2FA.