Reward Event
Reward events allow players to participate in a chat challenge triggered by a broadcast.
Players must type a configured word in chat and the first players who do it will automatically receive rewards executed by console commands.
Enabling the Event
Section titled “Enabling the Event”Enable the reward event inside a broadcast template.
events: reward-event: trueWhen the broadcast runs, the reward event will start automatically.
Defines the words that players must type in chat to participate.
reward-event: words: - gg - hypeAny listed word will count as a valid entry.
Player Limit
Section titled “Player Limit”Defines how many players can successfully participate and receive rewards.
reward-event: players-write-word: 5When the limit is reached, the event automatically ends.
Case Handling
Section titled “Case Handling”Controls if chat messages ignore case differences.
reward-event: ignore-case: trueIf enabled, different letter cases will still match the configured words.
Event Timeout
Section titled “Event Timeout”Defines how long the event stays active before automatically ending.
reward-event: cooldown: enabled: true time: 15Time is defined in seconds.
Rewards
Section titled “Rewards”Commands executed for each player who successfully participates.
reward-event: players-rewards-commands: - "give %player% diamond 1" - "eco give %player% 500"%player% will be replaced with the player name.
Final Message
Section titled “Final Message”Message broadcasted when the reward event finishes.
reward-event: final-message: enabled: true message: - "<center>&aReward event finished!" - "%players_reward_claimed%"Placeholders:
%players_reward_claimed%→ shows the list of players who received rewards