Leaderboard

Leaderboard

Add-on

Rank players by how many crates they have opened, through PlaceholderAPI placeholders.

Leaderboard This PhoenixCrates add-on introduces crate leaderboard to the plugin
View in store
On this page

#Information

The Leaderboard add-on adds placeholders to PhoenixCrates, ranking players by how many crates they have opened, per crate or across every crate.

Leaderboard - Add-On

You can claim this add-on for free 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

The add-on ranks players by the number of crates they have opened, either for one crate or across every crate. It is entirely placeholder-driven, so there is no in-game menu.

Only the top 10 are kept, and players who have never opened that crate are left out of the ranking entirely.

A ranking is cached for 2 minutes, and opening a crate immediately invalidates both that crate's ranking and the global one, so a win is reflected on the next lookup rather than up to two minutes later.

#PlaceholderAPI Placeholders

Placeholder Description
%phoenixcrates_leaderboard_<crate_id|global>_<rank>% The name of the player at that rank.
%phoenixcrates_leaderboard_<crate_id|global>_<rank>_value% The number of crates that player has opened.

Use global as the identifier to rank across every crate, or a crate's identifier to rank for that crate only. <rank> starts at 1. Crate identifiers containing underscores, such as fire_crate, work as written.

Example: %phoenixcrates_leaderboard_global_1% returns the name of the player who has opened the most crates on your server.

N/A is returned by a rank nobody occupies yet, by a crate identifier that does not exist, and by the first lookup of a ranking that is not cached yet, since it is built in the background. Ask again once it has been computed.

circle-info

global is reserved. A crate whose identifier is literally global cannot be queried through these placeholders, because the whole-server leaderboard is matched first.

My Cart

Your cart is empty

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