Hub.DenizenMC
EliteSpawner

Placeholders

Menu placeholders for GUIs and holograms, and the PlaceholderAPI expansion.

EliteSpawner has two sets of placeholders. Menu placeholders work inside its own menus and holograms. PlaceholderAPI placeholders work in any other plugin that supports PlaceholderAPI, such as scoreboards, TAB or chat.

Available in menus/main-menu.yml, menus/storage-menu.yml and hologram.lines in config.yml. Write them as <name>, for example <stack_size>.

Spawner

PlaceholderValue
entity_nameThe spawner type's display name
stack_sizeCurrent stack size
trait_nameThe spawner's rolled trait, or None
autosell_statusEnabled or Disabled. Main menu only

Progression

PlaceholderValue
spawner_levelProgression level. Always 1 when progression is disabled
prestige_levelTimes this spawner has been prestiged, 0 if never
prestige_bonusPermanent bonus from prestige, as a signed percentage
can_prestigeYes or No

Storage

PlaceholderValue
stored_itemsItems currently in storage
storage_limitMaximum capacity for this spawner
storage_percent / storage_percent_coloredStorage fill, plain or color-coded
stored_expStored experience
max_expMaximum storable experience
exp_percent / exp_percent_coloredExperience fill, plain or color-coded

Boosts and enrichment

PlaceholderValue
boost_statusActive or Inactive, for the viewing player
loot_multiplierEffective loot multiplier
exp_multiplierEffective experience multiplier
rare_loot_multiplierEffective rare-loot (chance) multiplier
enrichment_statusActive or Inactive
enrichment_loot_bonus / enrichment_exp_bonusCurrent enrichment bonus, as a signed percentage

Menus and holograms show different multipliers

In the main menu, loot_multiplier and exp_multiplier show what the viewing player actually gets, personal boosts included. Holograms are seen by everyone at once, so there they show the global multiplier only.

Timing and estimates

PlaceholderValue
next_spawn / next_spawn_secondsTime until the next generation cycle
expected_drops_min / expected_drops_maxEstimated item range for the next cycle

Storage menu only

PlaceholderValue
sort_modeThe current sort mode
sort_cycleThe sort cycle
page / total_pagesCurrent page and total page count

PlaceholderAPI

Requires PlaceholderAPI. All placeholders use the %elitespawner_...% prefix.

Server-wide

PlaceholderValue
%elitespawner_spawners_count%Total tracked spawners on the server
%elitespawner_boost_loot%Current global loot boost
%elitespawner_boost_exp%Current global experience boost
%elitespawner_boost_rareloot%Current global rare-loot boost

Per player

PlaceholderValue
%elitespawner_boost_player_loot%The player's personal loot boost
%elitespawner_boost_player_exp%The player's personal experience boost
%elitespawner_boost_player_rareloot%The player's personal rare-loot boost
%elitespawner_owned_count%Spawners the player owns
%elitespawner_owned_stack_total%Sum of stack sizes across their spawners
%elitespawner_owned_value%Sum of current stored value across their spawners

Leaderboards

Replace <rank> with a position, starting at 1.

PlaceholderValue
%elitespawner_top_stacked_<rank>_name%Player at that rank, by total stack size
%elitespawner_top_stacked_<rank>_value%Their total stack size
%elitespawner_top_value_<rank>_name%Player at that rank, by total stored value
%elitespawner_top_value_<rank>_value%Their total stored value

An empty rank resolves to - for the name and 0 for the value, never to an unparsed placeholder.

Safe for scoreboards

The owned_* and leaderboard placeholders read from a cache refreshed every leaderboard-refresh-interval seconds (in config.yml, default 60). A scoreboard polling every player several times a second never triggers a full spawner scan.

Last updated on

On this page