TDXDevelopment
TDX Welcome RaffleConfiguration

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

KeySent toPlaceholders
prefixUsed wherever a line contains %prefix%
raffle-startedEvery online player except the newcomer%newcomer%, %player%, %time%, %keyword%
newcomer-noticeThe newcomer%newcomer%, %time%, %keyword%
enteredA player who was just entered%newcomer%, %player%, %keyword%
winner-announcementThe players chosen by announce-winner-to%winner%, %newcomer%, %reward%, %entries%, %player%
you-wonThe winner, when their prize has no message%player%, %newcomer%, %reward%
not-enough-entriesThe online entrants when nobody could be drawn%newcomer%, %player%, %entries%
no-permissionAdmin command feedback
player-not-foundAdmin command feedback%player%
reload-successAfter /welcomeraffle reload
reload-failAfter 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

plugins/TDXWelcomeRaffle/messages.yml
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.

On this page