TDXDevelopment
TDX Welcome Raffle

Placeholders

PlaceholderAPI placeholders for scoreboards, holograms and tab lists.

The expansion registers under tdxwelcomeraffle when PlaceholderAPI is installed. There is nothing to download with /papi ecloud.

Where one raffle is meant, it is the most recently opened one.

PlaceholderReturns
%tdxwelcomeraffle_open%How many raffles are open.
%tdxwelcomeraffle_newcomer%Who the newest raffle is for. Empty when none is open.
%tdxwelcomeraffle_time_left%Seconds left on the newest raffle. 0 when none is open.
%tdxwelcomeraffle_time_left_formatted%The same as 1m 30s. Empty when none is open.
%tdxwelcomeraffle_entries%Entries in the newest raffle. 0 when none is open.
%tdxwelcomeraffle_entered%true when the viewer is entered into any open raffle.

Example, a scoreboard line

- "&6Welcome raffle: &f%tdxwelcomeraffle_newcomer% &7(%tdxwelcomeraffle_time_left_formatted%)"

Most scoreboard plugins can hide a line when a placeholder is empty, so the line only shows while a raffle is open.

The expansion only registers while the plugin starts. If you install PlaceholderAPI later, restart the server.