messages
Every chat line the plugin sends, in messages.yml.
Every value is parsed with all colour formats: MiniMessage tags, &a
legacy codes, &#rrggbb hex and Bukkit &x&r&r&g&g&b&b hex. <shadow>
tags work on Paper 1.21.4 and newer and are removed on older servers.
Set any line to "" to stop it from being sent.
The lines
| Key | Sent to | Placeholders |
|---|---|---|
prefix | Used wherever a line contains %prefix% | |
raffle-started | Every online player except the newcomer | %newcomer%, %player%, %time%, %keyword% |
newcomer-notice | The newcomer | %newcomer%, %time%, %keyword% |
entered | A player who was just entered | %newcomer%, %player%, %keyword% |
winner-announcement | The players chosen by announce-winner-to | %winner%, %newcomer%, %reward%, %entries%, %player% |
you-won | The winner, when their prize has no message | %player%, %newcomer%, %reward% |
not-enough-entries | The online entrants when nobody could be drawn | %newcomer%, %player%, %entries% |
no-permission | Admin command feedback | |
player-not-found | Admin command feedback | %player% |
reload-success | After /welcomeraffle reload | |
reload-fail | After a failed reload |
%time% is the raffle length written as 45s, 2m or 1m 30s.
%keyword% is the first word of keywords.words in config.yml.
%entries% counts everybody who entered, including players who left
before the draw.
When several raffles are open, one welcome enters a player into all of
them and entered is sent once, with every newcomer's name in
%newcomer%.
Defaults
raffle-started: "%prefix% <#A8D8F0>%newcomer% <white>joined for the first time! Say <#5EEEA0>%keyword% <white>in chat within <#FFD93D>%time% <white>to enter the Welcome Raffle."
newcomer-notice: "%prefix% <white>Welcome! Everyone who greets you in the next <#FFD93D>%time% <white>is entered into a raffle."
entered: "%prefix% <#5EEEA0>You have been entered into the Welcome Raffle for <#A8D8F0>%newcomer%<#5EEEA0>!"
winner-announcement: "%prefix% <#A8D8F0>%winner% <white>won the Welcome Raffle for <#A8D8F0>%newcomer% <white>out of <#FFD93D>%entries% <white>entries and got <#5EEEA0>%reward%<white>!"When an update adds a line, it is added to your file with its default text, and your own lines are kept.