Last Winner

Last Winner

Add-on

Show the last winners of a crate through PlaceholderAPI placeholders.

Last Winner This PhoenixCrates add-on introduces placeholders that log the winners and their rewards
View in store
On this page

#Information

The Last Winner add-on adds placeholders to PhoenixCrates. This add-on allows you to display the last winner of a crate in various places.

Last Winner - Add-On

You can purchase this add-on on Phoenix Plugins

#Installation

To install this add-on, you can either:

  • Drag and drop the jar file into the PhoenixCrates/addons folder, then restart your server.
  • Download the plugin with the add-on selected during the downloading.

circle-exclamation

The add-on requires the Premium edition, and PlaceholderAPI for the placeholders to resolve.

#Placeholders

<position> is 1 for the most recent winner, 2 for the second most recent, and so on. Up to the last 20 winners are kept per crate; requesting a position beyond that (or beyond the number of winners recorded so far) returns an empty value, as does a crate with no winners at all. N/A only shows for a moment while the winners of a crate are first being loaded.

Crate identifiers containing underscores, such as fire_crate, work as written.

Placeholders Description
%phoenixcrates_lastwinner_player_<crate_id>_<position>% Returns the player name on a specific position per crate.
%phoenixcrates_lastwinner_reward_<crate_id>_<position>% Returns the reward on a specific position per crate.
%phoenixcrates_lastwinner_rewardid_<crate_id>_<position>% Returns the reward's identifier on a specific position per crate.
%phoenixcrates_lastwinner_hour_<crate_id>_<position>% Returns the hour that the player opened the crate.
%phoenixcrates_lastwinner_minute_<crate_id>_<position>% Returns the minute that the player opened the crate.
%phoenixcrates_lastwinner_second_<crate_id>_<position>% Returns the second that the player opened the crate.
%phoenixcrates_lastwinner_day_<crate_id>_<position>% Returns the day that the player opened the crate.
%phoenixcrates_lastwinner_month_<crate_id>_<position>% Returns the month that the player opened the crate.
%phoenixcrates_lastwinner_year_<crate_id>_<position>% Returns the year that the player opened the crate.
My Cart
Spider

Your cart is empty

Looks like the spiders padded through here. Pick a plugin and it will show up here. Continue shopping