DenizenMC

Placeholders

Placeholders for menus and holograms, plus the PlaceholderAPI expansion for everything else.

EliteSpawner comes with two sets of placeholders. Menu placeholders work in its own menus and holograms. PlaceholderAPI placeholders work anywhere else that supports PlaceholderAPI, like scoreboards, TAB or chat.

Use these 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, enrichment and synergies

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
synergy_name / synergy_bonusThe active synergy and its bonus, or None
affinity / affinity_bonusAffinities active right now and their combined bonus, or None

Menus and holograms show different numbers

In the main menu, loot_multiplier and exp_multiplier show what the person looking actually gets, including their personal boosts. Everyone sees the same hologram, so holograms only show the server-wide multiplier.

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

Needs PlaceholderAPI installed. Every placeholder starts with %elitespawner_.

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

Swap <rank> for 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 shows - for the name and 0 for the value, never a broken placeholder.

Scoreboard friendly

The owned_* and leaderboard placeholders read from a cache that refreshes every leaderboard-refresh-interval (in config.yml, 120s by default). Scoreboards can ask for them as often as they like without slowing anything down.

Did this page help?

Last updated on